Deploy with Hardhat
Hardhat is a smart contract development environment that comes with tools that can be used to compile, debug, and deploy Solidity smart contracts and dApps on Ethereum and other EVM-compatible chains like InitVerse Network.
Start by creating a new Hardhat project and configuring the
hardhat.config.js
file to add InitVerse testnet's settings to it.
Replace YOUR PRIVATE KEY with your account private key.
Don't share your private key with anyone, otherwise, you may lose all of your cryptos.
With your contracts ready in the "Contracts" directory within your Hardhat project, you can run the following command to compile them.
Use the following command to deploy your contracts to a chosen network.
Last updated