Testnet (Quick Start Example)
Testnet Information
Polygon Mumbai | BNB Testnet | Source Code | |
---|---|---|---|
MultichainV7Router | |||
AnycallExecutor | |||
Exec Contract (Sushiswap Anycall Proxy Demo) | |||
Bridge Token A | |||
Bridge Token B |
Quick Start
Please fork the above hardhat repo and follow the readme. This repo will do the following:
Acquire some test token A for bridging on chain A.
Bridge funds and swap to other tokens on chain B.
Commands:
yarn
Enter prvkey for your TESTNET account in env.example file and rename it to .env
Get some testnet matic at https://faucet.polygon.technology/
yarn hardhat run ./scripts/0swapMaticToA1token.js --network polygonmumbai
yarn hardhat run ./scripts/bridgefundsRouterV7.js --network polygonmumbai
Congrats, you've swapped assets cross-chain.
Last updated