Installation
Install from PyPI
pip install zetamarkets_py
Install from Source
You can add optional dependencies for running trading examples or docs using the --with
flag.
poetry install [--with examples, docs]
Usage
Setting up a Solana wallet
Please follow the Solana wallet creation docs to set up a wallet if you don't already have one locally.
By default the SDK will look for the wallet at ~/.config/solana/id.json
Running the examples
Run the various code examples provided in the examples directory.
Development
Formatting and Linting
We use black with isort for formatting and ruff for linting
poetry format
poetry lint