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
0e1ce6f3
Commit
0e1ce6f3
authored
Dec 07, 2021
by
QM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add dockerRelayerHt.sh
parent
6f99f344
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
30 deletions
+27
-30
dockerRelayerBsc.sh
plugin/dapp/bridgevmxgo/cmd/build/dockerRelayerBsc.sh
+19
-23
dockerRelayerHt.sh
plugin/dapp/bridgevmxgo/cmd/build/dockerRelayerHt.sh
+0
-0
offlinePublic.sh
plugin/dapp/bridgevmxgo/cmd/build/public/offlinePublic.sh
+7
-6
testcase.sh
plugin/dapp/bridgevmxgo/cmd/build/testcase.sh
+1
-1
No files found.
plugin/dapp/bridgevmxgo/cmd/build/dockerRelayerBsc.sh
View file @
0e1ce6f3
...
...
@@ -679,10 +679,6 @@ function lockEth() {
lock_eth_multisign 0.001 0.001 0.001
lock_eth_multisign 0.001 0.001 0.002
# multisignEthAddr 要有手续费
${
CLIA
}
ethereum transfer
-k
"
${
ethDeployKey
}
"
-m
0.0001
-r
"
${
multisignEthAddr
}
"
sleep
10
# transfer
# shellcheck disable=SC2154
offline_transfer_multisign_Eth_test
...
...
@@ -815,7 +811,7 @@ function StartDockerRelayerDeploy() {
offline_create_bridge_token_eth_YCC
offline_create_bridge_token_eth_ZBC
offline_create_bridge_token_chain33_ETH
offline_create_bridge_token_chain33_ETH
"BNB"
offline_create_bridge_token_chain33_BYC
offline_deploy_erc20_chain33_YCC
offline_deploy_erc20_chain33_ZBC
...
...
@@ -1115,27 +1111,27 @@ function AllRelayerMainTest() {
# TestChain33ToEthAssets
# TestChain33ToEthZBCAssets
# TestETH2Chain33Byc
#
TestETH2Chain33USDT
TestETH2Chain33USDT
Chain33Cli
=
${
Para8901Cli
}
#
Chain33Cli=${Para8901Cli}
# lockBty
# lockChain33Ycc
lockEthByc
lockEthUSDT
lockEth
# 离线多签地址转入阈值设大
offline_set_offline_token_Bty 100000000000000 10
offline_set_offline_token_Chain33Ycc 100000000000000 10
offline_set_offline_token_Eth 100000000000000 10
offline_set_offline_token_EthByc 100000000000000 10
offline_set_offline_token_EthUSDT 100000000000000 10
EvmxgoBoss4xCLI
=
"./evmxgoboss4x --rpc_laddr http://
${
docker_chain33_ip
}
:8901 --paraName user.p.para."
DeployEvmxgo
TestETH2EVMToChain33
Testethereum2EVMToChain33_byc
Testethereum2EVMToChain33_usdt
# lockEth
# lockEthByc
# lockEthUSDT
#
#
# 离线多签地址转入阈值设大
#
offline_set_offline_token_Bty 100000000000000 10
#
offline_set_offline_token_Chain33Ycc 100000000000000 10
#
offline_set_offline_token_Eth 100000000000000 10
#
offline_set_offline_token_EthByc 100000000000000 10
#
offline_set_offline_token_EthUSDT 100000000000000 10
#
EvmxgoBoss4xCLI="./evmxgoboss4x --rpc_laddr http://${docker_chain33_ip}:8901 --paraName user.p.para."
#
DeployEvmxgo
#
TestETH2EVMToChain33
#
Testethereum2EVMToChain33_byc
#
Testethereum2EVMToChain33_usdt
echo_addrs
echo
-e
"
${
GRE
}
===========
$FUNCNAME
end ===========
${
NOC
}
"
...
...
plugin/dapp/bridgevmxgo/cmd/build/dockerRelayerHt.sh
0 → 100755
View file @
0e1ce6f3
This diff is collapsed.
Click to expand it.
plugin/dapp/bridgevmxgo/cmd/build/public/offlinePublic.sh
View file @
0e1ce6f3
...
...
@@ -216,18 +216,19 @@ function offline_create_bridge_token_eth_BTY() {
function
offline_create_bridge_token_chain33_ETH
()
{
# 在 chain33 上创建 bridgeToken ETH
echo
-e
"
${
GRE
}
======= 在 chain33 上创建 bridgeToken ETH ======
${
NOC
}
"
${
Boss4xCLI
}
chain33 offline create_bridge_token
-c
"
${
chain33BridgeBank
}
"
-s
HT
-k
"
${
chain33DeployKey
}
"
--chainID
"
${
chain33ID
}
"
-n
"create_bridge_token:HT"
echo
-e
"
${
GRE
}
======= 在 chain33 上创建 bridgeToken
$1
======
${
NOC
}
"
local
symbolName
=
"
$1
"
${
Boss4xCLI
}
chain33 offline create_bridge_token
-c
"
${
chain33BridgeBank
}
"
-s
"
${
symbolName
}
"
-k
"
${
chain33DeployKey
}
"
--chainID
"
${
chain33ID
}
"
-n
"create_bridge_token:
${
symbolName
}
"
chain33_offline_send
"create_bridge_token.txt"
chain33EthBridgeTokenAddr
=
$(${
Chain33Cli
}
evm query
-a
"
${
chain33BridgeBank
}
"
-c
"
${
chain33DeployAddr
}
"
-b
"getToken2address(
HT
)"
)
echo
"
HT
Token Addr=
${
chain33EthBridgeTokenAddr
}
"
chain33EthBridgeTokenAddr
=
$(${
Chain33Cli
}
evm query
-a
"
${
chain33BridgeBank
}
"
-c
"
${
chain33DeployAddr
}
"
-b
"getToken2address(
${
symbolName
}
)"
)
echo
"
${
symbolName
}
Token Addr=
${
chain33EthBridgeTokenAddr
}
"
cp
BridgeToken.abi
"
${
chain33EthBridgeTokenAddr
}
.abi"
result
=
$(${
Chain33Cli
}
evm query
-a
"
${
chain33EthBridgeTokenAddr
}
"
-c
"
${
chain33EthBridgeTokenAddr
}
"
-b
"symbol()"
)
is_equal
"
${
result
}
"
"
HT
"
is_equal
"
${
result
}
"
"
${
symbolName
}
"
${
CLIA
}
chain33 token
set
-t
"
${
chain33EthBridgeTokenAddr
}
"
-s
HT
${
CLIA
}
chain33 token
set
-t
"
${
chain33EthBridgeTokenAddr
}
"
-s
"
${
symbolName
}
"
}
function
offline_create_bridge_token_eth_YCC
()
{
...
...
plugin/dapp/bridgevmxgo/cmd/build/testcase.sh
View file @
0e1ce6f3
...
...
@@ -2,7 +2,7 @@
# shellcheck disable=SC2128
# shellcheck source=/dev/null
source
"./dockerRelayer
Bsc
.sh"
source
"./dockerRelayer
Ht
.sh"
source
"./paracrosstestcase.sh"
function
bridgevmxgo
()
{
...
...
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