Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/synycboom/bsc-evm-compatible-bridge-core
https://github.com/synycboom/bsc-evm-compatible-bridge-core
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/synycboom/bsc-evm-compatible-bridge-core
- Owner: synycboom
- License: mit
- Created: 2021-10-22T10:54:45.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-22T17:34:28.000Z (about 3 years ago)
- Last Synced: 2024-06-20T20:40:31.210Z (7 months ago)
- Language: Go
- Size: 304 KB
- Stars: 0
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bsc-evm-compatible-bridge-core
Core bridge for evm compatible chains which is based on https://github.com/binance-chain/bsc-eth-swap.
This project is part of Binance Smart Chain Hackathon : Build NFT Bridge Between EVM Compatible Chains hackathon [https://gitcoin.co/issue/binance-chain/grant-projects/2/100026811].
## Build
```shell script
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 [bsc-evm-compatible-bridge-contract](https://github.com/synycboom/bsc-evm-compatible-bridge-contract)
2. Write the two contract address to `erc_721_swap_agent_addr` and `erc_1155_swap_agent_addr` for each chain config.4. Config start height
Get the latest height for both BSC and ETH, and write them to `start_height` for each chain config.## Start
```shell script
./build/swap-backend --config-type local --config-path config/config.json
```## Specification
Design spec: https://github.com/synycboom/bsc-evm-compatible-bridge
It has similar design spec as https://github.com/binance-chain/bsc-eth-swap/blob/main/docs/spec.md