This article was generated by AI. Please verify important information independently.

What Is SPL? Solana Program Library

Crypto Wiki|Oct 9, 2026|★★★★★★4.5 (500 ratings)
AI Summary

Learn what the Solana Program Library (SPL) is, how SPL tokens work, and why it's essential to the Solana ecosystem.

What Is the Solana Program Library (SPL)? It is a collection of reusable on-chain programs and standards for creating tokens, managing token accounts, and supporting common application functions on Solana. This guide explains what SPL means, how the Token Program works, and where SPL tokens fit within Solana's broader account architecture.

The Solana Program Library (SPL) is an open-source collection of on-chain programs maintained by Solana Labs and deployed on the Solana blockchain. Its most prominent program, the Token Program, defines how digital tokens are created and managed across the entire Solana ecosystem. The SPL is the technical foundation that makes Solana's tokens, DeFi protocols, NFT infrastructure, and governance systems possible.

The SPL is more than a token standard. It covers everything from token creation and NFT minting to governance tools and liquid staking. Every major protocol you interact with on Solana, from decentralized exchanges to NFT marketplaces, depends on programs that come from the SPL.

Solana Labs, the core engineering organization behind the Solana blockchain, developed and maintains the SPL. The library is fully open source under the Apache 2.0 license. You can inspect every line of code at github.com/solana-labs/solana-program-library.

What Is the Solana Program Library (SPL)?

On most blockchains, including Ethereum, executable on-chain logic is called a smart contract. On Solana, the same concept is called an on-chain program, or simply a program. Solana programs are stateless, meaning they do not store data internally; instead, state is held in separate accounts on the blockchain. The distinction between "smart contract" and "program" is a naming difference, not a functional one. Both execute logic when triggered by a transaction.

Understanding what a program is unlocks what a program library is. Think of how programming languages ship with standard libraries: Python includes a standard library of pre-built functions for common tasks, so developers do not need to write sorting algorithms or date-parsing logic from scratch. The SPL works the same way. Rather than requiring every developer to write their own token standard or governance logic, the SPL provides a collection of pre-built, pre-audited, battle-tested on-chain programs that developers can build on without reinventing the wheel.

Solana is a high-performance Layer-1 blockchain built for speed. Its unique approach to ordering transactions, called Proof of History (PoH), allows the network to process thousands of transactions per second. Solana was co-founded by Anatoly Yakovenko, who invented Proof of History. This high-throughput environment is what makes SPL programs fast and cheap to interact with. For a fuller picture of how Solana itself works, see our Solana (SOL) overview.

SOL vs. SPL Tokens: What Is the Difference?

SOL vs. SPL Tokens: What Is the Difference?

SOL is not an SPL token.

  • SOL is the native coin built into the Solana blockchain protocol itself, used to pay transaction fees and for staking.
  • SPL tokens are digital assets created on top of Solana using the SPL Token Program. They require SOL to exist, but they are a separate category of asset.

SOL functions the way ETH does on Ethereum: it is the network's native currency, not a token built on top of the network. SPL tokens function the way Ethereum's ERC-20 tokens do: they are assets created by programs running on the blockchain. SOL is to Solana what ETH is to Ethereum; SPL tokens are to Solana what ERC-20 tokens are to Ethereum.

The two are related but distinct. Every SPL token transaction requires a small amount of SOL to pay for transaction fees. When you receive an SPL token for the first time, your wallet must also create a new token account, which costs a small SOL deposit called account rent. This is a common source of confusion for new Solana users. The account rent mechanic is explained fully in the program directory section below.

What Is the SPL Token Program?

The SPL Token Program is the on-chain program responsible for issuing and managing fungible and non-fungible tokens on the Solana blockchain. It is the most important individual program in the entire SPL collection. SPL programs are written primarily in Rust, a systems programming language known for its performance and memory safety. The Token Program is what makes USDC, BONK, RAY, and thousands of other assets possible on Solana.

What Is an SPL Token?

An SPL token is a digital asset created and managed on the Solana blockchain using the SPL Token Program. SPL tokens are Solana's equivalent of Ethereum's ERC-20 tokens: they power stablecoins, governance tokens, meme coins, and NFTs across the Solana ecosystem. The SPL Token Program serves as Solana's token standard, the set of rules that defines how tokens are created and managed on the blockchain.

Three well-known SPL tokens illustrate the range of assets the Token Program supports: USDC, the US dollar-pegged stablecoin issued by Circle and deployed on Solana as an SPL token; BONK, a Solana-native meme coin; and RAY, the governance token of the Raydium decentralized exchange.

