Hands-On Blockchain for Python Developers - Second Edition: Empowering Python developers in the world of blockchain and smart contracts
Kok, Arjuna Sky
- 出版商: Packt Publishing
- 出版日期: 2024-06-28
- 售價: $1,920
- 貴賓價: 9.5 折 $1,824
- 語言: 英文
- 頁數: 436
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1805121367
- ISBN-13: 9781805121367
-
相關分類:
Python、程式語言、區塊鏈 Blockchain
海外代購書籍(需單獨結帳)
相關主題
商品描述
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
商品描述(中文翻譯)
撰寫流行的 DeFi 和 NFT 智能合約,使用 Vyper 這個 Pythonic 程式語言,並利用 Python 將區塊鏈與現實世界應用整合。
主要特色:
- 使用世界上最簡單的程式語言來構建 web3 應用
- 撰寫常見的智能合約,如去中心化交易所、NFT 市場和借貸應用
- 解鎖與區塊鏈相關技術的更深層次見解,如 IPFS 和 Layer 2
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 電子書
書籍描述:
我們正生活在去中心化金融和 NFT 的時代。人們在 Uniswap 上交換代幣,從 Aave 借入資產,使用穩定幣進行支付,在 OpenSea 上交易藝術 NFT 等等。要構建這類應用,您需要知道如何撰寫智能合約。
這本全面的指南將幫助您探索 Vyper 的所有功能,這是一種專為撰寫智能合約而設計的程式語言。您還將探索 web3.py 庫。隨著進展,您將學會如何連接智能合約、讀取值和創建交易。為了確保您的基礎知識足夠扎實,本書將引導您通過 Ape Framework,幫助您創建去中心化交易所、NFT 市場、投票應用等。每個項目都提供了寶貴的見解和實踐經驗,讓您具備構建現實世界區塊鏈解決方案所需的技能。
在本書結束時,您將熟悉撰寫常見的 Web3 應用,如去中心化交易所、NFT 市場、投票應用等。
您將學到的內容:
- 理解區塊鏈和智能合約
- 學習如何使用 Vyper 撰寫智能合約
- 探索如何使用 web3.py 庫和 Ape Framework
- 發現相關技術,如 Layer 2 和 IPFS
- 獲得撰寫自動化市場製造商 (AMM) 去中心化交易所 (DEX) 智能合約的逐步指南
- 構建創新、互動和代幣限制的 Web3 NFT 應用
本書適合對區塊鏈和智能合約感興趣的開發者。它適合希望探索區塊鏈技術的技術愛好者和渴望成為智能合約工程師的程式設計師。開始閱讀本書前,需具備基本的 GNU/Linux 和 Python 程式設計知識。
目錄:
- 區塊鏈程式設計簡介
- 智能合約基礎
- 使用 Vyper 實現智能合約
- 使用 Web3.py 與智能合約互動
- Ape Framework
- 構建實用的去中心化應用
- 前端去中心化應用
- 加密貨幣錢包
- InterPlanetary: 一個勇敢的新檔案系統
- 使用 IPFS 實現去中心化應用
- 探索 Layer 2
- 在以太坊上創建代幣
- 如何創建 NFT
- 撰寫 NFT 市場智能合約
- 撰寫借貸保險庫智能合約
- 去中心化交易所
- 代幣限制應用