Beginning Ethereum Smart Contracts Programming

With Examples in Python, Solidity, and JavaScript

  • Wei-Meng Lee

Table of contents

  1. Front Matter
    Pages i-xvii
  2. Wei-Meng Lee
    Pages 1-23
  3. Wei-Meng Lee
    Pages 61-69
  4. Wei-Meng Lee
    Pages 93-126
  5. Wei-Meng Lee
    Pages 127-146
  6. Wei-Meng Lee
    Pages 147-167
  7. Wei-Meng Lee
    Pages 169-198
  8. Wei-Meng Lee
    Pages 199-219
  9. Wei-Meng Lee
    Pages 221-256
  10. Wei-Meng Lee
    Pages 257-287
  11. Back Matter
    Pages 289-293

About this book


Use this book to write an Ethereum Blockchain Smart Contract, test it, deploy it, and create a web application to interact with your smart contract.

Beginning Ethereum Smart Contracts Programming is your fastest and most efficient means of getting started if you are unsure where to begin and how to connect to the Ethereum Blockchain. The book begins with a foundational discussion of blockchain and the motivation behind it. From there, you will get up close and personal with the Ethereum Blockchain, learning how to use an Ethereum client (geth) to connect to the Ethereum Blockchain to perform transactions such as sending Ethers to another account. 

You will learn about smart contracts without having to wade through tons of documentation. Author Lee’s “learn-by-doing” approach will allow you to be productive and feel confident in your ability in no time. The last part of this book covers tokens, a topic that has taken the cryptocurrency market by storm.

Sample code in Python, Solidity, and JavaScript is provided in the book and online.

What You'll Learn:
  • Understand the basic premise of blockchain and “record keeping” in a peer-to-peer network
  • Experience blockchain in action by creating your own blockchain using Python
  • Know the foundation of smart contracts programming and how to deploy and test smart contracts
  • Work on a case study to illustrate the use of blockchain
  • Be familiar with tokens, and how to create and launch your own ICO digital token
  • Write smart contracts that transact using tokens
This book is for those who want to get started quickly with Ethereum Smart Contracts programming. Basic programming knowledge and an understanding of Python or JavaScript is recommended.

Wei-Meng Lee is the founder of Developer Learning Solutions, a technology company specializing in hands-on training of blockchain and other emerging technologies. He has many years of training expertise and his courses emphasize a learn-by-doing approach. He is a master at making learning a new programming language or technology less intimidating and fun. He can be found speaking at conferences worldwide and he regularly contributes to online and print publications. He is active on social media on his blog, on Facebook at DeveloperLearningSolutions, on Twitter @weimenglee, and on LinkedIn at leeweimeng.


Ethereum Smart Contracts Blockchain Connecting MetaMask to Geth MetaMask Cryptocurrency Ethereum Test Network Ethereum Blockchain Web3.js API Dapps Wei Meng Lee Creating tokens using smart contracts ERC20 Tokens Cyrptocurrency Decentralization Crypto Wallet mining Ganache

Authors and affiliations

  • Wei-Meng Lee
    • 1
  1. 1.Ang Mo KioSingapore

Bibliographic information

Industry Sectors
Finance, Business & Banking
IT & Software
Energy, Utilities & Environment