-
Install:
npm install
-
Create new Eth Account & add to Metamask:
npx mnemonics
-
Load Sidechain networks into metamask (Log out of your current and import via 12 word phrase)
Network Name | RPC URL | ChainId | Symbol | Explorer | Tutorial |
---|---|---|---|---|---|
FTM | https://rpc.testnet.fantom.network/ | 0xfa2 |
FTM | https://explorer.testnet.fantom.network/ | Tutorial |
Mumbai (MATIC Testnet) | https://rpc-mumbai.maticvigil.com | 80001 |
MATIC | https://explorer-mumbai.maticvigil.com | Tutorial |
BSC | https://data-seed-prebsc-1-s1.binance.org:8545/ | 0x61 |
BNB | https://testnet.bscscan.com | Tutorial |
ETH (ROPSTEN) Explorer:https://ropsten.etherscan.io/
- Load with testnet tokens:
ETH: https://faucet.metamask.io/
FTM: https://faucet.fantom.network/
MATIC: https://faucet.matic.network/
BSC: https://testnet.binance.org/faucet-smart
-
Run
npm testnet:deploy
for public testnets,npm local:deploy
for local deploy. Outputted address is factoryAddress in step 7 -
Verify Deploy
-
Deploy AnyswapV5ERC20.sol:
- Head over to https://github.com/connext/chaindata and follow instructions in deploy.md
- replacing factoryAddress with address of deploy contract AnyswapCreate2Deployer.sol on each chain (Line: 64)
- Replace mpc with account 2 from metamask
If you're feeling lazy:
Working factoryAddress (Line 64):
0x3C2f68E559a2e2e3f5810F2Aa1Fe779C9BcDC194