Hands-On Blockchain for Python Developers – Second Edition 版次: Empowering Python developers in the world of blockchain and smart contracts
Author: Arjuna Sky Kok (Author)
Edition 版次: 2nd ed.
Publication Date 出版日期: 2024-06-28
Language 语言: English
Print Length 页数: 436 pages
ISBN-10: 1805121367
ISBN-13: 9781805121367
Book Description
Write popular DeFi and NFT smart contracts with Vyper, a Pythonic programming language, and integrate blockchain with real-world applications using Python
Key Features:
– Use the world’s easiest programming language to build web3 applications
– Write common smart contracts like decentralized exchanges, NFT marketplaces, and lending applications
– Unlock deeper levels of insights with technologies relating to blockchain, such as IPFS and Layer 2
– Purchase of the print or Kindle book includes a free PDF eBook
Book Description
We are living in the age of decentralized fi nance and NFTs. People swap tokens on Uniswap, borrow assets from Aave, send payments with stablecoins, trade art NFTs on OpenSea, and more. To build applications of this kind, you need to know how to write smart contracts.
This comprehensive guide will help you explore all the features of Vyper, a programming language designed to write smart contracts. You’ll also explore the web3.py library. As you progress, you’ll learn how to connect to smart contracts, read values, and create transactions. To make sure your foundational knowledge is strong enough, the book guides you through Ape Framework, which can help you create decentralized exchanges, NFT marketplaces, voting applications, and more. Each project provides invaluable insights and hands-on experience, equipping you with the skills you need to build real-world blockchain solutions.
By the end of this book, you’ll be well versed with writing common Web3 applications such as a decentralized exchange, an NFT marketplace, a voting application, and more.
What You Will Learn:
– Understand blockchain and smart contracts
– Learn how to write smart contracts with Vyper
– Explore how to use the web3.py library and Ape Framework
– Discover related technologies such as Layer 2 and IPFS
– Gain a step-by-step guide to writing an automated market maker (AMM) decentralized exchange (DEX) smart contract
– Build innovative, interactive, and token-gated Web3 NFT applications
Who this book is for:
This blockchain book is for developers interested in understanding blockchain and smart contracts. It is suitable for both technology enthusiasts looking to explore blockchain technology and programmers who aspire to become smart contract engineers. Basic knowledge of GNU/Linux and Python programming is mandatory to get started with this book.
Table of Contents
– Introduction to Blockchain Programming
– Smart Contract Fundamentals
– Using Vyper to Implement a Smart Contract
– Using Web3.py to Interact with Smart Contracts
– Ape Framework
– Building a Practical Decentralized Applicaton
– Front-End Decentralized Application
– Cryptocurrency Wallet
– InterPlanetary: A Brave New File System
– Implementing a Decentralized Application Using IPFS
– Exploring Layer 2
– Creating Token on Ethereum
– How to Create an NFT
– Writing NFT Marketplace Smart Contracts
– Writing a Lending Vault Smart Contract
– Decentralized Exchange
– Token-Gated Applications