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. This new edition has been expanded and updated to cover web3.js APIs, additional Consensus Protocols, non-Fungible Tokens (NFTs), developing NFT tokens using ERC-721, and more! Beginning Ethereum Smart Contracts Programming, second edition 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 create a private Ethereum blockchain to perform transactions such as sending Ethers to another account on another node. 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 Who 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.