Commit 55e0c744 authored by QM's avatar QM

add shell

parent 52d25840
......@@ -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
}
......
......@@ -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 "${CLIA}" "${validatorPwd}" "${chain33ValidatorKeya}" "${ethValidatorAddrKeya}"
# result=$(${CLIA} set_pwd -p 123456hzj)
# cli_ret "${result}" "set_pwd"
......
......@@ -29,7 +29,7 @@ import (
var (
chain33Addr = "14KEKbYtKKQm4wMthSK9J4La4nAiidGozt"
//ethAddr = "0x92C8b16aFD6d423652559C6E266cBE1c29Bfd84f"
EthNullAddr = "0x0000000000000000000000000000000000000000"
//EthNullAddr = "0x0000000000000000000000000000000000000000"
)
type suiteContracts struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment