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