区块链服务 BCS-应用示例:交易

时间:2023-11-01 16:25:45

交易

Usage:  appdemo transaction [flags]Flags:  -b, --AddrB string        B' addr  -t, --Tx string           Transaction Num  -C, --channel string      channel id (default "mychannel")  -c, --config string       configuration file path (default "./config_test.yaml")  -I, --idcc string         idendity chaincode name (default "IDChaincode")  -o, --orgid string        organization id (default "org1")  -p, --protectpwd string   protect pwd  -T, --txcc string         transaction chaincode name (default "TxChaincode")  -u, --userid string       user id ./appdemo transaction -u A -p test -b a0760184f7ed24e0d86f5b2df40a973a9e1b5da9a1ae886532ac9cd634b59d59 -t 10//说明:其中-b后的字符串为B的账户地址(B注册成功时回显的地址)。
support.huaweicloud.com/devg-bcs/bcs_devg_0025.html