Using Remix
Deploy Smart Contract
Using RemixVerify Smart Contract
Via flattened source code




Via Standard Input JSON




Last updated
// SPDX-License-Identifier: MIT
// Specifies that the source code is for a version
// of Solidity greater than 0.8.15
pragma solidity ^0.8.15;
contract HelloWorld {
// A publicly accessible function that takes a string as a parameter
// and echoes the `message`
function echo(string memory message) public pure returns (string memory) {
return message;
}
}{
"language":"Solidity",
"sources":{
"HelloWorld.sol":{
"content":"// SPDX-License-Identifier: MIT\n// Specifies that the source code is for a version\n// of Solidity greater than 0.8.15\npragma solidity ^0.8.15;\n\ncontract HelloWorld {\n\n // A publicly accessible function that takes a string as a parameter\n // and echoes the `message`\n function echo(string memory message) public pure returns (string memory) {\n return message;\n }\n}"
}
},
"settings":{
"optimizer":{
"enabled":true,
"runs":200
},
"outputSelection":{
"*":{
"":[
"ast"
],
"*":[
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
}
}
}