- Docker : Install docker Official Docker.
- Node.js : Node v18.16.0 Use nvm node version manager.
npm install
Also setup your secret key in secret.js
file like this:
module.exports = {
MMENOMIC: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
API_KEY: "XXXXXXX"
};
npm run compile
don't forget to change the network in the script hardhat.config.js to the network you want to deploy to.
npx hardhat run --network amoy scripts/deploy.js
make gen
Required ../hyperion repository
make exportwrappers
npx hardhat verify --network amoy 0x0000000000000000000000000000000000000000
npx hardhat run --network amoy scripts/extract-input.js
# then you will get the input data in the verify-input.json file
# then utilise this file in the explorer of the network you deployed to verify the contract
- Audit File : Audit.
Thanks for the works of Injective projet, this project is inspired by them.