Skip to content

Courses

On-Chain Analytics Foundations

On-Chain Analytics Foundations is a practical course that teaches how to transform raw blockchain data into structured analytics pipelines using Python.

The course introduces the core workflow used throughout the DeFiPy ecosystem:

  • connecting to Ethereum nodes via RPC
  • retrieving on-chain data
  • decoding event logs
  • transforming AMM swap events into structured datasets
  • building analytics pipelines in Python

The course is designed for developers, researchers, and quantitative analysts who want to work with on-chain financial data.

🔗 Course page on Thinkific →


The course covers the foundations of on-chain analytics:

  • Web3 and JSON-RPC architecture
  • Ethereum transaction structure
  • Event logs and ABI decoding
  • AMM swap events
  • Data normalization for analytics
  • Building a simple analytics dashboard from blockchain activity

The workflows introduced in this course form the foundation for working with the DeFiPy Python SDK for DeFi analytics and simulation.

Later courses expand on these concepts with:

  • AMM mathematical modeling
  • liquidity simulation
  • agent-based trading systems
  • DeFi protocol analytics

These advanced topics are implemented directly using DeFiPy modules such as:

  • UniswapPy
  • BalancerPy
  • StableswapPy