一、搭建环境
git clone https://github.com/guoger/stupid
export GO111MODULE=on
export GOPROXY=https://goproxy.cn
go build ./cmd/tape
编译后生成tape执行文件 其中,config.yaml是模板配置文件
二、config.yaml
# Definition of nodes
peer0: &peer0
addr: 8.142.97.127:7051
tls_ca_cert: ../../testwork/crypto-config/peerOrganizations/orggo.test.com/peers/peer0.orggo.test.com/msp/tlscacerts/tlsca.orggo.test.com-cert.pem
peer1: &peer1
addr: 8.142.97.127:8051
tls_ca_cert: ../../testwork/crypto-config/peerOrganizations/orggo.test.com/peers/peer1.orggo.test.com/msp/tlscacerts/tlsca.orggo.test.com-cert.pem
peer2: &peer2
addr: 8.142.97.127:9051
tls_ca_cert: ../../
|