Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

solana-program-library

> 编程语言
Open source

A collection of Solana programs maintained by Solana Labs

4.2K stars0 likes0 views
WebsiteGitHub

About

A collection of Solana programs maintained by Solana Labs

PLEASE READ: This repo no longer contains the SPL program implementations

This repo still exists in archived form, feel free to fork any reference implementations it still contains.

Migrated Packages

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:

  • Associated-Token-Account
  • Feature Proposal
  • Instruction Padding
  • Libraries
  • Memo
  • Record
  • Single Pool
  • Slashing
  • Stake Pool
  • Token
  • Token-2022
  • Token-Group
  • Token-Metadata
  • Token-2022 Transfer Hook

The governance programs have been moved to https://github.com/Mythic-Project/solana-program-library/tree/master/governance

Solana Program Library

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.

Deployments

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.1

Audits

Only 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 ef44df9

All 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:

  • binary-option
  • binary-oracle-pair
  • feature-proposal
  • instruction-padding
  • managed-token
  • name-service
  • record
  • stateless-asks
  • token-lending
  • token-swap
  • token-upgrade

More information about the repository's security policy at SECURITY.md.

The security-audits repo contains all past and present program audits.

Program Packages

Package Description Version Docs 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

CLI Packages

Package Description Version 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

JavaScript Packages

Package Description Version Docs @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-

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •Associated-Token-Account
  • •Feature Proposal
  • •Instruction Padding
  • •Libraries
  • •Single Pool
  • •Slashing
  • •Stake Pool
  • •Token-2022
  • •Token-Group
  • •Token-Metadata

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言