anchor-client-gen
A tool for generating solana web3 clients from anchor IDLs. (by kklas)
anchorpy
The Python Anchor client. (by kevinheavey)
anchor-client-gen | anchorpy | |
---|---|---|
1 | 7 | |
162 | 256 | |
4.9% | 4.3% | |
3.9 | 7.9 | |
12 days ago | 7 months ago | |
TypeScript | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
anchor-client-gen
Posts with mentions or reviews of anchor-client-gen.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-08.
-
I made a Python client generator for Solana Anchor projects (but I'm here to talk about codegen)
In building the client generator, I mimicked the Typescript tool anchor-client-gen but had to change a lot of things that didn't work in Python or weren't Pythonic if translated directly. The trickiest part was keeping track of types that I had generated in one file that needed to be imported in another generated file.
anchorpy
Posts with mentions or reviews of anchorpy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-01.
-
Solana SPL transfer Python
You looked in here? https://github.com/kevinheavey/anchorpy
-
Announcing Solders: a Python wrapper for the Solana Rust SDK
Hi, creator of AnchorPy and core maintainer of solana-py here.
-
I made a Python client generator for Solana Anchor projects (but I'm here to talk about codegen)
Generating Python code seems to be really uncommon. I was surprised at this - it's not an obviously insane thing to do, right? However I found almost no existing tooling to help me, and I did search for quite a while. Eventually I found a small, half-finished library called genpy and decided I would extend that as needed.
-
Announcing anchorpy client-gen 🐍 Generate Python clients from Anchor IDLs
Here's the repo and here are the client-gen docs. Do let me know if you try it out and have any suggestions!
-
apischema v0.17 - I've developed the fastest typed JSON (de)serialization library, and you can also build your GraphQL schema with it
I used this for parsing a JSON IDL and it worked really well https://github.com/kevinheavey/anchorpy/blob/main/src/anchorpy/idl.py
- I created AnchorPy: a library for interacting with Solana programs
- AnchorPy: Interact with Solana programs using Python
What are some alternatives?
When comparing anchor-client-gen and anchorpy you can also consider the following projects:
genpy - An AST for Python code generation, in Python
solana-py - Solana Python SDK
nft-generator-py - This tool allows users to generate sets of unique images and metadata using weighted layer collections.
defi-score - DeFi Score: An open framework for evaluating DeFi protocols
solana.py - Solana Python SDK [Moved to: https://github.com/michaelhly/solana-py]
ape - The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals