Beginning Ethereum Smart Contracts Programming: With Examples in Python, Solidity, and JavaScript, Second Edition
- 2h 50m
- Wei-Meng Lee
- Apress
- 2023
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 Will 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.
About the Author
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 such as NDC and he regularly contributes to online and print publications such as DevX.com, MobiForge.com, and CoDe Magazine. He is active on social media on his blog learn2develop.net, on Facebook at DeveloperLearningSolutions, on Twitter @weimenglee, and on LinkedIn at leeweimeng.
In this Book
-
Introduction
-
Understanding the Science Behind Blockchain: Cryptography
-
Understanding Blockchain
-
Implementing Your Own Blockchain Using Python
-
Creating Your Own Private Ethereum Test Network
-
Using the MetaMask Crypto-Wallet
-
Getting Started with Smart Contracts
-
Storing Proofs Using Smart Contracts
-
Using the web3.js APIs
-
Developing Web3 dapps using Python
-
Project: Online Lottery
-
Creating Your Tokens
-
Creating Non-Fungible Tokens Using ERC-721
-
Introduction to Decentralized Finance