A simple Ethereum smart contract example.
Install testrpc: (or use geth)
$ pip install eth-testrpc // requires python, pip, maybe venv
Install truffle:
$ npm install -g truffle // -g may require sudo
Run testrpc in one console window:
(venv)$ testrpc
In another console window run truffle from project root directory:
$ truffle deploy
$ truffle test
$ truffle build