Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinheavey/anchorpy
The Python Anchor client.
https://github.com/kevinheavey/anchorpy
anchor blockchain defi nft python solana web3
Last synced: 7 days ago
JSON representation
The Python Anchor client.
- Host: GitHub
- URL: https://github.com/kevinheavey/anchorpy
- Owner: kevinheavey
- License: mit
- Created: 2021-08-07T11:44:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T12:33:48.000Z (4 months ago)
- Last Synced: 2024-11-29T10:10:37.975Z (14 days ago)
- Topics: anchor, blockchain, defi, nft, python, solana, web3
- Language: Python
- Homepage: https://kevinheavey.github.io/anchorpy/
- Size: 3.72 MB
- Stars: 230
- Watchers: 7
- Forks: 58
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome - kevinheavey/anchorpy - The Python Anchor client. (Python)
README
# AnchorPy
---
[![Discord Chat](https://img.shields.io/discord/889577356681945098?color=blueviolet)](https://discord.gg/sxy4zxBckh)
AnchorPy is the gateway to interacting with [Anchor](https://github.com/project-serum/anchor) programs in Python.
It provides:- A static client generator
- A dynamic client similar to `anchor-ts`
- A Pytest plugin
- A CLI with various utilities for Anchor Python development.Read the [Documentation](https://kevinheavey.github.io/anchorpy/).
## Installation (requires Python >=3.9)
```sh
pip install anchorpy[cli, pytest]```
Or, if you're not using the CLI or Pytest plugin 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](https://python-poetry.org/docs/#installation)
2. Install dev dependencies:
```sh
poetry install```
3. Activate the poetry shell:
```sh
poetry shell```