Open HemangiVekaria opened 2 years ago
I solved this today. In System.createAccount() method for fromPublicKey used account.publicKey(sender's publickey) insted of destination and it worked.
This is now fixed on https://github.com/metaplex-foundation/SolanaKT/pull/107
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?