/anchorpy

The Python Anchor client.

Primary LanguagePythonMIT LicenseMIT

AnchorPy


Discord Chat

AnchorPy is the Python client for Anchor. It allows you to interact with Anchor programs using Python.

Read the Documentation.

Installation (requires Python >=3.9)

pip install anchorpy[cli]

Or, if you're not using the CLI features of AnchorPy you can just run pip install anchorpy.

Development Setup

If you want to contribute to AnchorPy, follow these steps to get set up:

  1. Install poetry
  2. Install dev dependencies:
poetry install
  1. Install nox-poetry (note: do not use Poetry to install this, see here)
  2. Activate the poetry shell:
poetry shell