Compiling and deploying contracts

Ethereum provides the solc compiler, which provides a command-line interface to compile .sol files. Visit to find instructions on how to install it and visit 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 You can also download the browser Solidity source code for offline ...

Get Blockchain for Enterprise now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.