Skip to content

Instantly share code, notes, and snippets.

View sunnya97's full-sized avatar

Sunny Aggarwal sunnya97

View GitHub Profile

0x17dff97e8a7213a0ea16970bb16cc605b3de64ed5c8c73a3ec7f3ed12fdf9474

@sunnya97
sunnya97 / SimpleStorage.sol
Created July 26, 2017 05:54 — forked from naterush/SimpleStorage.sol
A simple storage contract as an introduction to Solidity.
//Tell the Solidity compiler what version to use
pragma solidity ^0.4.8;
//Declares a new contract
contract SimpleStorage {
//Storage. Persists in between transactions
uint x;
//Allows the unsigned integer stored to be changed
function set(uint newValue) {