Commit 62b30d96 authored by 谢昇's avatar 谢昇

Update cli命令使用文档.md

parent b50c41b8
**版本:V6.2.0** **版本:V6.2.0**
...@@ -608,52 +608,54 @@ Available Commands: ...@@ -608,52 +608,54 @@ Available Commands:
cli net time cli net time
``` ```
{ {
"ntpTime": "2018-07-25 16:49:48", "ntpTime": "2018-07-25 16:49:48",
"localTime": "2018-07-25 16:49:47", "localTime": "2018-07-25 16:49:47",
"diff": -1 "diff": -1
} }
``` ```
# privacy模块 ## 12.para模块
`cli para -h`
``` ```
Available Commands: Available Commands:
createutxos Create specified count UTXOs with specified amount asset_transfer Create a asset transfer to para-chain transaction
list_txs List privacy transactions in wallet asset_withdraw Create a asset withdraw to para-chain transaction
priv2priv Privacy to privacy from toviewpubkey tospendpubkey amout note blocks Get blocks with main chain hash map between [start, end], the same in main
priv2pub Public to privacy from toviewpubkey tospendpubkey amout note height query consensus height
pub2priv Public to privacy from pubkeypair amout note is_sync query parachain is sync
showau Show Amount of UTXO node Create a super node manage cmd
showpai Show privacy account information node_list Get node info list by status
showpas Show privacy account spend command node_status Get node current vote status
showpk Show privacy key by address nodegroup apply for para chain's super node group
showutxo4a Show specified amount UTXOs nodegroup_addrs Get super node group's addrs by title
nodegroup_list query super node group apply list by status
nodegroup_status query super node group apply status by title
para_list Get para chain info list by titles
para_status Get para chain current status
transfer Create a transfer transaction
transfer_exec Create a transfer to exec transaction
withdraw Create a withdraw transaction
``` ```
隐私交易模块,另附详述。 该模块主要用于跨链、平行链超级节点相关,由单独篇幅介绍。
# relay模块 # 13.retrieve模块
`cli retrieve -h`
``` ```
Available Commands: Available Commands:
accept Create a accept coin transaction backup Backup the wallet
acceptor_orders Show one acceptor's accept orders, coins optional cancel Cancel the retrieve
btc_cur_height Show chain stored BTC head's current height perform Perform the retrieve
btc_height_list Show chain stored BTC head's height list prepare Prepare the wallet
confirm Create a confirm coin transaction query Backup the wallet
create Create an exchange coin order
creator_orders Show one creator's relay orders, coins optional
revoke Create a revoke transaction
save_header save BTC header
status Show ones status's orders
verify Create a verify coin transaction
``` ```
因为这是一个独立的合约系统,在后文单独以案例形式说明。
跨链模块,另附详述
# retrieve模块
钱包找回模块,另附详述
# seed模块 # 14.seed模块
`cli seed -h`
``` ```
Available Commands: Available Commands:
generate Generate seed generate Generate seed
...@@ -661,24 +663,23 @@ Available Commands: ...@@ -661,24 +663,23 @@ Available Commands:
save Save seed and encrypt with passwd save Save seed and encrypt with passwd
``` ```
## seed generate 生成种子 ## 14.1 seed generate 生成种子
cli seed generate -l 0 `cli seed generate -l 0`
``` ```
{ crime aerobic elevator vibrant fork cotton tent ginger gift weird shoe photo fold winner artwork
"seed": "grow analyst liar stadium resemble voice unique version era topple weather subway input game aspect"
}
``` ```
※ -l 后接种子语言位,0为英文,1为中文 ※ -l 后接种子语言位,0为英文,1为中文
## seed get 获取本钱包的种子 ## 14.2 seed get 获取本钱包的种子
cli seed get -p 本钱包密码 `cli seed get -p 本钱包密码`
``` ```
{ {
"seed": "great forum expect long pencil tortoise question thumb sell crane record rough embody enjoy globe" "seed": "great forum expect long pencil tortoise question thumb sell crane record rough embody enjoy globe"
} }
``` ```
使用该命令需将本地钱包解锁。
## seed save 将种子保存为本钱包种子 ## 14.3 seed save 将种子保存为本钱包种子
cli seed save -s 种子 -p 密码 cli seed save -s 种子 -p 密码
``` ```
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment