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

Update cli命令使用文档.md

parent b50c41b8
**版本:V6.2.0**
**版本:V6.2.0**
......@@ -608,52 +608,54 @@ Available Commands:
cli net time
```
{
{
"ntpTime": "2018-07-25 16:49:48",
"localTime": "2018-07-25 16:49:47",
"diff": -1
}
```
# privacy模块
## 12.para模块
`cli para -h`
```
Available Commands:
createutxos Create specified count UTXOs with specified amount
list_txs List privacy transactions in wallet
priv2priv Privacy to privacy from toviewpubkey tospendpubkey amout note
priv2pub Public to privacy from toviewpubkey tospendpubkey amout note
pub2priv Public to privacy from pubkeypair amout note
showau Show Amount of UTXO
showpai Show privacy account information
showpas Show privacy account spend command
showpk Show privacy key by address
showutxo4a Show specified amount UTXOs
```
隐私交易模块,另附详述。
# relay模块
asset_transfer Create a asset transfer to para-chain transaction
asset_withdraw Create a asset withdraw to para-chain transaction
blocks Get blocks with main chain hash map between [start, end], the same in main
height query consensus height
is_sync query parachain is sync
node Create a super node manage cmd
node_list Get node info list by status
node_status Get node current vote status
nodegroup apply for para chain's super node group
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
```
该模块主要用于跨链、平行链超级节点相关,由单独篇幅介绍。
# 13.retrieve模块
`cli retrieve -h`
```
Available Commands:
accept Create a accept coin transaction
acceptor_orders Show one acceptor's accept orders, coins optional
btc_cur_height Show chain stored BTC head's current height
btc_height_list Show chain stored BTC head's height list
confirm Create a confirm coin transaction
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
backup Backup the wallet
cancel Cancel the retrieve
perform Perform the retrieve
prepare Prepare the wallet
query Backup the wallet
```
因为这是一个独立的合约系统,在后文单独以案例形式说明。
跨链模块,另附详述
# retrieve模块
钱包找回模块,另附详述
# seed模块
# 14.seed模块
`cli seed -h`
```
Available Commands:
generate Generate seed
......@@ -661,24 +663,23 @@ Available Commands:
save Save seed and encrypt with passwd
```
## seed generate 生成种子
cli seed generate -l 0
## 14.1 seed generate 生成种子
`cli seed generate -l 0`
```
{
"seed": "grow analyst liar stadium resemble voice unique version era topple weather subway input game aspect"
}
crime aerobic elevator vibrant fork cotton tent ginger gift weird shoe photo fold winner artwork
```
※ -l 后接种子语言位,0为英文,1为中文
## seed get 获取本钱包的种子
cli seed get -p 本钱包密码
## 14.2 seed get 获取本钱包的种子
`cli seed get -p 本钱包密码`
```
{
"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 密码
```
{
......
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