How to Verify
- Drag and drop the folder containing your source files and metadata, or add them seperately.
- Input the contract address you want to verify. If a contract at that address is verified in any of the chains it will be shown above.
- Select the chain the contract is deployed to.
- Click "Verify".
Truffle
If you were using Truffle to compile contracts, you can use the output file at build/contracts/<contract-name>.json
for the metadata file. Then add the source files as usual.
With Hardhat output
info
Only after Hardhat version v2.6.8 the metadata files were output by default. If you are using an earlier version, you need to add the metadata to compilation outputs manually as described here
- Drag and drop the
.json
file at sourcify.dev. - Select the main contract deployed at the address you want to verify.
- Input the address and chain and click "Verify".