Hardhat Verification Plugin
Hardhat is a full-featured development environment for contract compilation, deployment and verification. The Hardhat Verification Plugin supports contract verification on Seitrace.
Last updated
Hardhat is a full-featured development environment for contract compilation, deployment and verification. The Hardhat Verification Plugin supports contract verification on Seitrace.
Last updated
Install Hardhat
If you are starting from scratch, create an npm project by going to an empty folder, running npm init
, and following the instructions. Recommend npm 7 or higher.
Once your project is ready:
npm instructions
yarn instructions
Create a project
Run npx hardhat
in your project folder and follow the instructions to create ().
Install plugin
Install the (requires v3.0.0+).
npm
yarn
apiURL:
Set up env. file
PRIVATE_KEY: Wallet private key
SEITRACE_KEY: You can also use a random string
Deploy
Verify
example
Your basic (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. .
If you prefer, you can migrate to to use a plugin bundle.
arctic-1:
pacific-1:
atlantic-2: