You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One common issue I’ve noticed when building on Solana is the frequent version compatibility problems. For instance, if I have an AMM and want to integrate some of Raydium’s code into my program, I often need to downgrade to the Solana and Anchor versions that Raydium uses. This makes Cross-Program Invocation (CPI) very challenging.
I discovered that the anchor-gen package by Saber HQ can help solve this issue. It allows users to generate a client for CPI that matches the specific Solana and Anchor versions they're using. I believe this feature would be a great addition to the official Anchor repository, and Anchor should manage it going forward.
In its current state, the anchor-gen project doesn’t fully support the latest Anchor versions, but I think integrating this functionality into Anchor would be a great move for the ecosystem.
The text was updated successfully, but these errors were encountered:
SushantChandla
changed the title
Add anchor-gen and support it.
[Suggestion]: Add anchor-gen and support it.
Oct 17, 2024
One common issue I’ve noticed when building on Solana is the frequent version compatibility problems. For instance, if I have an AMM and want to integrate some of Raydium’s code into my program, I often need to downgrade to the Solana and Anchor versions that Raydium uses. This makes Cross-Program Invocation (CPI) very challenging.
I discovered that the anchor-gen package by Saber HQ can help solve this issue. It allows users to generate a client for CPI that matches the specific Solana and Anchor versions they're using. I believe this feature would be a great addition to the official Anchor repository, and Anchor should manage it going forward.
In its current state, the anchor-gen project doesn’t fully support the latest Anchor versions, but I think integrating this functionality into Anchor would be a great move for the ecosystem.
The text was updated successfully, but these errors were encountered: