bsc-eth-swap

command module
v0.0.0-...-50fcca9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

README

BSC-ETH-SWAP

Build

make build

Configuration

  1. Generate BSC private key and ETH private key.

  2. Transfer enough BNB and ETH to the above two accounts.

  3. Config swap agent contracts

    1. Deploy contracts in eth-bsc-swap-contracts
    2. Example deployed contracts on testnet please refer to BSCSwapAgent and ETHSwapAgent
    3. Write the two contract address to eth_swap_agent_addr and bsc_swap_agent_addr.
  4. 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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL