Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢昇
test
Commits
7a35744a
Commit
7a35744a
authored
May 28, 2019
by
谢昇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update cli命令使用文档.md
parent
0aa39e6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
21 deletions
+33
-21
cli命令使用文档.md
cli命令使用文档.md
+33
-21
No files found.
cli命令使用文档.md
View file @
7a35744a
**版本:
V6.2.0**
**版本:
V6.2.0**
...
...
@@ -347,27 +347,51 @@ Available Commands:
}
```
# bty模块
# 3.cert模块
`cli cert -h`
```
Flags:
--ca whether this cert should be its own Certificate Authority
--duration duration Duration that certificate is valid for (default 8760h0m0s)
--ecdsa-curve string ECDSA curve to use to generate a key. Valid values are P224, P256 (recommended), P384, P521
-h, --help help for cert
--host string Comma-separated hostnames and IPs to generate a certificate for
--rsa-bits int Size of RSA key to generate. Ignored if --ecdsa-curve is set (default 2048)
--start-date string Creation date formatted as Jan 1 15:04:05 2011
```
主要用于联盟链,在此不加详述。
# 4.close模块
## 4.1 cli close 关闭chain33
`cli close`
执行关闭chian33的操作。
```
{
"isOK": true,
"msg": ""
}
```
# 5.coins模块
`cli coins -h`
```
Available Commands:
priv2priv Create a privacy to privacy transaction
priv2pub Create a privacy to public transaction
pub2priv Create a public to privacy transaction
send_exec Create a send to executor transaction
transfer Create a transfer transaction
txgroup Create a transaction group
withdraw Create a withdraw transaction
```
在6.1及前版本中,使用的是bty模块命令,后因平行链的拓展使用,统一改为coins模块。
## 隐私交易相关
包括priv2priv、priv2pub、pub2priv为隐私交易相关操作,再此不再赘述。
## bty send_exec 构
建
指定地址向指定执行器转账的交易
## bty send_exec 构
遭
指定地址向指定执行器转账的交易
cli bty send_exec -e 执行器名字 -a 数量
```
未签名的十六进制字符串
```
※ 完成一笔交易需要经过
构建-签名-发送
三步操作。
※ 完成一笔交易需要经过
**构建-签名-发送**
三步操作。
## bty transfer 构建coins合约转账交易
cli bty transfer -t 目标地址 -a 数量
...
...
@@ -384,19 +408,7 @@ cli bty withdraw -e 执行器名字 -a 数量 -n 备注
未签名的十六进制字符串
```
# close模块
## cli close 关闭chain33
执行关闭chian33的操作。
```
{
"isOK": true,
"msg": ""
}
```
# coins模块
目前作为bty的别名使用。
# config模块
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment