Tools, FAQ, Tutorials:
Create Peer Admin Access Card
How to Create Peer Admin Access Card for my Hyperledger Fabric developer environment?
✍: FYIcenter.com
Create Peer Admin Access Card is needed to deploy new
Composer business network BNA file to the
Hyperledger Fabric developer environment.
You can follow these steps to a Create Peer Admin Access Card.
1. Create a new Peer Admin Card:
$ cd fabric-dev-servers
$ ./createPeerAdminCard.sh
Development only script for Hyperledger Fabric control
Running 'createPeerAdminCard.sh'
FABRIC_START_TIMEOUT is unset, assuming 15 (seconds)
Using composer-cli at v0.20.8
Successfully created business network card file to
Output file: /tmp/PeerAdmin@hlfv1.card
Command succeeded
Successfully imported business network card
Card file: /tmp/PeerAdmin@hlfv1.card
Card name: PeerAdmin@hlfv1
Command succeeded
The following Business Network Cards are available:
Connection Profile: hlfv1
┌─────────────────┬───────────┬──────────────────â”
│ Card Name │ UserId │ Business Network │
├─────────────────┼───────────┼──────────────────┤
│ PeerAdmin@hlfv1 │ PeerAdmin │ │
└─────────────────┴───────────┴──────────────────┘
2. Verify the PeerAdmin card:
$ composer card list The following Business Network Cards are available: Connection Profile: hlfv1 ┌─────────────────┬───────────┬──────────────────┠│ Card Name │ UserId │ Business Network │ ├─────────────────┼───────────┼──────────────────┤ │ PeerAdmin@hlfv1 │ PeerAdmin │ │ └─────────────────┴───────────┴──────────────────┘
Â
⇒ "composer network" - Deploy BNA File
⇠"composer archive" to Generate BNA File
2020-12-26, ∼1857🔥, 0💬
Popular Posts:
What Is session_register() in PHP? session_register() is old function that registers global variable...
How To Copy Array Values to a List of Variables in PHP? If you want copy all values of an array to a...
How to create a navigation file like navigation.xhtml for an EPUB 3.0 book? At least one navigation ...
What is the "__init__()" class method? The "__init__()" class method is a special method that will b...
How To Avoid the Undefined Index Error in PHP? If you don't want your PHP page to give out errors as...