Skip to content

DOSNetwork/tokenbridge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BNBridge

Features:

Repository

./bnbridge

Front end website allowing for BNB to ERC bridge support.

./sdk

API used to interact with the CLI utility, Binance javascript SDK and Web3.js to enable BNB to ERC bridge utility.

Installation

git clone https://github.com/DOSNetwork/bnbridge.exchange.git
./install.sh  (Linux Environment)

set (`DBUSER`, `DBNAME`, `DBPASSWORD`, `KEY`, `CLIPASSWORD`, `MNEMONIC`) to environment variables.
run `bash <testnet/mainnet>-setup.sh` to instantiate the DB.
Keep secrets (`MNEMONIC`, `KEY`, `DBPASSWORD`) offline and to yourself.
unset environment variables, specifically secrets, and clear bash history.
update ./config/index.js with
    - databse connection details (the same value as `DBUSER`, `DBNAME`, `DBPASSWORD`).
    - Binance connection details for mainnet/testnet.
    - Ethereum connection details for mainnet/testnet.
Config https keys and certifications for production.

cd ./sdk;
`node ./api.bnbridge.exchange.js` or `pm2 start api.bnbridge.exchange.js`

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.5%
  • Shell 2.2%
  • Other 1.3%