This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Head to the contract’s page on Etherscan, click the “Code” tab, click “Verify and Publish” | |
2. Click to try the “new Beta Source Code Contract Verifier” (note that Etherscan does not | |
support imports, so if your contract uses imports you will need to concatenate the code | |
into a single file) | |
3. Follow the steps shown on that page to verify and publish. To ensure you choose the right | |
compiler version, after compiling your contract with truffle open up ContractName.json and | |
find the line that looks like this: | |
NewerOlder