Love the site and the community, One question about this contract? How can we verify this code on the BSC OR ETH? If it is done the normal way will just be the import line or am i missing something. lol
1 Like
Skyge
April 19, 2021, 11:40pm
2
Hi, welcome!
Sorry, I am not familiar with the BSC-Chain, maybe you should ask for help in their forum: Home | Binance Chain Forum
As for Ethereum Mainnet, you can have a look at this tutorial:
For a complete list of resources regarding verification visit How to verify a contract on Etherscan/BscScan/PolygonScan .
The recommended way to verify a smart contract inheriting from OpenZeppelin Contracts is as a "multi-file" contract (corresponding to the Standard-Json-Input compiler type on Etherscan). It is easier to read, imports are maintained, licenses are maintained.
Verified using Hardhat
Verified using Truffle
Hardhat
Hardhat has an Etherscan plugin: Hardhat Etherscan plugin
N…
1 Like