Hardhat is a full-featured development environment for contract compilation, deployment and verification. The Hardhat Verification Plugin supports contract verification on Seitrace.
npm init
, and following the instructions. Recommend npm 7 or higher.
Once your project is ready:
npm instructions
npx hardhat
in your project folder and follow the instructions to create (more info here).
hardhat.config.js
.
Copy
hardhat.config.ts.
More info on using typescript with hardhat available here.
hardhat.config.js
or hardhat.config.ts
) will be setup to support the network you are working on. In this example we use the Sokol test network and a .js
file.
Here we add an RPC url without an API key, however some value is still required. You can use any arbitrary string. More info.
If you prefer, you can migrate to hardhat-toolbox to use a plugin bundle.