Hands-On Blockchain for Python Developers: Gain blockchain programming skills to build decentralized applications using Python

Arjuna Sky Kok

買這商品的人也買了...

相關主題

商品描述

Implement real-world decentralized applications using Python, Vyper, Populus, and Ethereum

Key Features

  • Stay up-to-date with everything you need to know about the blockchain ecosystem
  • Implement smart contracts, wallets, and decentralized applications(DApps) using Python libraries
  • Get deeper insights into storing content in a distributed storage platform

Book Description

Blockchain is seen as the main technological solution that works as a public ledger for all cryptocurrency transactions. This book serves as a practical guide to developing a full-fledged decentralized application with Python to interact with the various building blocks of blockchain applications.

Hands-On Blockchain for Python Developers starts by demonstrating how blockchain technology and cryptocurrency hashing works. You will understand the fundamentals and benefits of smart contracts such as censorship resistance and transaction accuracy. As you steadily progress, you'll go on to build smart contracts using Vyper, which has a similar syntax to Python. This experience will further help you unravel the other benefits of smart contracts, including reliable storage and backup, and efficiency. You'll also use web3.py to interact with smart contracts and leverage the power of both the web3.py and Populus framework to build decentralized applications that offer security and seamless integration with cryptocurrencies. As you explore later chapters, you'll learn how to create your own token on top of Ethereum and build a cryptocurrency wallet graphical user interface (GUI) that can handle Ethereum and Ethereum Request for Comments (ERC-20) tokens using the PySide2 library. This will enable users to seamlessly store, send, and receive digital money. Toward the end, you'll implement InterPlanetary File System (IPFS) technology in your decentralized application to provide a peer-to-peer filesystem that can store and expose media.

By the end of this book, you'll be well-versed in blockchain programming and be able to build end-to-end decentralized applications on a range of domains using Python.

What you will learn

  • Understand blockchain technology and what makes it an immutable database
  • Use the features of web3.py API to interact with the smart contract
  • Create your own cryptocurrency and token in Ethereum using Vyper
  • Use IPFS features to store content on the decentralized storage platform
  • Implement a Twitter-like decentralized application with a desktop frontend
  • Build decentralized applications in the shape of console, web, and desktop applications

Who this book is for

If you are a Python developer who wants to enter the world of blockchain, Hands-On Blockchain for Python Developers is for you. The book will be your go-to guide to becoming well-versed with the blockchain ecosystem and building your own decentralized applications using Python and library support.

Table of Contents

  1. Introduction to Blockchain Programming
  2. Smart Contract Fundamentals
  3. Implementing Smart Contract Using Vyper
  4. Interacting With Smart Contract Using Web3
  5. Populus Development Framework
  6. Building a Practical Decentralized Application
  7. Front-end Decentralized Application
  8. Creating Token in Ethereum
  9. Cryptocurrency Wallet
  10. Inter Planetary: A Brave New File System
  11. Using Py-ipfs-api to Connect to Decentralized File System
  12. Implementing Decentralized Application Using IPFS

商品描述(中文翻譯)

實作真實世界的去中心化應用程式,使用Python、Vyper、Populus和Ethereum

主要特點:
- 保持對區塊鏈生態系統的最新了解
- 使用Python函式庫實作智能合約、錢包和去中心化應用程式(DApps)
- 深入了解在分散式儲存平台中儲存內容的更多見解

書籍描述:
區塊鏈被視為所有加密貨幣交易的公共分類帳的主要技術解決方案。本書作為一本實用指南,介紹了使用Python開發完整的去中心化應用程式的方法,以與區塊鏈應用程式的各種構建塊進行互動。

《Python開發者的區塊鏈實戰》首先演示了區塊鏈技術和加密貨幣雜湊的工作原理。您將了解智能合約的基本原理和好處,例如抗審查和交易準確性。隨著您的進展,您將使用類似Python語法的Vyper來構建智能合約。這種經驗將進一步幫助您揭示智能合約的其他好處,包括可靠的儲存和備份以及效率。您還將使用web3.py與智能合約進行互動,並利用web3.py和Populus框架的功能來構建提供安全性和與加密貨幣無縫集成的去中心化應用程式。隨著您探索後面的章節,您將學習如何在以太坊上創建自己的代幣,並使用PySide2庫構建能夠處理以太坊和以太坊請求評論(ERC-20)代幣的加密貨幣錢包圖形用戶界面(GUI)。這將使用戶能夠無縫地儲存、發送和接收數字貨幣。最後,您將在去中心化應用程式中實現InterPlanetary File System (IPFS)技術,提供一個可以儲存和公開媒體的點對點文件系統。

通過閱讀本書,您將精通區塊鏈編程,並能夠使用Python在各個領域上構建端到端的去中心化應用程式。

您將學到:
- 了解區塊鏈技術及其作為不可變數據庫的特點
- 使用web3.py API的功能與智能合約進行互動
- 使用Vyper在以太坊上創建自己的加密貨幣和代幣
- 使用IPFS功能在去中心化儲存平台上儲存內容
- 使用桌面前端構建類似Twitter的去中心化應用程式
- 構建以控制台、網頁和桌面應用程式形式的去中心化應用程式

本書適合對區塊鏈有興趣的Python開發者。本書將成為您掌握區塊鏈生態系統並使用Python和函式庫支援構建自己的去中心化應用程式的指南。

目錄:
1. 區塊鏈編程介紹
2. 智能合約基礎知識
3. 使用Vyper實作智能合約
4. 使用Web3與智能合約互動
5. Populus開發框架
6. 構建實用的去中心化應用程式
7. 前端去中心化應用程式
8. 在以太坊上創建代幣
9. 加密貨幣錢包
10. Inter Planetary: 一個全新的文件系統
11. 使用Py-ipfs-api連接到去中心化文件系統
12. 使用IPFS實作去中心化應用程式