How the Token Program Works: Mints, Accounts, and Authority

The Token Program operates through three core components: the token mint, the token account, and mint authority. Each plays a distinct role in how SPL tokens are created and held.

Token mint: The token mint is the on-chain record that defines a specific SPL token. Think of it as the token's birth certificate and central bank combined. It stores the token's total supply, the number of decimal places it uses, and who has the authority to create more of it. Every SPL token has exactly one token mint address.

Token account: A token account holds a user's balance of a specific SPL token. Unlike Ethereum, where ERC-20 balances are stored inside the token's own smart contract, each Solana user must have a separate token account for each SPL token they hold. Picture your Solana wallet as a physical wallet: each token account is a separate pocket inside it, one pocket per token type.

Mint authority: Imagine a government controlling a currency printing press. On Solana, that role belongs to the mint authority: the cryptographic key or account that holds permission to create new tokens for a given SPL token. Only the entity holding mint authority can increase the token supply. For projects with fixed token supplies, mint authority is often renounced or transferred to a program so no single party can inflate the supply.

These three components work in sequence. When a new SPL token is created, the token mint is established and defines its parameters. As users acquire the token, their balances sit in individual token accounts. Mint authority governs whether any new supply can be added over time. Receiving an SPL token for the first time creates a new token account, which requires a small SOL deposit called account rent, managed by the Associated Token Account Program covered in the next section.

What Is Token-2022? (Token Extensions Program)

What Is Token-2022? (Token Extensions Program)

Token-2022, also known as the Token Extensions Program, is the evolved successor to the original SPL Token Program. It adds programmable features that the original Token Program does not support:

  • Transfer fees: Token creators can configure a fee charged on every transfer of their token.
  • Interest-bearing tokens: Token balances can accrue interest on-chain over time.
  • Confidential transfers: Token amounts can be hidden from public view on the blockchain.
  • Non-transferable tokens: Tokens can be made permanently bound to a specific wallet address.

Both the original Token Program and Token-2022 currently coexist on Solana mainnet. Token-2022 is an extension of SPL's capabilities, not a replacement for the original Token Program. For technical details, see spl.solana.com/token-2022.

What Programs Are in the Solana Program Library?

The Solana Program Library contains several distinct on-chain programs, each serving a different purpose within the Solana ecosystem. The Token Program is the most prominent, but it is far from the only one. All SPL programs are written in Rust, and the full codebase is open source under the Apache 2.0 license, available at github.com/solana-labs/solana-program-library.

Program NamePurposeKey Use Case
Token ProgramCreates and manages fungible and non-fungible tokens on SolanaIssuing SPL tokens like USDC, BONK, and RAY
Token-2022 (Token Extensions Program)Extends the Token Program with programmable featuresTransfer fees, interest-bearing tokens, confidential transfers
Associated Token Account (ATA) ProgramDerives and creates token accounts deterministicallyAutomatically creates token accounts when users receive new SPL tokens
Governance ProgramProvides DAO infrastructure for on-chain voting and treasury managementEnabling token holder governance for DeFi protocols
Stake Pool ProgramEnables non-custodial liquid staking across multiple validatorsProtocols like Marinade Finance and Jito

The Associated Token Account (ATA) Program solves a practical problem that every Solana user encounters. On Ethereum, your ERC-20 token balances are stored inside each token's own smart contract. On Solana, you need a separate token account for each SPL token you hold. The Associated Token Account (ATA) Program provides a standardized, deterministic way to derive and create these accounts. When your wallet creates a new token account for the first time for a given token, it charges a small SOL deposit called account rent, which covers the on-chain storage cost of keeping that account active. Wallets like Phantom handle this automatically. Your wallet is a physical wallet, and each token account is a separate pocket inside it. The ATA Program creates and manages those pockets on your behalf.

The Governance Program provides the infrastructure for decentralized autonomous organizations (DAOs) on Solana. It enables token holders to create proposals, vote on protocol decisions, and manage on-chain treasuries, giving DeFi protocols and NFT communities a standard tool for community governance.

The Stake Pool Program enables liquid staking on Solana, a different mechanism from native SOL staking. Native staking delegates your SOL to a single validator. The Stake Pool Program distributes stake across many validators simultaneously and returns a liquid SPL token in exchange. Protocols like Marinade Finance (which returns mSOL) and Jito (which returns JitoSOL) are built on this program. That liquid token can then be used across DeFi protocols while your underlying SOL continues earning staking rewards.

