A collection of Solana programs maintained by Solana Labs
A collection of Solana programs maintained by Solana Labs
This repo still exists in archived form, feel free to fork any reference implementations it still contains.
The Solana Program Library repository has been broken up into separate repos for each program and set of clients, under the solana-program organization.
The following programs have been moved:
The governance programs have been moved to https://github.com/Mythic-Project/solana-program-library/tree/master/governance
The Solana Program Library (SPL) is a collection of on-chain programs targeting the Sealevel parallel runtime. These programs are tested against Solana's implementation of Sealevel, solana-runtime, and some are deployed to Mainnet Beta. As others implement Sealevel, we will graciously accept patches to ensure the programs here are portable across all implementations.
For more information see the SPL documentation and the Token TypeDocs.
Only a subset of programs within the Solana Program Library repo are deployed to the Solana Mainnet Beta. Currently, this includes:
Program Version token 3.4.0 associated-token-account 1.1.0 token-2022 1.0.0 governance 3.1.0 stake-pool 1.0.0 account-compression 0.1.3 shared-memory 1.0.0 feature-proposal 1.0.0 name-service 0.3.0 memo 3.0.0 single-pool 1.0.1Only a subset of programs within the Solana Program Library repo are audited. Currently, this includes:
Program Last Audit Date Version token 2022-08-04 (Peer review) 4fadd55 associated-token-account 2022-08-04 (Peer review) c00194d token-2022 2023-11-03 e924132 stake-pool 2023-12-31 a17fffe account-compression 2022-12-05 6e81794 shared-memory 2021-02-25 b40e0dd single-pool 2024-01-02 ef44df9All other programs may be updated from time to time. These programs are not audited, so fork and deploy them at your own risk. Here is the full list of unaudited programs:
More information about the repository's security policy at SECURITY.md.
The security-audits repo contains all past and present program audits.
spl-token
ERC20-like token program on Solana
spl-token-2022
Token program compatible with spl-token, with extensions
spl-associated-token-account
Stateless protocol defining a canonical "associated" token account for a wallet
spl-governance
DAO program using tokens for voting
spl-account-compression
Program for managing compressed accounts stored in an off-chain merkle tree
spl-feature-proposal
Program using tokens to vote on enabling Solana network features
spl-noop
Program that does nothing, used for logging instruction data
spl-name-service
Program for managing ownership of data on-chain
spl-shared-memory
Program for sharing data between programs
spl-stake-pool
Program for pooling stake accounts, managed by another entity
spl-instruction-padding
Program to padding to other instructions
spl-concurrent-merkle-tree
Library for on-chain representation of merkle tree
spl-math
Library for on-chain math
spl-token-lending
Over-collateralized lending program for tokens
spl-token-swap
AMM for trading tokens
spl-token-upgrade
Protocol for burning one token type in exchange for another
spl-token-cli
CLI for the token, token-2022, and associated-token-account programs
spl-stake-pool-cli
CLI for the stake-pool program
spl-feature-proposal-cli
CLI for the feature-proposal program
spl-token-lending-cli
CLI for the token-lending program
spl-token-upgrade-cli
CLI for the token-upgrade program
@solana/spl-token
Bindings for the token, token-2022, and associated-token-account programs
@solana/spl-governance
Bindings for the governance program
[](https://www.npmjs.com/package/@solana/spl-
No open issues yet, or sync has not completed.