I have created bna and deployed in composer rest server by enabling passport and multi-user, How to create participant, their identities via rest API that generated by composer rest server without importing cards via import wallets? and there is no proper documentation for this.
相关问题
- How to add a new Orderer Organization to existing
- How do you generate pool_transactions_genesis and
- chaincode in hyperledger composer vs chaincode in
- Send Raw Transaction Ethereum infura nodejs npm
- Hyperledger fabcar sample fabric showing connect f
相关文章
- When I generate MSP for some organization, I can c
- Does Composer needs an already built Fabric networ
- Hyperledger transaction verification
- Hyperledger Fabric - Error while Instantiating cha
- Hyperledger fabric's ChannelCreationPolicy
- Hyperledger fabric's ChannelCreationPolicy
- what kind of peer types does hyperledger have?
- How to retrieve user information from recent versi
assuming you've done a /Wallet/Import of an identity that can issue other identities:
eg. REST Endpoint
browse for file your exported admin card eg.
netadmin.card
and Import it. use thePOST /wallet/{name}/setDefault
REST method if you need to set this as the default id.you would then do:
Add a participant (say a participant called trader1):
- eg. say 'Trader'
Issue an identity mapped to that participant above (say jdoe):
Under /System;
"participant": "resource:org.acme.trading.Trader#trader1", "userID": "jdoe", "options": {} }
You should get a business network card in your Downloads folder - from your REST server go to /Wallets
Import the wallet, giving it the
userId@your-network
parameter when prompted. Then set that as the default user (eg /POST wallet/{name}/setDefault ) if you want to use it in your browser.