Open degenpatz opened 2 years ago
You can transfer SPL tokens with the same flow as signAndSendTransaction
. When you create your transaction, simply add an SPL token transfer instruction.
For example, in createTransferInstruction
, you can replace our placeholder SOL transfer instruction with an SPL token transfer instruction. The Solana Cookbook is a great resource for learning more on SPL token transfers
@bfriel for that we should open account for sender and receiver first ?
I want to transfer Spl-tokens. Does anybody share a sample of transferring spl token via react-native or Expo ?