Skip to content

TextBook

📘 DeFiPy: Python SDK for On-Chain Analytics

Section titled “📘 DeFiPy: Python SDK for On-Chain Analytics”

The first complete technical guide to modeling, analyzing, and simulating decentralized finance (DeFi) systems using Python. As decentralized markets mature, practitioners need quantitative tools to understand price behaviour, liquidity mechanics, and on-chain execution. DeFiPy: Python SDK for On-Chain Analytics is the first book to unify AMM math, simulation, data ingestion, and agent-based modelling into a single, coherent framework.

DeFiPy Book Cover

Hardcover, Paperback, and Kindle editions available.

  • AMM math and invariants for Uni V2 & V3
  • On-chain analytics and real-world event decoding
  • Python engineering workflows for DeFi
  • Risk modeling and liquidity simulations
  • Agent-based design for DeFi automation
  • Production-ready pipelines using Web3Scout

🔗 Buy on Amazon →

  • DeFi engineers
  • Python developers
  • Quant researchers and analysts
  • Blockchain data scientists
  • Financial modelers entering decentralized markets
  • University instructors and students in blockchain or computational finance