Created
June 17, 2018 14:41
-
-
Save mds1/315ff344c8d8bbe510b12fc6d8bcab77 to your computer and use it in GitHub Desktop.
Verifying Contract on Etherscan
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: | |
"compiler": { | |
"name": "solc", | |
"version": "0.4.23+commit.124ca40d.Emscripten.clang" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment