Smart contract to publish news on ethereum blockchain.
brew update
brew upgrade
brew tap ethereum/ethereum
brew install solidity
go get -u github.com/ethereum/go-ethereum
cd $GOPATH/src/github.com/ethereum/go-ethereum/
make
make devtools
solc --abi contracts/NewsChain.sol -o bindings/
$HOME/go/bin/abigen --abi ./bindings/NewsChain.abi --pkg contracts --out bindings/newschain.go
npm install -g truffle
truffle compile
truffle migrate --reset
Tutorial: https://medium.com/liveklass/building-dapps-on-ethereum-from-scratch-b428799725a