Link to this headingSolana
Link to this headingAccounts
Account Types:
- System Account[0 bytes]: For holding SOL only
- SPL Token Account[165 bytes]: For holding tokens
- SPL Mint Account[82 bytes]: For Token Contracts
- Program Account[Variable]: For Smart Contracts. Needs SOL for all of the bytes of the contract
- Stake Account[~200 bytes]:
- Vote Account[~373 bytes]:
Link to this headingRent & Rent-Exemption
Solana has storage costs and requires SOL to be a valid address.
If the account doesn’t have the minimum balance it can be reclaimed
Getting the MinRent:
#System Account has 0 bytes
}
# SPL Mint Account
>>> curl
}
#Token Account has 165 bytes
>>> curl
}
When creating an account the payer must fund it.
When the owner closes an account they can get a refund