mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Improve on the initial PR to expand on the README with detailed information on how to run the external chaincode in a container on the test network and use the node application against it. Signed-off-by: Arnaud J Le Hors <lehors@us.ibm.com>
8 lines
471 B
Bash
8 lines
471 B
Bash
# CHAINCODE_SERVER_ADDRESS must be set to the host and port where the peer can
|
|
# connect to the chaincode server
|
|
CHAINCODE_SERVER_ADDRESS=asset-transfer-basic.org1.example.com:9999
|
|
|
|
# CHAINCODE_ID must be set to the Package ID that is assigned to the chaincode
|
|
# on install. The `peer lifecycle chaincode queryinstalled` command can be
|
|
# used to get the ID after install if required
|
|
CHAINCODE_ID=basic_1.0:0262396ccaffaa2174bc09f750f742319c4f14d60b16334d2c8921b6842c090c
|