Skip to content

Commit

Permalink
Add orderer details to command in doc
Browse files Browse the repository at this point in the history
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 <atul.kshirsagar@ge.com>
  • Loading branch information
Atul Kshirsagar committed Mar 27, 2017
1 parent 397f5de commit 3c49128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/install_instantiate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ From your second terminal, lets create a channel by the name of "myc":

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

.. code:: bash
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"]}'
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"]}'
**Continue operating within your second terminal for the remainder of
the commands**
Expand Down

0 comments on commit 3c49128

Please sign in to comment.