Skip to content

glucrypto/create2deploy-testnets

Repository files navigation

Zero to Cross-Chain

  1. Install: npm install

  2. Create new Eth Account & add to Metamask: npx mnemonics

  3. 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/

  1. 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

  1. Run npm testnet:deploy for public testnets, npm local:deploy for local deploy. Outputted address is factoryAddress in step 7

  2. Verify Deploy

  3. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published