Skip to content

Commit 3c49128

Browse files
author
Atul Kshirsagar
committed
Add orderer details to command in doc
The commands as documented to instantiate/install chaincode throws an error. It requires orderer information to install and instantiate the chaincode. Change-Id: I85c9c8882db4635c5c0dc5b28a5d1d3a315d2dfe Signed-off-by: Atul Kshirsagar <[email protected]>
1 parent 397f5de commit 3c49128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/install_instantiate.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ From your second terminal, lets create a channel by the name of "myc":
5252

5353
.. code:: bash
5454
55-
peer channel create -c myc
55+
peer channel create -c myc -o orderer:5005
5656
5757
This will generate a genesis block - ``myc.block`` - and place it into
5858
the same directory from which you issued your ``peer channel create``
@@ -86,7 +86,7 @@ instantiation will initialize the chaincode with key value pairs of
8686

8787
.. code:: bash
8888
89-
CORE_PEER_ADDRESS=peer0:7051 peer chaincode instantiate -C myc -n mycc -p github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -v v0 -c '{"Args":["init","a","100","b","200"]}'
89+
CORE_PEER_ADDRESS=peer0:7051 peer chaincode instantiate -o orderer:5005 -C myc -n mycc -p github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -v v0 -c '{"Args":["init","a","100","b","200"]}'
9090
9191
**Continue operating within your second terminal for the remainder of
9292
the commands**

0 commit comments

Comments
 (0)