Token
EVM
Solana
In Solana, the equivalent of an ERC-20 token is SPL token. For a wallet to receive SPL tokens, a token account for the SPL token has to be created.
Here we are using the associated_token_program
to initialize the account. mint
is the token's address and authority
is the address that controls the token account.
Last updated