Skip to content

Instantly share code, notes, and snippets.

@laalaguer
Created Jan 6, 2020
Embed
What would you like to do?
An example Solidity code for a small smart contract
pragma solidity ^0.5.11;
contract Hello {
uint public counter;
constructor () public {
counter = 0;
}
function increaseAmount () public {
counter = counter + 1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment