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.
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
Additional resources
Section titled “Additional resources”- GitHub: github.com/defipy-devs/defipy
- Book Tutorials: github.com/defipy-devs/defipy-book
- Project Website: defipy.org
Who this book is for
Section titled “Who this book is for”- 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