For a full reference of all SPL programs, see the official SPL documentation at spl.solana.com.

SPL Tokens vs. ERC-20: How Do They Compare?

SPL tokens and Ethereum's ERC-20 tokens are not the same standard, though they serve the same core purpose: defining how fungible tokens work on their respective blockchains. SPL is Solana's token standard; ERC-20 is Ethereum's. They are not interoperable by default, meaning an SPL token cannot be used on Ethereum without bridging infrastructure, and vice versa.

SPL tokens are to Solana what ERC-20 tokens are to Ethereum. The architectural plumbing, however, is meaningfully different.

AttributeSPL Token Program (Solana)ERC-20 (Ethereum)
Token Standard NameSPL Token ProgramERC-20
Parent BlockchainSolanaEthereum
Token Creation MechanismAll tokens use one shared on-chain programEach token deploys its own smart contract
User Balance StorageStored in separate token accounts per user per tokenStored within the token's own smart contract
Fungible + NFT SupportYes: both fungible tokens and NFTs (supply of 1, 0 decimals)Fungible via ERC-20; NFTs require the separate ERC-721 standard
Typical Transaction SpeedThousands of transactions per secondApproximately 15-30 transactions per second (base layer)
Typical Transaction CostFractions of a centVariable; can reach several dollars during network congestion

The key architectural distinction: every ERC-20 token on Ethereum has its own smart contract, a bespoke factory with its own embedded rules and logic. All SPL tokens on Solana share a single Token Program, one standardized factory that all tokens use. This shared architecture is why creating and transacting SPL tokens is faster and costs less.

While ERC-20 is a single token standard, the Solana Program Library is a broader collection of programs. The Token Program is its most prominent member, but SPL also includes the Governance Program, Stake Pool Program, and others that have no direct ERC-20 equivalent.

What Can You Do With SPL Tokens? Use Cases and Real-World Examples

SPL tokens are the assets that power the Solana ecosystem. They flow through DeFi protocols like Raydium and Orca, represent NFTs minted via Metaplex, and form the basis of stablecoins like USDC. Every SPL token transaction requires a small amount of SOL for fees, which means SPL ecosystem activity is directly tied to Solana network usage.

SPL Tokens in DeFi: Trading and Yield

SPL tokens are the assets that flow through Solana's decentralized finance (DeFi) ecosystem, the protocols where users trade and earn yield without a centralized intermediary.

On Solana's decentralized exchanges (DEXs), SPL tokens are the assets being swapped. Raydium is an automated market maker DEX where you can swap SPL tokens, provide liquidity to pools, and earn yield on your holdings. Orca is a user-friendly DEX on Solana focused on accessible token swapping. Beyond trading, lending protocols like MarginFi accept SPL tokens as collateral, allowing users to borrow against their holdings. Liquidity pools across these platforms are funded entirely by SPL tokens.

Explore the full depth of Solana's DeFi landscape in our guide to DeFi on Solana.

SPL Tokens and Solana NFTs

Virtually all NFTs on Solana are SPL tokens. Each one is created with a supply of exactly one and zero decimal places, making it unique and non-replicable. This technical definition is what gives Solana NFTs their non-fungible property within the SPL framework.

Metaplex is a widely used NFT protocol on Solana. It builds on the SPL Token Program to handle NFT-specific metadata, ownership records, and royalty enforcement. Many NFTs minted on Solana use the SPL Token standard and Metaplex tooling to define what that token represents.

For a deeper look at the Solana NFT ecosystem, see our guide to NFTs on Solana.

Real-World SPL Token Examples

Any token created on Solana using the SPL Token Program is an SPL token. This includes thousands of assets across all categories. Yes, USDC on Solana is an SPL token. Circle, the company behind USDC, deployed the stablecoin on Solana using the SPL Token Program, making it a widely used SPL asset in the ecosystem. Well-known SPL tokens are listed and traded on major cryptocurrency exchanges.

  • USDC (Stablecoin): The US dollar-pegged stablecoin issued by Circle, deployed on Solana as an SPL token and one of the most liquid assets in the Solana ecosystem.
  • BONK (Meme Coin): A Solana-native meme coin created as an SPL token, launched as a community airdrop to Solana users.
  • RAY (DEX Governance Token): The governance token of Raydium, created as an SPL token and used by holders to vote on protocol decisions.
  • mSOL (Liquid Staking Token): Marinade Finance's liquid staking token; users receive mSOL as an SPL token when they stake SOL through the Marinade protocol.

