command
module
Version:
v0.0.0-...-32b5228
Opens a new window with list of versions in this module.
Published: Oct 28, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
BSC-ETH-SWAP
Build
make build
Configuration
-
Generate BSC private key and ETH private key.
-
Transfer enough BNB and ETH to the above two accounts.
-
Config swap agent contracts
- Deploy contracts in eth-bsc-swap-contracts
- Example deployed contracts on testnet please refer to BSCSwapAgent and ETHSwapAgent
- Write the two contract address to
eth_swap_agent_addr
and bsc_swap_agent_addr
.
-
Config start height
Get the latest height for both BSC and ETH, and write them to bsc_start_height
and eth_start_height
.
Start
./build/swap-backend --config-type local --config-path config/config.json
Specification
Refer to specification
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.