Skip to content

Instantly share code, notes, and snippets.

@mds1
mds1 / VerifyContractOnEtherscan.txt
Created June 17, 2018 14:41
Verifying Contract on Etherscan
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: