The Solana Program Library (SPL) is a collection of on-chain programs (Solana's equivalent of smart contracts) that provide standard, audited functionality. SPL programs handle everything from token transfers to account management, forming the foundational building blocks of the Solana ecosystem.
Key SPL Programs
SPL Token
The most widely used SPL program. It handles all token operations on Solana:
Create and manage fungible tokens (similar to ERC-20)
Create and manage non-fungible tokens (similar to ERC-721)
Mint, burn, transfer, and approve token operations
All tokens on Solana use SPL Token under the hood
Associated Token Account Program
Automatically creates token accounts for users
Derives deterministic addresses for token holdings
Simplifies the user experience (no manual account creation)
// No need to deploy a new contract
// Just call the SPL Token program to:
// 1. Create a mint account
// 2. Set metadata
// 3. Mint tokens to an account
Copy link
Transferring Tokens
Developers interact with SPL programs through instructions:
Specify the program ID (SPL Token's address)
Pass the required accounts
Include the instruction data
Token-2022 (Token Extensions)
The next generation of SPL Token adds powerful extensions:
Confidential transfers: Hide amounts using zero-knowledge proofs
Transfer fees: Built-in fee on every transfer
CPI Guard: Prevent unauthorized program interactions
Permanent delegate: Recover tokens if needed
Interest-bearing tokens: Accrue interest natively
Why It Matters for Creators
SPL is to Solana what ERC standards are to Ethereum — the foundation of all token activity. Creators who understand SPL can better explain why Solana's "single program for all tokens" approach is fundamentally different from Ethereum's "new contract per token" model, and how this affects transaction costs, speed, and user experience.