The console provides the following high level functionalities:
- Ability to import and manage all Hyperledger Fabric Components from a single web console, no matter where they are located.
- Maintain complete control over identities, channels, and smart contracts.
- Join Peers to Channels and view channel membership as well as individual transactions and channel details.
- Register, view, delete, and re-enroll CA Users.
- View Ordering cluster and node information as well as view and modify consortium and channel membership.
- View and modify channel capabilities and ordering service parameters.
- Install and Instantiate chaincode. Supports both 1.x and 2.x Lifecycle.
- View, Create, Import and Export Organizations and Identities.
- Role Based Access Control in UI to tightly control which Console users can perform which operations.
To start the console components:
fabkit console start
To stop and remove all console running components:
fabkit console stop
- Username:
admin
| Password:password
- Host: http://localhost:3000
Note: If you are using docker-machine replace localhost
with the docker-machine IP address. You can find this out by running docker-machine ip
.
- Open the console at http://localhost:3000
- Change the password (only once)
- Access with new credentials
- Access the console dashboard and from the menu on the left, switch to Settings page
- Under Bulk data management click on Import
- Select the zip file
console_assets.zip
you will find in${FABKIT_ROOT}/dist
and click on Import
From the menu on the left, switch to Nodes page and for each component in Certificate Authorities perform the following steps:
- Click on the CA component to access the CA details page
- Click on Associate Identity
- Enter enroll id
admin
and secretadminpw
and click on Associate Identity - A new admin user will be added to the list
- Select Register user
- Choose enroll id and secret for the admin user that will manage your organization, for example, for Org1MSP, simple mnemonic credentials could be
org1msp-admin
andorg1msp-adminpw
- Select
admin
under Type - Then click Next and finally on Register User
- A new identity will be added to the Registered Users table
- Select the overflow menu (3 dots) on the right of this newly created user
- Select Enroll identity
- Use the same secret (e.g.
org1msp-adminpw
) as from step above and then click Next - Enter identity display name as
MSP_ORG_NAME Admin
(e.g.Org1MSP Admin
) and click Add Identity to wallet
The outcome of these steps should be:
- 2 users in the Registered Users table
- User
admin
with client role - The other user with admin role (necessary for performing operations on the console)
From the menu on the left, switch to Nodes page and for each peer and orderer component perform the following steps:
- Select a component
- Click on Associate Identity
- Select the appropriate
admin
identity (e.g.Org1MSP Admin
for peers inOrg1MSP
) and click Associate Identity
All components settings and credentials are stored into a CouchDB database and accessible via browser.
- Username:
admin
| Password:password
- Host: http://localhost:5985/_utils/
However, very much in line with web3 hold-your-own-key philosophy, all the private keys of enrolled identities are stored locally in your browser, therefore cleaning up the cache will automatically remove all the entities from your wallet (not from the CA!). If that happens, as long as your remember the secret, you will still be able to re-enroll those entities and recover their credentials. It is good practice to note the secret down and export those entities from the wallet.