Closed thekesslereffect closed 5 months ago
Trying to send an SPL token using the getOrCreateAssociatedTokenAccount function.
I can send it to an account that already owns the token, but get TokenAccountNotFoundError when they havent been opened yet.
Not sure if this is a bug, or if we need an example for the correct way to do this with the wallet-adapter. I can't find any working examples.
Found the solution: https://stackoverflow.com/a/73943145
Thanks for linking the Stack Overflow post!
Trying to send an SPL token using the getOrCreateAssociatedTokenAccount function.
I can send it to an account that already owns the token, but get TokenAccountNotFoundError when they havent been opened yet.
Not sure if this is a bug, or if we need an example for the correct way to do this with the wallet-adapter. I can't find any working examples.