Let's register the users that will submit and read transactions to the blockchain for Bank A and Bank B
- Navigate to the Bankchain repository. Run the following command to register a user for Bank A:
node registerUser-BankA.js
- You should get a message on the console informing you that a new user, user 1, has been added to the wallet. Repeat the same for Bank B, as follows:
node registerUser-BankB.js
- The user1 identities for the banka and bankb organizations should be added to the wallet for Bank A and Bank B.
- You can actually verify this. Navigate to the wallet-BankA and wallet-BankB directory. You'll be able to see a folder labeled user1. Inside, you'll find the private key file and certificate for the admin user. ...