Verify a Smart Contract
Verify your smart contract on Gravity Alpha Mainnet
Last updated
Was this helpful?
Verify your smart contract on Gravity Alpha Mainnet
Last updated
Was this helpful?
For users, you will need to change your hardhat.config.ts
to something like the following example:
Then you when you run your scripts, you can verify contracts deployed with --verify
option.
NOTE: If contracts were deployed successfully but verification failed, DO NOT delete the broadcast/
directory. You can resume the verification process by removing the --broadcast
option and providing the deployment transaction sender's key like below: (or you can configure it in cast):
For users, we recommend you to use to deploy your contracts. You will need to configure the foundry.toml
file as the following: