Hi I am struggling to understand how to make token accounts rent exempt.
I have used the following code to create my token account for an SPL token lifted out of the Solana docs. I see that Solana is debited from my account when I create them (payer in the code). Are these account all rent exempt by default or do I have to put in additional Solana to make them rent exempt?
const tokenAccount = await getOrCreateAssociatedTokenAccount(
connection,
payer,
mint,
payer.publicKey
)
If I do have to put in additional Solana please share how. Also does the same hold true for mint accounts etc...