Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Install

The PPoS Dex CLI publishes PPoS Dex data points on-chain, plots their trend (timeseries) and latest state (snapshot), and exports them to .csv for your own analysis.

PPoS Dex uses uv to manage Python and its dependencies. Clone the PPoS Dex repository, cd into it, and run:

uv sync

You are all set!

Node Setup

PPoS Dex reads the blockchain from an Algorand node and an Indexer. Every command accepts a network option:

OptionNetworkNode and Indexer
(none)MainNetNodely APIs
-t, --testTestNetNodely APIs
-l, --localhostLocalNetAlgoKit LocalNet on localhost

To use AlgoKit LocalNet, start it before running PPoS Dex, and check it is up with the health command:

uvx algokit localnet start
uv run pposdex health --localhost