What Wallets Support SPL Tokens?

Any Solana-compatible wallet supports SPL tokens. The wallet handles token account creation automatically in the background, so you never need to interact with the Token Program directly as a user.

Compatible wallets that support SPL tokens include:

  • Phantom: A widely used Solana wallet, which automatically displays your SPL token balances and manages all associated token accounts.
  • Solflare: A Solana-focused wallet with built-in staking and DeFi integrations.
  • Backpack: A multi-chain wallet with native Solana and SPL token support.
  • Ledger (with Solana app): A hardware wallet option for users who want offline key storage for their SPL token holdings.

Wallets like Phantom handle the token account creation and account rent mechanics automatically. You deposit SPL tokens; the wallet manages the pockets.

Token accounts depend on the Solana account model, while transaction execution also reflects the architecture covered in why Solana is fast and cheap. Readers following the native asset can review the SOL price page or the SOL/USDT spot market. These market pages do not change how SPL tokens work on-chain.


FAQ: What Is the Solana Program Library (SPL)?

What is the Solana Program Library?

The Solana Program Library (SPL) is an open-source collection of on-chain programs maintained by Solana Labs and deployed on the Solana blockchain. Written primarily in Rust, the SPL includes the Token Program, Token-2022, Associated Token Account Program, Governance Program, and Stake Pool Program. The Token Program is its most widely used component.

What is an SPL token?

An SPL token is a digital asset created using the SPL Token Program on Solana. SPL tokens are Solana's equivalent of Ethereum's ERC-20 tokens. Any fungible token, stablecoin, governance token, or meme coin built on Solana is an SPL token. Well-known examples include USDC, the dollar-pegged stablecoin, and BONK, a Solana-native meme coin.

Is SOL an SPL token?

No. SOL is Solana's native coin. It is built into the blockchain protocol itself, not created using the SPL Token Program. SPL tokens are separate digital assets built on top of Solana using the Token Program. SOL is used to pay transaction fees for SPL token operations but is not itself an SPL token.

What programs are in the Solana Program Library?

The SPL includes several programs, each serving a distinct purpose within the Solana ecosystem. The main programs are: Token Program, Token-2022 (Token Extensions Program), Associated Token Account Program, Governance Program, Stake Pool Program, and Memo Program. Each targets a different layer of Solana's on-chain infrastructure.

Is the Solana Program Library open source?

Yes. The Solana Program Library is fully open source, licensed under the Apache 2.0 license. The complete codebase is publicly available at github.com/solana-labs/solana-program-library. Developers can inspect and fork any program in the library.

How does the SPL Token Program work?

The SPL Token Program operates through three components. The token mint defines the token: its supply, decimal places, and who can create more. Token accounts hold individual users' balances, one account per user per token type. Mint authority controls who can increase the token supply. When you use a Solana wallet like Phantom, these components operate invisibly in the background.

Is USDC an SPL token?

Yes. USDC on Solana is deployed as an SPL token using the SPL Token Program. Circle, the company that issues USDC, created the Solana version of USDC through the Token Program, making it one of the most widely held and traded SPL tokens in the entire Solana ecosystem.

What wallets support SPL tokens?

Any Solana-compatible wallet supports SPL tokens, as the wallet manages token accounts automatically without any action required from the user. Wallets that support SPL tokens include Phantom, Solflare, Backpack, and Ledger with the Solana app installed. Phantom is a widely used option for everyday SPL token management.

Why the Solana Program Library Matters

The Solana Program Library is the infrastructure layer that makes the Solana ecosystem functional. Without it, there would be no standard for creating tokens, no shared governance tools, and no liquid staking infrastructure. Every SPL token you hold in a wallet, every NFT minted on Solana, and every DeFi protocol running on the blockchain depends on programs that the SPL provides.

Because every SPL token transaction consumes a small amount of SOL in fees, the breadth of SPL activity directly reflects how much the Solana blockchain is being used. A thriving SPL ecosystem generates consistent on-chain activity across DeFi protocols, NFT platforms, and governance systems.

If you are a developer looking to build with these programs, our guide to how to create an SPL token walks through the steps using the Solana CLI and available frameworks. For deeper technical reference on any SPL program, the official SPL documentation at spl.solana.com is the authoritative source. Whether you hold SOL, trade SPL tokens on a DEX, or collect Solana NFTs, understanding the SPL gives you a clearer picture of how the Solana blockchain operates at its foundation.