Git Product home page Git Product logo

blockchain_python's Introduction

Hands-On Blockchain for Python Developers

no-image

This is the code repository for Hands-On Blockchain for Python Developers, published by Packt.

Empowering Python developers in the world of blockchain and smart contracts

What is this book about?

This book will help Python developers enhance their productivity in writing DeFi and NFT applications. You’ll gain in-depth knowledge of related technologies such as Layer 2 and IPFS, further expanding your understanding of the blockchain ecosystem.

This book covers the following exciting features:

  • Understand blockchain and smart contracts
  • Learn how to write smart contracts with Vyper
  • Learn how to use the web3.py library and Ape Framework
  • Discover related technologies like Layer 2 and IPFS
  • Acquire step-by-step guide to writing an Automatic Market Maker Decentralized Exchange smart contract
  • Build innovative, interactive, and token-gated web3 NFTs applications

If you feel this book is for you, get your copy today!

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

from ape import accounts, project
import os

def main():
  password = os.environ["MY_PASSWORD"]
  dev = accounts.load("dev")
  dev.set_autosign(True, passphrase=password)
  contract = project.SimpleStorage.deploy(sender=dev)
  num_value = contract.retrieve.call()
  print(f"The num value is {num_value}")

Following is what you need for this book: 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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-17).

Software and Hardware List

Chapter Software required OS required
1-17 Python (3.10+) Windows, macOS, Linux
1-17 Vyper (0.3.10) Windows, macOS, Linux
1-17 Ape Framework (0.7.23) Windows, macOS, Linux

Related products

Get to Know the Author

Arjuna Sky Kok is a skilled quantitative software engineer with a passion for all things related to finance and technology. Arjuna lives in Jakarta, where he studied mathematics and programming at a university. Arjuna's academic achievements include double degrees in Computer Science and Mathematics. Right now, he's focusing his talent in the crypto space. Arjuna believes that DeFi and NFTs will serve as the foundation for future finance, and he also has a keen interest in AI, especially Large Language Models (LLM). Outside his job, Arjuna enjoys watching anime and climbing mountains.

blockchain_python's People

Contributors

rajdeep-packt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.