Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
40754db8
Commit
40754db8
authored
Dec 09, 2021
by
QM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update deploy_ethereum.md
parent
a7b531ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
deploy_ethereum.md
.../cross2eth/boss4x/ethereum/offline/doc/deploy_ethereum.md
+4
-3
No files found.
plugin/dapp/cross2eth/boss4x/ethereum/offline/doc/deploy_ethereum.md
View file @
40754db8
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#### 基础步骤
#### 基础步骤
*
在线创建交易
`./boss4x ethereum offline create ...`
需要在线查询 nonce 等信息
*
在线创建交易
`./boss4x ethereum offline create ...`
需要在线查询 nonce 等信息
*
离线签名交易
`./boss4x ethereum offline sign -f xxx.txt -k 8656d2bc732a8a816a461ba5e2d8aac7c7f85c26a813df30d5327210465eb230`
*
离线签名交易
`./boss4x ethereum offline sign -f xxx.txt -k 8656d2bc732a8a816a461ba5e2d8aac7c7f85c26a813df30d5327210465eb230
--chainEthId xxx
`
*
在线发送签名后文件
`./boss4x ethereum offline send -f deploysigntxs.txt`
默认签名后的文件名称都是 deploysigntxs.txt
*
在线发送签名后文件
`./boss4x ethereum offline send -f deploysigntxs.txt`
默认签名后的文件名称都是 deploysigntxs.txt
```
```
...
@@ -30,7 +30,7 @@ Global Flags:
...
@@ -30,7 +30,7 @@ Global Flags:
交易7: 部署合约: MulSign
交易7: 部署合约: MulSign
命令:
命令:
./boss4x ethereum offline create -p 25,25,25,25 -o 0x8afdadfc88a1087c9a1d6c0f5dd04634b87f303a -v 0x8afdadfc88a1087c9a1d6c0f5dd04634b87f303a,0x0df9a824699bc5878232c9e612fe1a5346a5a368,0xcb074cb21cdddf3ce9c3c0a7ac4497d633c9d9f1,0xd9dab021e74ecf475788ed7b61356056b2095830
./boss4x ethereum offline create -p 25,25,25,25 -o 0x8afdadfc88a1087c9a1d6c0f5dd04634b87f303a -v 0x8afdadfc88a1087c9a1d6c0f5dd04634b87f303a,0x0df9a824699bc5878232c9e612fe1a5346a5a368,0xcb074cb21cdddf3ce9c3c0a7ac4497d633c9d9f1,0xd9dab021e74ecf475788ed7b61356056b2095830
--paraName xxx --rpc_laddr xxx --rpc_laddr_ethereum xxx
参数说明:
参数说明:
-p, --initPowers string 验证者权重, as: '25,25,25,25'
-p, --initPowers string 验证者权重, as: '25,25,25,25'
...
@@ -47,11 +47,12 @@ tx is written to file: deploytxs.txt
...
@@ -47,11 +47,12 @@ tx is written to file: deploytxs.txt
*
离线签名交易
*
离线签名交易
```
```
./boss4x ethereum offline sign -k 8656d2bc732a8a816a461ba5e2d8aac7c7f85c26a813df30d5327210465eb230
./boss4x ethereum offline sign -k 8656d2bc732a8a816a461ba5e2d8aac7c7f85c26a813df30d5327210465eb230
--chainEthId xxx
参数说明:
参数说明:
-f, --file string 需要签名的文件, 默认:deploytxs.txt (default "deploytxs.txt")
-f, --file string 需要签名的文件, 默认:deploytxs.txt (default "deploytxs.txt")
-k, --key string 部署者的私钥
-k, --key string 部署者的私钥
--chainEthId chainId, 如果是Bsc, chainId为56, 如果是ethereum, chainId为1, 查询链接:https://chainlist.org/
```
```
*
发送签名后文件
*
发送签名后文件
...
...
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