Created
March 16, 2024 07:47
-
-
Save 0xV4L3NT1N3/974d6bfb58070e0fe4e38d626cdf1c44 to your computer and use it in GitHub Desktop.
Sample Solidity Json Input for Etherscan Verification
This file contains 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
{ | |
"language": "Solidity", | |
"sources": { | |
"contracts/Verified.sol": { | |
"content": "//SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.18;\r\n\r\ncontract Verified {\r\n string public greet =\r\n \"Increase this counter if you completed this tutorial\";\r\n string public tutorial =\r\n \"https://docs.etherscan.io/contract-verification/multichain-verification\";\r\n\r\n uint256 public verified = 0;\r\n\r\n function completedTutorial() public {\r\n verified += 1;\r\n }\r\n}\r\n" | |
} | |
}, | |
"settings": { | |
"metadata": { | |
"bytecodeHash": "none" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 0 | |
}, | |
"outputSelection": { | |
"*": { | |
"*": [ | |
"abi", | |
"evm.bytecode", | |
"evm.deployedBytecode", | |
"evm.methodIdentifiers", | |
"metadata" | |
], | |
"": [ | |
"ast" | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
packages/wallet-sdk/package.json