Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Ethereum Smart Contract Development

You're reading from  Ethereum Smart Contract Development

Product type Book
Published in Feb 2018
Publisher Packt
ISBN-13 9781788473040
Pages 288 pages
Edition 1st Edition
Languages
Author (1):
Mayukh Mukhopadhyay Mayukh Mukhopadhyay
Profile icon Mayukh Mukhopadhyay

Table of Contents (18) Chapters

Title Page
Dedication
Packt Upsell
Contributors
Preface
1. Blockchain Basics 2. Grokking Ethereum 3. Hello World of Smart Contracts 4. A Noob's Guide to DApps and DAO 5. Deep-Diving into Smart Contracts 6. Solidity in Depth 7. Primer on Web3.js 8. Developing a Cryptocurrency from Scratch 9. Enterprise Use Cases 10. BaaS and the Dark Web Market 11. Advanced Topics and the Road Ahead 1. Other Books You May Enjoy Index

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:

  1. 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

  1. 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:

https://yann300.github.io/remix04/

Figure 3.2: Remix—Solidity IDE

  1. Click the plus sign as marked in Figure 3.3 to create a new...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}