Solidity compiler
Remix
- Remix is a Solidity IDE based on a web browser; can be used online without installing anything
- http://remix.ethereum.org
solcjs
- solc is one of the build targets of the Solidity source code library, it is the command line compiler of Solidity
- Use npm to easily install Solidity compiler solcjs
- npm install -g groove
A simple smart contract
pragma solidity ^ 0.4 .0;
contract SimpleStorage {
uint storedData;
function set(uint x) public {
storedData = x;
}
function get() public view returns(uint) {
return storedData;
}
}