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
bbea8ea8
Commit
bbea8ea8
authored
Jun 03, 2019
by
谢昇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update CLI独立模块命令.md
parent
0df61f24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
cli独立模块命令.md
cli独立模块命令.md
+10
-3
No files found.
CLI
独立模块命令.md
→
cli
独立模块命令.md
View file @
bbea8ea8
**版本:V6.2
.0**
**版本:V6.2
.0**
**版本:V6.2.0**
**版本:V6.2.0**
# 部分模块使用流程
# 部分模块使用流程
## hashlock 哈希锁定合约
## hashlock 哈希锁定合约
```
Available Commands:
lock Create hashlock lock transaction
send Create hashlock send transaction
unlock Create hashlock unlock transaction
```
Hashlock正常流程,完整过程:
Hashlock正常流程,完整过程:
1.
需要准备两个账户A和B,其中A是returnAddr,用于在锁定时间结束后,可以返回余额,B是toAddr,在锁定时间内,能够进行操作转移金额
-
1. 需要准备两个账户A和B,其中A是returnAddr,用于在锁定时间结束后,可以返回余额,B是toAddr,在锁定时间内,能够进行操作转移金额
我这里A:14KEKbYtKKQm4wMthSK9J4La4nAiidGozt B:1KoVEeACNMyr42uEnfKR7SJTi5wE8nGWqx
我这里A:14KEKbYtKKQm4wMthSK9J4La4nAiidGozt B:1KoVEeACNMyr42uEnfKR7SJTi5wE8nGWqx
2.
hashlock要求在lock动作时,合约里存在余额,这些余额在lock后会被frozen
2.
hashlock要求在lock动作时,合约里存在余额,这些余额在lock后会被frozen
...
...
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