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
55e0c744
Commit
55e0c744
authored
Dec 21, 2021
by
QM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add shell
parent
52d25840
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
dockerRelayerTest.sh
plugin/dapp/cross2eth/cmd/build/dockerRelayerTest.sh
+9
-1
offlinePublic.sh
plugin/dapp/cross2eth/cmd/build/public/offlinePublic.sh
+1
-1
contracts_test.go
...s2eth/ebrelayer/relayer/ethereum/ethtxs/contracts_test.go
+1
-1
No files found.
plugin/dapp/cross2eth/cmd/build/dockerRelayerTest.sh
View file @
55e0c744
...
...
@@ -27,9 +27,17 @@ function start_docker_ebrelayerProxy() {
sleep
1
# shellcheck disable=SC2154
init_validator_relayer
CLIP
"
${
validatorPwd
}
"
"
${
chain33ValidatorKeyp
}
"
"
${
ethValidatorAddrKeyp
}
"
init_validator_relayer
"
${
CLIP
}
"
"
${
validatorPwd
}
"
"
${
chain33ValidatorKeyp
}
"
"
${
ethValidatorAddrKeyp
}
"
}
#1.通过以下命令设置代理提币
#./ebcli_A ethereum cfgWithdraw
#./ebcli_A ethereum cfgWithdraw 设置的数量是以wei为单位的 USDT 精度为6 eth/bnb 或者ht就是18
#
#2.在chain33上的bridgeBank合约中设置proxyReceiver
#
#3.将其中代理转账中继器中的标志位ProcessWithDraw设置为true,其余中继器保持false
function
setWithdraw
()
{
start_docker_ebrelayerProxy
}
...
...
plugin/dapp/cross2eth/cmd/build/public/offlinePublic.sh
View file @
55e0c744
...
...
@@ -97,7 +97,7 @@ function InitRelayerA() {
echo
-e
"
${
GRE
}
===========
$FUNCNAME
begin ===========
${
NOC
}
"
# shellcheck disable=SC2154
init_validator_relayer
"
${
CLI
}
"
"
${
validatorPwd
}
"
"
${
chain33ValidatorKeya
}
"
"
${
ethValidatorAddrKeya
}
"
init_validator_relayer
"
${
CLI
A
}
"
"
${
validatorPwd
}
"
"
${
chain33ValidatorKeya
}
"
"
${
ethValidatorAddrKeya
}
"
# result=$(${CLIA} set_pwd -p 123456hzj)
# cli_ret "${result}" "set_pwd"
...
...
plugin/dapp/cross2eth/ebrelayer/relayer/ethereum/ethtxs/contracts_test.go
View file @
55e0c744
...
...
@@ -29,7 +29,7 @@ import (
var
(
chain33Addr
=
"14KEKbYtKKQm4wMthSK9J4La4nAiidGozt"
//ethAddr = "0x92C8b16aFD6d423652559C6E266cBE1c29Bfd84f"
EthNullAddr
=
"0x0000000000000000000000000000000000000000"
//
EthNullAddr = "0x0000000000000000000000000000000000000000"
)
type
suiteContracts
struct
{
...
...
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