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

Add accounts resolution for associated token accounts #2925

Closed
metaproph3t opened this issue Apr 23, 2024 · 1 comment · Fixed by #2927
Closed

Add accounts resolution for associated token accounts #2925

metaproph3t opened this issue Apr 23, 2024 · 1 comment · Fixed by #2927
Assignees
Labels
enhancement New feature or request idl related to the IDL, either program or client side lang ts

Comments

@metaproph3t
Copy link
Contributor

Associated token accounts have statically derivable addresses, so it would be cool if the accounts resolver could do this and I didn't need to pass them into .accounts({ ... }). I'm guessing this would require adding the same pda field to the associated token accounts in the IDL.

@acheroncrypto acheroncrypto added enhancement New feature or request lang ts idl related to the IDL, either program or client side labels Apr 23, 2024
@acheroncrypto
Copy link
Collaborator

Yeah, this would be great to have and is already on my todo list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request idl related to the IDL, either program or client side lang ts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants