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
I am trying to send spl token to other user but that user have no token account address. So i want to create it by using Action.createTokenAccount method.
I am doing in this way but it's not working. Anyone can help me with this?
The text was updated successfully, but these errors were encountered:
I solved this today. In System.createAccount() method for fromPublicKey used account.publicKey(sender's publickey) insted of destination and it worked.
I am trying to send spl token to other user but that user have no token account address. So i want to create it by using Action.createTokenAccount method.
I am doing in this way but it's not working. Anyone can help me with this?
The text was updated successfully, but these errors were encountered: