Compiling and deploying contracts

Ethereum provides the solc compiler, which provides a command-line interface to compile .sol files. Visit http://solidity.readthedocs.io/en/develop/installing-solidity.html#binary-packages to find instructions on how to install it and visit https://Solidity.readthedocs.io/en/develop/using-the-compiler.html to find instructions on how to use it. We won't be using the solc compiler directly; instead, we will be using browser Solidity. Browser Solidity is an IDE, which is suitable for small contracts.

For now, let's just compile the preceding contract using browser Solidity. Learn more about it at https://Ethereum.github.io/browser-Solidity/. You can also download the browser Solidity source code for offline ...

Get Blockchain for Enterprise now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.