Run local node:
npx hardhat nodeDeploy on local node:
npx hardhat run scripts/deploy-test-bridge-proxy.ts --network localDeploy on sepolia testnet:
npx hardhat ignition deploy ./ignition/modules/BridgeProxy.ts --network sepolia --parameters ignition/parameters/sepolia.jsonDeploy on ethereum mainnet:
npx hardhat ignition deploy ./ignition/modules/BridgeProxy.ts --network ethereum --parameters ignition/parameters/ethereum.jsonSet fee basis points:
npx hardhat setupProxy --network sepolia --fee-bp 10 Setup tokens:
npx hardhat setupProxy --network sepolia --token 0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238,0x4f9855416f0062688357Bf3b3Bf3E4dC88078fCaSwap tokens on sepolia:
npx hardhat run scripts/swap.ts --network sepoliaSwap tokens and bridge to another chain:
npx hardhat run scripts/swap-and-bridge.ts --network sepoliaWithdraw collected fee:
npx hardhat withdraw --network sepolia --token 0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238