This is Dodao.dev EIP-2535 based smart-contract, with EIP-1155 multi-token support and Axelar, Hyperlane, Layerzero and Wormhole integrations, using Witnet Oracle to access Web2 APIs (thank you Witnet team ❤️ for a grant!).
Blockchains: Tanssi Dancebox Appchain(thank you Tanssi ❤️ for onboarding us as Appchain Pioneers!), ZkSync testnet, Moonbeam Moonbase-alpha, Polygon Mumbai, Fantom testnet, Ethereum Goerli
- Install NPM packages:
npm installnpx hardhat run scripts/deploy.jsThe scripts/deploy.js deployment script includes comments to explain how it works.
npx hardhat testUse deploy.js with --upgrade argument
Please first deploy to Moonbase-alpha, and then to Mumbai network, in order for interchain smart contracts to work out of the box.
This repository contains both standalone interchain contracts in ./contracts/contracts and Diamond interchain facets in ./facets/interchain.
The scripts/deploy.js file shows how to deploy a diamond.
Standalone interchain:
scripts/deploy-axelar.jsto deploy Axelar integration.
scripts/deploy-hyperlane.js to deploy Hyperlane integration.
scripts/deploy-layerzero.js to deploy Layerzero integration.
scripts/deploy-wormhole.js to deploy Wormhole integration.
scripts/deploy-wormhole.js to mint NFT tokens.
The test/diamondTest.js file gives tests for the diamondCut function and the Diamond Loupe functions.
Dodao.dev team
see docs.dodao.dev