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
{{ message }}
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
The handy createAssociatedTokenAccountIdempotentInstruction allows you create instructions that idempotently create associated token accounts. One thing that annoys me about it is that it requires me to pass in the associated token account, like so:
I don't see the purpose of this given that associated token accounts can always be derived by the getAssociatedTokenAddressSync. Maybe this function was written before getAssociatedTokenAddressSync existed? In any case, it would be nice if this parameter was made optional or removed entirely.