Usage
Ask the PPoS Dex CLI for help:
$ uv run pposdex --help
usage: pposdex [-h] <command> ...
Algorand PPoS Decentralization Index.
positional arguments:
<command>
publish Publish PPoS Dex data. Requires ALGO_MNEMONIC environment variable.
timeseries Plot PPoS Dex timeseries.
snapshot Plot latest PPoS Dex data point.
export Export PPoS Dex data to `.csv`.
health Check Algod and Indexer status.
options:
-h, --help show this help message and exit
| Command | Use it to |
|---|---|
publish | Publish a PPoS Dex data point on-chain |
timeseries | Plot the published data points over time |
snapshot | Plot the latest published data point |
export | Export the published data points to .csv |
health | Check the Algorand node and Indexer are available |
Each command has its own --help too, shown in its page.
All commands use Algorand MainNet by default: select another network with
--test or --localhost (see Node Setup). Use
--verbose to show more details (e.g. Indexer request retries and published
transactions), or --quiet to show errors only.