|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531 |
- ### 交易
-
- ```bash
- :bin$ ./jdchain-cli.sh tx -h
- Usage: git status [<options>...] [--] [<pathspec>...]
- Build, sign or send transaction.
- --export=<export> Transaction export directory
- --gw-host=<gwHost> Set the gateway host. Default: 127.0.0.1
- Default: 127.0.0.1
- --gw-port=<gwPort> Set the gateway port. Default: 8080
- Default: 8080
- -h, --help Show this help message and exit.
- --home=<path> Set the home directory.
- Default: ../
- --pretty Pretty json print
- -V, --version Print version information and exit.
- Commands:
- user-register Register new user.
- role Create or config role.
- authorization User role authorization.
- data-account-register Register new data account.
- kv Set key-value.
- event Publish event.
- contract-deploy Deploy or update contract.
- contract Call contract method.
- event-account-register Register event account.
- sign Sign transaction.
- send Send transaction.
- help Displays help information about the specified command
- ```
-
- 参数:
- - `export`,导出交易到指定位置,用于离线交易相关命令
- - `gw-host`,网关服务地址,默认`127.0.0.1`
- - `gw-port`,网关服务端口,默认`8080`
- - `home`,指定密钥存储相关目录,`${home}/config/keys`
-
- 命令:
- - `user-register`,[注册用户](#注册用户)
- - `role`,[角色管理](#角色管理)
- - `authorization`,[权限配置](#权限配置)
- - `data-account-register`,[注册数据账户](#注册数据账户)
- - `kv`,[KV设值](#KV设值)
- - `event-account-register`,[注册事件账户](#注册事件账户)
- - `event`,[发布事件](#发布事件)
- - `contract-deploy`,[部署合约](#部署合约)
- - `contract`,[合约调用](#合约调用)
- - `sign`,[离线交易签名](#离线交易签名)
- - `send`,[离线交易发送](#离线交易发送)
-
- #### 注册用户
-
- ```bash
- :bin$ ./jdchain-cli.sh tx user-register -h
- Register new user.
- Usage: jdchain-cli tx user-register [-hV] [--pretty] [--export=<export>]
- [--gw-host=<gwHost>] [--gw-port=<gwPort>]
- [--home=<path>]
- --export=<export> Transaction export directory
- --gw-host=<gwHost> Set the gateway host. Default: 127.0.0.1
- --gw-port=<gwPort> Set the gateway port. Default: 8080
- -h, --help Show this help message and exit.
- --home=<path> Set the home directory.
- --pretty Pretty json print
- -V, --version Print version information and exit.
- ```
- 从`${home}/config/keys`目录下密钥对选择密钥注册到网关服务对应的区块链网络。
-
- 如:
- ```bash
- :bin$ ./jdchain-cli.sh tx user-register
- select ledger, input the index:
- INDEX LEDGER
- 0 j5sB3sVTFgTqTYzo7KtQjBLSy8YQGPpJpvQZaW9Eqk46dg
- // 选择账本,当前网关服务只有上面一个可用账本
- > 0
- select keypair to register:
- INDEX KEY ADDRESS
- 0 peer0 LdeNyibeafrAQXgHjBxgQxoLbna6hL4BcXZiw
- 1 k1 LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC
- // 选择公私钥对用于注册用户
- > 1
- input password of the key:
- // 输入所选择公私钥对密钥密码
- > 1
- select keypair to sign tx:
- INDEX KEY ADDRESS
- 0 peer0 LdeNyibeafrAQXgHjBxgQxoLbna6hL4BcXZiw
- 1 k1 LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC
- // 选择链上已存在且有注册用户权限的用户所对应的公私钥对,用于交易签名
- > 0
- input password of the key:
- // 输入签名私钥密码
- > 1
- register user: [LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC]
- ```
- 会在链上注册地址为`LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC`的用户账户信息。
-
-
- #### 角色管理
- ```bash
- :bin$ ./jdchain-cli.sh tx role -h
- Create or config role.
- Usage: jdchain-cli tx role [-hV] [--pretty] [--export=<export>]
- [--gw-host=<gwHost>] [--gw-port=<gwPort>]
- [--home=<path>] --name=<role>
- [--disable-ledger-perms=<disableLedgerPerms>[,
- <disableLedgerPerms>...]]...
- [--disable-transaction-perms=<disableTransactionPerms
- >[,<disableTransactionPerms>...]]...
- [--enable-ledger-perms=<enableLedgerPerms>[,
- <enableLedgerPerms>...]]...
- [--enable-transaction-perms=<enableTransactionPerms>
- [,<enableTransactionPerms>...]]...
- --disable-ledger-perms=<disableLedgerPerms>[,<disableLedgerPerms>...]
- Disable ledger permissions
- --disable-transaction-perms=<disableTransactionPerms>[,
- <disableTransactionPerms>...]
- Disable transaction permissions
- --enable-ledger-perms=<enableLedgerPerms>[,<enableLedgerPerms>...]
- Enable ledger permissions
- --enable-transaction-perms=<enableTransactionPerms>[,
- <enableTransactionPerms>...]
- Enable transaction permissions
- --export=<export> Transaction export directory
- --gw-host=<gwHost> Set the gateway host. Default: 127.0.0.1
- --gw-port=<gwPort> Set the gateway port. Default: 8080
- -h, --help Show this help message and exit.
- --home=<path> Set the home directory.
- --name=<role> Role name
- --pretty Pretty json print
- -V, --version Print version information and exit.
- ```
- - `name`,角色名称,不存在则创建
- - `disable-ledger-perms`,禁用的账本权限列表,半角逗号分割
- - `disable-transaction-perms`,禁用的交易权限列表,半角逗号分割
- - `enable-ledger-perms`,的账本权限列表,半角逗号分割
- - `enable-transaction-perms`,禁用的交易权限列表,半角逗号分割
-
- 如:
- ```bash
- :bin$ ./jdchain-cli.sh tx role --name ROLE1 --enable-ledger-perms REGISTER_USER,REGISTER_DATA_ACCOUNT --enable-transaction-perms DIRECT_OPERATION,CONTRACT_OPERATION
- select ledger, input the index:
- INDEX LEDGER
- 0 j5sB3sVTFgTqTYzo7KtQjBLSy8YQGPpJpvQZaW9Eqk46dg
- // 选择账本
- > 0
- select keypair to sign tx:
- INDEX KEY ADDRESS
- 0 peer0 LdeNyibeafrAQXgHjBxgQxoLbna6hL4BcXZiw
- 1 k1 LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC
- // 选择签名账户
- > 0
- input password of the key:
- // 输入签名账户私钥密码
- > 1
- Role config success!
- ```
-
- #### 权限配置
-
- ```bash
- :bin$ ./jdchain-cli.sh tx authorization -h
- User role authorization.
- Usage: jdchain-cli tx authorization [-hV] [--pretty] --address=<address>
- [--export=<export>] [--gw-host=<gwHost>]
- [--gw-port=<gwPort>] [--home=<path>]
- [--policy=<policy>]
- [--authorize=<authorizeRoles>[,
- <authorizeRoles>...]]...
- [--unauthorize=<unauthorizeRoles>[,
- <unauthorizeRoles>...]]...
- --address=<address> User address
- --authorize=<authorizeRoles>[,<authorizeRoles>...]
- Authorize roles
- --export=<export> Transaction export directory
- --gw-host=<gwHost> Set the gateway host. Default: 127.0.0.1
- --gw-port=<gwPort> Set the gateway port. Default: 8080
- -h, --help Show this help message and exit.
- --home=<path> Set the home directory.
- --policy=<policy> Role policy
- --pretty Pretty json print
- --unauthorize=<unauthorizeRoles>[,<unauthorizeRoles>...]
- Unauthorize roles
- -V, --version Print version information and exit.
- ```
- - `address`,用户地址
- - `authorize`,赋予角色列表,半角逗号分割
- - `unauthorize`,移除角色列表,半角逗号分割
- - `policy`,角色策略,`UNION`/`INTERSECT`,默认`UNION`合并所有角色权限
-
- 如:
- ```bash
- :bin$ ./jdchain-cli.sh tx authorization --address LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC --authorize ROLE1
- select ledger, input the index:
- INDEX LEDGER
- 0 j5sB3sVTFgTqTYzo7KtQjBLSy8YQGPpJpvQZaW9Eqk46dg
- > 0
- select keypair to sign tx:
- INDEX KEY ADDRESS
- 0 peer0 LdeNyibeafrAQXgHjBxgQxoLbna6hL4BcXZiw
- 1 k1 LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC
- > 0
- input password of the key:
- > 1
- Authorization config success!
- ```
-
- #### 注册数据账户
-
- ```bash
- :bin$ ./jdchain-cli.sh tx data-account-register -h
- Register new data account.
- Usage: jdchain-cli tx data-account-register [-hV] [--pretty]
- [--export=<export>] [--gw-host=<gwHost>] [--gw-port=<gwPort>]
- [--home=<path>] [--pubkey=<pubkey>]
- --export=<export> Transaction export directory
- --gw-host=<gwHost> Set the gateway host. Default: 127.0.0.1
- --gw-port=<gwPort> Set the gateway port. Default: 8080
- -h, --help Show this help message and exit.
- --home=<path> Set the home directory.
- --pretty Pretty json print
- --pubkey=<pubkey> The pubkey of the exist data account
- -V, --version Print version information and exit.
- ```
- - `pubkey`,待注册数据账户私钥
-
- 如:
- ```bash
- :bin$ ./jdchain-cli.sh tx data-account-register --pubkey 7VeRFk4ANQHjWjAmAoL7492fuykTpXujihJeAgbXT2J9H9Yk
- select ledger, input the index:
- INDEX LEDGER
- 0 j5sB3sVTFgTqTYzo7KtQjBLSy8YQGPpJpvQZaW9Eqk46dg
- > 0
- select keypair to sign tx:
- INDEX KEY ADDRESS
- 0 peer0 LdeNyibeafrAQXgHjBxgQxoLbna6hL4BcXZiw
- 1 k1 LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC
- > 0
- input password of the key:
- > 1
- register data account: [LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC]
- ```
- 会在链上注册地址为`LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC`的数据账户信息。
-
- #### KV设值
-
- ```bash
- :bin$ ./jdchain-cli.sh tx kv -h
- Set key-value.
- Usage: jdchain-cli tx kv [-hV] [--pretty] --address=<address>
- [--export=<export>] [--gw-host=<gwHost>]
- [--gw-port=<gwPort>] [--home=<path>] --key=<key>
- --value=<value> [--ver=<version>]
- --address=<address> Data account address
- --export=<export> Transaction export directory
- --gw-host=<gwHost> Set the gateway host. Default: 127.0.0.1
- --gw-port=<gwPort> Set the gateway port. Default: 8080
- -h, --help Show this help message and exit.
- --home=<path> Set the home directory.
- --key=<key> Key to set
- --pretty Pretty json print
- -V, --version Print version information and exit.
- --value=<value> Value to set
- --ver=<version> Version of the key-value
- ```
- - `address`,数据账户地址
- - `key`,键
- - `value`,值
- - `ver`,版本
-
- 如向账户地址`LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC`写入`k1`:`v1`:`-1`键值对数据:
- ```bash
- :bin$ ./jdchain-cli.sh tx kv --address LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC --key k1 --value v1 --ver -1
- select ledger, input the index:
- INDEX LEDGER
- 0 j5sB3sVTFgTqTYzo7KtQjBLSy8YQGPpJpvQZaW9Eqk46dg
- > 0
- select keypair to sign tx:
- INDEX KEY ADDRESS
- 0 peer0 LdeNyibeafrAQXgHjBxgQxoLbna6hL4BcXZiw
- 1 k1 LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC
- > 0
- input password of the key:
- > 1
- set kv success
- ```
-
- #### 注册事件账户
-
- ```bash
- :bin$ ./jdchain-cli.sh tx event-account-register -h
- Register event account.
- Usage: jdchain-cli tx event-account-register [-hV] [--pretty]
- [--export=<export>] [--gw-host=<gwHost>] [--gw-port=<gwPort>]
- [--home=<path>] [--pubkey=<pubkey>]
- --export=<export> Transaction export directory
- --gw-host=<gwHost> Set the gateway host. Default: 127.0.0.1
- --gw-port=<gwPort> Set the gateway port. Default: 8080
- -h, --help Show this help message and exit.
- --home=<path> Set the home directory.
- --pretty Pretty json print
- --pubkey=<pubkey> The pubkey of the exist event account
- -V, --version Print version information and exit.
- ```
- - `pubkey`,待注册事件账户私钥
-
- 如:
- ```bash
- :bin$ ./jdchain-cli.sh tx event-account-register --pubkey 7VeRFk4ANQHjWjAmAoL7492fuykTpXujihJeAgbXT2J9H9Yk
- select ledger, input the index:
- INDEX LEDGER
- 0 j5sB3sVTFgTqTYzo7KtQjBLSy8YQGPpJpvQZaW9Eqk46dg
- > 0
- select keypair to sign tx:
- INDEX KEY ADDRESS
- 0 peer0 LdeNyibeafrAQXgHjBxgQxoLbna6hL4BcXZiw
- 1 k1 LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC
- > 0
- input password of the key:
- > 1
- register event account: [LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC]
- ```
- 会在链上注册地址为`LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC`的事件账户信息。
-
- #### 发布事件
- ```bash
- :bin$ ./jdchain-cli.sh tx event -h
- Publish event.
- Usage: jdchain-cli tx event [-hV] [--pretty] --address=<address>
- --content=<value> [--export=<export>]
- [--gw-host=<gwHost>] [--gw-port=<gwPort>]
- [--home=<path>] [--sequence=<sequence>]
- --name=<name>
- --address=<address> Contract address
- --content=<value> Event content
- --export=<export> Transaction export directory
- --gw-host=<gwHost> Set the gateway host. Default: 127.0.0.1
- --gw-port=<gwPort> Set the gateway port. Default: 8080
- -h, --help Show this help message and exit.
- --home=<path> Set the home directory.
- --pretty Pretty json print
- --sequence=<sequence> Sequence of the event
- --name=<name> Event name
- -V, --version Print version information and exit.
- ```
- - `address`,事件账户地址
- - `name`,事件名
- - `content`,事件内容
- - `sequence`,事件序号
-
- 如向账户地址`LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC`发布事件`n1`:`c1`:`-1`:
- ```bash
- :bin$ ./jdchain-cli.sh tx event --address LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC --name n1 --content c1 --sequence -1
- select ledger, input the index:
- INDEX LEDGER
- 0 j5sB3sVTFgTqTYzo7KtQjBLSy8YQGPpJpvQZaW9Eqk46dg
- > 0
- select keypair to sign tx:
- INDEX KEY ADDRESS
- 0 peer0 LdeNyibeafrAQXgHjBxgQxoLbna6hL4BcXZiw
- 1 k1 LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC
- > 0
- input password of the key:
- > 1
- event publish success
- ```
-
- #### 部署合约
-
- ```bash
- :bin$ ./jdchain-cli.sh tx contract-deploy -h
- Deploy or update contract.
- Usage: jdchain-cli tx contract-deploy [-hV] [--pretty] --car=<car>
- [--export=<export>] [--gw-host=<gwHost>]
- [--gw-port=<gwPort>] [--home=<path>]
- [--pubkey=<pubkey>]
- --car=<car> The car file path
- --export=<export> Transaction export directory
- --gw-host=<gwHost> Set the gateway host. Default: 127.0.0.1
- --gw-port=<gwPort> Set the gateway port. Default: 8080
- -h, --help Show this help message and exit.
- --home=<path> Set the home directory.
- --pretty Pretty json print
- --pubkey=<pubkey> The pubkey of the exist contract
- -V, --version Print version information and exit.
- ```
- - `pubkey`,合约公钥,更新合约时使用
- - `car`,合约`car`文件
-
- 如将`contract-samples-1.5.0.RELEASE.car`文件中的合约部署上链:
- ```bash
- :bin$ ./jdchain-cli.sh tx contract-deploy --car /home/imuge/Desktop/jdchain-cli/1.5.0/contract-samples-1.5.0.RELEASE.car
- select ledger, input the index:
- INDEX LEDGER
- 0 j5sB3sVTFgTqTYzo7KtQjBLSy8YQGPpJpvQZaW9Eqk46dg
- > 0
- select keypair to sign tx:
- INDEX KEY ADDRESS
- 0 peer0 LdeNyibeafrAQXgHjBxgQxoLbna6hL4BcXZiw
- 1 k1 LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC
- > 0
- input password of the key:
- > 1
- deploy contract: [LdeNyF6jdNry5iCqmHdAFTQPvC8UkbJ9avoXH]
- ```
- 合约地址:`LdeNyF6jdNry5iCqmHdAFTQPvC8UkbJ9avoXH`
-
- #### 合约调用
-
- ```bash
- :bin$ ./jdchain-cli.sh tx contract -h
- Call contract method.
- Usage: jdchain-cli tx contract [-hV] [--pretty] --address=<address>
- [--export=<export>] [--gw-host=<gwHost>]
- [--gw-port=<gwPort>] [--home=<path>]
- --method=<method> [--args=<args>[,<args>...]]...
- --address=<address> Contract address
- --args=<args>[,<args>...]
- Method arguments
- --export=<export> Transaction export directory
- --gw-host=<gwHost> Set the gateway host. Default: 127.0.0.1
- --gw-port=<gwPort> Set the gateway port. Default: 8080
- -h, --help Show this help message and exit.
- --home=<path> Set the home directory.
- --method=<method> Contract method
- --pretty Pretty json print
- -V, --version Print version information and exit.
- ```
- - `address`,合约地址
- - `method`,合约方法
- - `args`,合约参数,半角逗号分割,命令行中会将所有参数处理为字符串,非字符串参数方法调用暂无法通过命令行工具调用
-
- 如调用合约`LdeNyF6jdNry5iCqmHdAFTQPvC8UkbJ9avoXH`中`registerUser`方法,传参`ed386a148fcb48b281b325f66103c805`:
- ```bash
- :bin$ ./jdchain-cli.sh tx contract --address LdeNyF6jdNry5iCqmHdAFTQPvC8UkbJ9avoXH --method registerUser --args ed386a148fcb48b281b325f66103c805
- select ledger, input the index:
- INDEX LEDGER
- 0 j5sB3sVTFgTqTYzo7KtQjBLSy8YQGPpJpvQZaW9Eqk46dg
- > 0
- select keypair to sign tx:
- INDEX KEY ADDRESS
- 0 peer0 LdeNyibeafrAQXgHjBxgQxoLbna6hL4BcXZiw
- 1 k1 LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC
- > 0
- input password of the key:
- > 1
- call contract success
- return string: LdeNqvSjL4izfpMNsGpQiBpTBse4g6qLxZ6j5
- ```
- 调用成功并返回了字符串:`LdeNqvSjL4izfpMNsGpQiBpTBse4g6qLxZ6j5`
-
-
- #### 离线交易签名
-
- 1. 离线交易
-
- 执行以上所有交易时,若`export`参数不为空,则会执行交易写入本地操作,而非签名并发送交易
-
- 如构造合约调用操作交易并保存到本地:
- ```bash
- :bin$ ./jdchain-cli.sh tx contract --address LdeNyF6jdNry5iCqmHdAFTQPvC8UkbJ9avoXH --method registerUser --args ed386a148fcb48b281b325f66103c810 --export /txs
- select ledger, input the index:
- INDEX LEDGER
- 0 j5sB3sVTFgTqTYzo7KtQjBLSy8YQGPpJpvQZaW9Eqk46dg
- > 0
- export transaction success: /txs/j5xR8ty8YbujTYKNRshmbfMYsL4jfe3yRUtMparmeHppd3
- ```
- 交易内容会被序列化保存在`/txs/j5xR8ty8YbujTYKNRshmbfMYsL4jfe3yRUtMparmeHppd3`中,其中`j5xR8ty8YbujTYKNRshmbfMYsL4jfe3yRUtMparmeHppd3`是该交易哈希。
-
- 2. 离线签名
-
- ```bash
- :bin$ ./jdchain-cli.sh tx sign -h
- Sign transaction.
- Usage: jdchain-cli tx sign [-hV] [--pretty] [--export=<export>]
- [--gw-host=<gwHost>] [--gw-port=<gwPort>]
- [--home=<path>] [--tx=<txFile>]
- --export=<export> Transaction export directory
- --gw-host=<gwHost> Set the gateway host. Default: 127.0.0.1
- --gw-port=<gwPort> Set the gateway port. Default: 8080
- -h, --help Show this help message and exit.
- --home=<path> Set the home directory.
- --tx=<txFile> Local transaction file
- --pretty Pretty json print
- -V, --version Print version information and exit.
- ```
- - `tx`,离线交易路径
-
- 如对步骤1中创建的离线交易添加终端用户(此用户需是链上存在的且有相关权限的用户)签名:
- ```bash
- :bin$ ./jdchain-cli.sh tx sign --tx /txs/j5xR8ty8YbujTYKNRshmbfMYsL4jfe3yRUtMparmeHppd3
- select keypair to sign tx:
- INDEX KEY ADDRESS
- 0 peer0 LdeNyibeafrAQXgHjBxgQxoLbna6hL4BcXZiw
- 1 k1 LdeNwQWabrf6WSjZ35saFo52MfQFhVKvm11aC
- > 0
- input password of the key:
- > 1
- Sign transaction success!
- ```
-
- #### 离线交易发送
-
- 发送本地已经签名完成的交易
- ```bash
- :bin$ ./jdchain-cli.sh tx send -h
- Send transaction.
- Usage: jdchain-cli tx send [-hV] [--pretty] [--export=<export>]
- [--gw-host=<gwHost>] [--gw-port=<gwPort>]
- [--home=<path>] [--tx=<txFile>]
- --export=<export> Transaction export directory
- --gw-host=<gwHost> Set the gateway host. Default: 127.0.0.1
- --gw-port=<gwPort> Set the gateway port. Default: 8080
- -h, --help Show this help message and exit.
- --home=<path> Set the home directory.
- --tx=<txFile> Local transaction file
- --pretty Pretty json print
- -V, --version Print version information and exit.
- ```
- - `tx`,离线交易路径
-
- 如发送`/txs/j5xR8ty8YbujTYKNRshmbfMYsL4jfe3yRUtMparmeHppd3`中包含的交易数据:
- ```bash
- :bin$ ./jdchain-cli.sh tx send --tx /home/imuge/Desktop/jdchain-cli/1.5.0/txs/j5xR8ty8YbujTYKNRshmbfMYsL4jfe3yRUtMparmeHppd3
- select ledger, input the index:
- INDEX LEDGER
- 0 j5sB3sVTFgTqTYzo7KtQjBLSy8YQGPpJpvQZaW9Eqk46dg
- > 0
- Send transaction success: j5xR8ty8YbujTYKNRshmbfMYsL4jfe3yRUtMparmeHppd3
- ```
|