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:
| Option | Network | Node and Indexer |
|---|---|---|
| (none) | MainNet | Nodely APIs |
-t, --test | TestNet | Nodely APIs |
-l, --localhost | LocalNet | AlgoKit 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