January 2020
Intermediate to advanced
530 pages
11h 11m
English
We will need to create a Node.js utility that can be run to register a new admin user for Bank A and a new admin user BankB. This admin user will then be used to register the other users. Let's look at the steps to create this utility:
/* * SPDX-License-Identifier: Apache-2.0 */'use strict';const FabricCAServices = require('fabric-ca-client');const { FileSystemWallet, X509WalletMixin } = require('fabric-network');const fs = require('fs');const path = require('path');
Read now
Unlock full access