Skip to content

Instantly share code, notes, and snippets.

Avatar

Jim jvaughn575

View GitHub Profile
@jvaughn575
jvaughn575 / Greeter.sol
Created Oct 2, 2018
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.4.25+commit.59dbf8f1.js&optimize=false&gist=
View Greeter.sol
pragma solidity ^0.4.0;
contract Greeter {
/* Define variable greeting of the type string */
string public yourName;
/* This runs when the contract is executed */
constructor() public {
yourName = "World";
}
You can’t perform that action at this time.