Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rust client account resolvers #2814

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

levicook
Copy link

for now, this is just me looking at what it would take to catch the rust client up with the typescript client's ability to derive accounts from an idl. if it goes well, i'll clean the description up & make it not a draft.

Copy link

vercel bot commented Feb 10, 2024

@levicook is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto added enhancement New feature or request client labels Feb 10, 2024
@acheroncrypto
Copy link
Collaborator

Supporting account resolution in Rust clients would be great, thanks for starting this!

However there is one problem — I'm working on a massive PR that is related to the IDL and account resolution which I'm planning to finish later this month. Would you be able to wait until that lands so that we can avoid running into a bunch of conflicts?

@levicook
Copy link
Author

Thanks for the heads up! I started this with an intention to get a feel for the concrete problem. No urgency on my end & it would be helpful to track your work -- do you have an open PR I can follow?

We can close the PR. I'll leave my branch open to keep experimenting. Totally fine for it to go stale & invalid. We'll start fresh after your work lands.

@levicook
Copy link
Author

One realization already is that we might be able to just generate better client code up front & skip network calls to retrieve idls that may or may not be published.

@acheroncrypto
Copy link
Collaborator

No urgency on my end & it would be helpful to track your work -- do you have an open PR I can follow?

Not yet but I can let you know when I do.

@acheroncrypto acheroncrypto mentioned this pull request Feb 25, 2024
@acheroncrypto
Copy link
Collaborator

it would be helpful to track your work -- do you have an open PR I can follow?

Here is the PR: #2824

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants