Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Dustin4444/5730bb252d83d1457e4b3e507a6215ca to your computer and use it in GitHub Desktop.

Select an option

Save Dustin4444/5730bb252d83d1457e4b3e507a6215ca to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.34+commit.80d5c536.js&optimize=undefined&runs=200&gist=
{
"contracts/HelloWorld.sol": {
"__sources__": {
"contracts/HelloWorld.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity >=0.6.12 <0.9.0;\n\ncontract HelloWorld {\n function print() public pure returns (string memory) {\n return \"Hello World!\";\n }\n}",
"file": "contracts/HelloWorld.sol"
}
}
},
"contracts/HelloWorld1.sol": {
"__sources__": {
"contracts/HelloWorld1.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity >=0.6.12 <0.9.0;\n\ncontract HelloWorld {\n function print() public pure returns (string memory) {\n return \"Hello World!\";\n }\n}",
"file": "contracts/HelloWorld1.sol"
}
}
}
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.12 <0.9.0;
contract HelloWorld {
function print() public pure returns (string memory) {
return "Hello World!";
}
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.12 <0.9.0;
contract HelloWorld {
function print() public pure returns (string memory) {
return "Hello World!";
}
}

Comments are disabled for this gist.