January 2020
Intermediate to advanced
530 pages
11h 11m
English
For Bank B, create a new file, called enrollAdmin-BankB.js.
Replicate the preceding code. Only change the following parameters to the corresponding value for Bank B:
const ccpPath = path.resolve(__dirname, 'connection-bankb.json');
const walletPath = path.join(process.cwd(), 'wallet-BankB');
const caInfo = ccp.certificateAuthorities['ca.bankb.example.com'];
const identity = X509WalletMixin.createIdentity('bankbMSP', enrollment.certificate, ...Read now
Unlock full access