Hi, I am on developing smart contract on Cronos Test net using Hardhat.
Then, I found it's difficult to verify the contract on Cronos.
I have verified smart contract on other net (like ethereum, bsc and others), but can you help me how to verify smart contract on Cronos Testnet using Hardhat?
Thanks in advance.
When I run this command
npx hardhat --network testnet sourcify, I got this error.
Error HH303: Unrecognized task sourcify
How can I resolve this?
And if I use this https://cronos.org/explorer/api-docs#contract, I need to link imported libraries.
These are libraries I used.
Since it is difficult to write all libraries I used in editor, it's optimal to use Hardhat to verify.
So please help me to verify using Hardhat.
Did you try from truffle yet?
No, I mainly use Hardhat for deploying and verifying contract.
You should try it, maybe it will help, you can referr to truffle guide for it.