/Token-Bridge

Create an erc20 bridge without having a web interface

Primary LanguageJavaScript

Before you start, you need to create a .env file
in project's directory and add the following lines


Please add values instead of placeholders

PRIVATE_KEY = "YOUR_PRIVATE_KEY"


PROVIDER_BSC = "https://data-seed-prebsc-1-s1.binance.org:8545"
PROVIDER_MATIC = "https://rpc.ankr.com/polygon_mumbai"


BSC_SC = "BRIDGE_BSC_ADDRESS"
POLYGON_SC = "BRIDGE_MATIC_ADDRESS"


TOKEN_BSC = "BSC_TONE_ADDRESS"
TOKEN_MATIC = "MATIC_TOKEN_ADDRESS"