Tools, FAQ, Tutorials:
Create Identity Wallet for Balaji
How to Create Identity Wallet for Balaji at DigiBank?
✍: FYIcenter.com
Like Isabella at MagnetoCorp, Balaji at DigiBank needs prepare his system with a wallet to store his identity. He also needs to install Node.js dependencies to run applications written with Hyperledger Fabric Node.js SDK.
1. Install Node.js dependencies:
(balaji)$ cd ~/hyperledger-binaries/fabric-samples (balaji)$ cd commercial-paper/organization/digibank/application (balaji)$ npm install added 320 packages from 230 contributors in 126.894s
2. Run the addToWallet.js script to copy private key and certificate into identity wallet:
(balaji)$ node addToWallet.js done
3. Verify wallet:
(balaji)$ ls ../identity/user/balaji/wallet Admin@org1.example.com (balaji)$ ls ../identity/user/balaji/wallet/Admin@org1.example.com Admin@org1.example.com cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec-priv cd96d5260ad4757551ed4a5a991e62130f8008a0bf996e4e4b84cd097a747fec-pub
As you can see, the script just copied the private key and password of Admin@org1.example.com to be the identity of Balaji. This is not really a good idea. Balaji from DigiBank should not use the admin identity of the ledger peer organization.
⇒ buy.js - Application to Buy Paper
⇐ Start CLI Container for DigiBank Admin
2019-11-08, 1140🔥, 0💬
Popular Posts:
How to read RSS validation errors at w3.org? If your RSS feed has errors, the RSS validator at w3.or...
Where to get the detailed description of the json_encode() Function in PHP? Here is the detailed des...
How to use the "return-response" Policy statement to build the response from scratch for an Azure AP...
How to Build my "sleep" Docker image from the Alpine image? I want the container to sleep for 10 hou...
How to create Hello-3.1.epub with WinRAR? I have all required files to create Hello-3.1.epub. To cre...