This repository is used for new smart contracts of multichain,
mainly for bridge, router, and anycall functions.
This repository also have upgradation smart contracts of anyswap-v1-core with vesrions start from v7.
npm installnpx hardhat flatten <contract-to-be-flatten> | sed '/SPDX-License-Identifier:/d' | sed 1i'// SPDX-License-Identifier: GPL-3.0-or-later'-
use hardhat
npx hardhat compile
-
use remix
The scripts includs deploying and testing related scripts.
Note: Adjust arguments before running
npx hardhat run scripts/encodeSushiCallData.jsnpx hardhat run scripts/deploy-anycall-v7.js