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
cd681e7c
Commit
cd681e7c
authored
Dec 13, 2021
by
QM
Committed by
vipwzw
Dec 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add offline_deploy_erc20_create_tether_usdt_USDT
parent
6875a0b1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
offlinePublic.sh
plugin/dapp/bridgevmxgo/cmd/build/public/offlinePublic.sh
+17
-0
No files found.
plugin/dapp/bridgevmxgo/cmd/build/public/offlinePublic.sh
View file @
cd681e7c
...
@@ -130,6 +130,23 @@ function offline_deploy_erc20_eth_USDT() {
...
@@ -130,6 +130,23 @@ function offline_deploy_erc20_eth_USDT() {
ethereum_offline_sign_send
"create_add_lock_list.txt"
ethereum_offline_sign_send
"create_add_lock_list.txt"
}
}
function
offline_deploy_erc20_create_tether_usdt_USDT
()
{
# eth 上 铸币 USDT
echo
-e
"
${
GRE
}
======= 在 ethereum 上创建 ERC20 USDT ======
${
NOC
}
"
# shellcheck disable=SC2154
${
Boss4xCLI
}
ethereum offline create_tether_usdt
-m
33000000000000000000
-s
USDT
-d
"
${
ethTestAddr1
}
"
# shellcheck disable=SC2154
${
Boss4xCLI
}
ethereum offline sign
-f
"deployTetherUSDT.txt"
-k
"
${
ethTestAddrKey1
}
"
sleep
10
result
=
$(${
Boss4xCLI
}
ethereum offline send
-f
"deploysigntxs.txt"
)
hash
=
$(
echo
"
${
result
}
"
| jq
-r
".[0].TxHash"
)
check_eth_tx
"
${
hash
}
"
ethereumUSDTERC20TokenAddr
=
$(
echo
"
${
result
}
"
| jq
-r
".[0].ContractAddr"
)
${
Boss4xCLI
}
ethereum offline create_add_lock_list
-s
USDT
-t
"
${
ethereumUSDTERC20TokenAddr
}
"
-c
"
${
ethBridgeBank
}
"
-d
"
${
ethDeployAddr
}
"
ethereum_offline_sign_send
"create_add_lock_list.txt"
}
function
offline_create_bridge_token_chain33_BYC
()
{
function
offline_create_bridge_token_chain33_BYC
()
{
# 在chain33上创建bridgeToken BYC
# 在chain33上创建bridgeToken BYC
echo
-e
"
${
GRE
}
======= 在 chain33 上创建 bridgeToken BYC ======
${
NOC
}
"
echo
-e
"
${
GRE
}
======= 在 chain33 上创建 bridgeToken BYC ======
${
NOC
}
"
...
...
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