A smart contract in seven lines of code
In this section you will learn to code your first smart contract in just seven lines of code (Loc), no hidden terms and conditions. And did I say that you do not need any special software, apart from your web browser, or to spend any real ethers from your pocket? Let's see. I am using Windows 7 (64 bit OS) and a Google Chrome browser:
- Open your Google Chrome browser and type
remix solidity
in Google, as show in Figure 3.1:
Figure 3.1: Google search for remix solidity online compiler
- Click the highlighted link in Figure 3.2. You can also type the following in your browser URL box to get to the website directly:Â http://remix.ethereum.org:
Note
The present remix ethereum webpage is going through rapid changes and version increments. Meanwhile, and older yet stable version is provided to Solidity users for practice in the following link:
Figure 3.2: Remix—Solidity IDE
- Click the plus sign as marked in Figure 3.3 to create a new...