The best Solana on-chain programs, in one place.
PRs welcome. Please keep entries open-source first,add docs, and (optionally) the mainnet program ID.
| Protocol | Type | Repository | Documentation | Notes |
|---|---|---|---|---|
| Solend | Lending | https://github.com/solendprotocol/solend-program | https://docs.solend.fi | Largest lending market on Solana |
| marginfi v2 | Lending / Credit | https://github.com/mrgnlabs/marginfi-v2 | https://docs.marginfi.com | Cross-margin style lending |
| Jet Protocol | Lending | https://github.com/jet-lab | https://docs.jetprotocol.io | Money markets & credit primitives |
| Larix | Lending | https://github.com/ProjectLarix/larix-lending | Docs | Lending with dynamic config |
| Protocol | Type | Repository | Documentation | Notes |
|---|---|---|---|---|
| OpenBook | CLOB DEX (Serum community fork) | https://github.com/openbook-dex/openbook | Docs | Community-run orderbook after Serum sunset |
| Phoenix | CLOB DEX | https://github.com/Ellipsis-Labs/phoenix-core | Docs | Fully on-chain FIFO CLOB |
| Orca Whirlpools | CL-AMM | https://github.com/orca-so/whirlpools | https://docs.orca.so | Concentrated liquidity AMM |
| Raydium | AMM + Orderbook Routing | https://github.com/raydium-io/raydium-contract-instructions | Docs | AMM + CLOB routing to OpenBook/Serum |
| Saber (stable-swap) | Stable AMM | https://github.com/saber-hq/stable-swap | https://docs.saber.so | Curve-like stable AMM |
| Lifinity | AMM | https://github.com/Lifinity/amm | Docs | Oracle-based AMM design |
| Quarry | Yield / Liquidity Mining | https://github.com/QuarryProtocol | https://docs.quarry.so | Reward/farm framework used widely across Solana |
| Protocol | Type | Repository | Documentation | Notes |
|---|---|---|---|---|
| Drift v2 | Perpetuals / Margining | https://github.com/drift-labs/protocol-v2 | https://docs.drift.trade | On-chain perps with risk engine |
| Mango v4 | Spot / Perps / Lending | https://github.com/blockworks-foundation/mango-v4 | https://docs.mango.markets | DAO-governed margin protocol |
| Zeta Markets | Options / Perps | https://github.com/zetamarkets | https://docs.zeta.markets | Options first, now perps |
| 01 Protocol | Perps / Options | https://github.com/01protocol | Docs | On-chain risk engine & perps |
| Protocol | Type | Repository | Documentation | Notes |
|---|---|---|---|---|
| UXD Protocol | Delta-neutral stablecoin | https://github.com/UXDProtocol/uxd-program | https://docs.uxd.fi | Uses delta-neutral hedging off-chain |
| Hubble / USDH | Collateralized stablecoin | https://github.com/hubbleprotocol/hubble-core | https://docs.hubbleprotocol.io | Vault-based stablecoin |
| Protocol | Type | Repository | Documentation | Notes |
|---|---|---|---|---|
| Marinade | Liquid Staking (mSOL) | https://github.com/marinade-finance/marinade-program | https://docs.marinade.finance | The largest LST on Solana |
| Jito | MEV + Liquid Staking (JitoSOL) | https://github.com/jito-foundation | https://docs.jito.network | MEV client + LST |
| BlazeStake | Liquid Staking (bSOL) | https://github.com/blazestake | https://docs.blazestake.com | Community LST |
| Protocol | Type | Repository | Documentation | Notes |
|---|---|---|---|---|
| Pyth | Oracle | https://github.com/pyth-network | https://docs.pyth.network | High-frequency, publisher-driven |
| Switchboard v2/v3 | Oracle | https://github.com/switchboard-xyz | https://docs.switchboard.xyz | Decentralized oracle network on Solana |
| Protocol | Type | Repository | Documentation | Notes |
|---|---|---|---|---|
| Metaplex Token Metadata | NFT standard | https://github.com/metaplex-foundation/metaplex-program-library/tree/master/token-metadata | https://docs.metaplex.com | The NFT standard on Solana |
| Candy Machine v3 | NFT minting | https://github.com/metaplex-foundation/metaplex-program-library/tree/master/candy-machine-core | Docs | Primary mint infra |
| Bubblegum | Compressed NFTs | https://github.com/metaplex-foundation/mpl-bubblegum | Docs | State compression for NFTs |
| SPL Account Compression | State compression | https://github.com/solana-labs/solana-program-library/tree/master/account-compression | Docs | Generic compressed state |
| Protocol | Type | Repository | Documentation | Notes |
|---|---|---|---|---|
| SPL Governance (Realms) | DAO Governance | https://github.com/solana-labs/solana-program-library/tree/master/governance | https://docs.realms.today | The canonical governance program |
| Tribeca | Governance / Timelock | https://github.com/TribecaHQ/tribeca | Docs | Governor, Timelock, Voting adapters |
| Protocol | Type | Repository | Documentation | Notes |
|---|---|---|---|---|
| Wormhole | Cross-chain Messaging | https://github.com/wormhole-foundation/wormhole | https://docs.wormhole.com | Generic cross-chain messaging |
| Lightning-like Payments (ZK / Others) | — | PRs welcome | — | Add candidates |
| Protocol | Type | Repository | Documentation | Notes |
|---|---|---|---|---|
| Streamflow | Streaming payments & vesting | https://github.com/streamflow-finance/streamflow-contracts | https://docs.streamflow.finance | Vesting & streaming primitives |
| Zebec | Streaming payments | https://github.com/Zebec-protocol | https://docs.zebec.io | Payroll & payments infra |
| Protocol / Lib | Type | Repository | Documentation | Notes |
|---|---|---|---|---|
| SPL Token / Token-2022 / ATA / Memo / Stake-Pool / Governance / etc. | Official programs | https://github.com/solana-labs/solana-program-library | https://spl.solana.com | Canonical Solana programs |
| Anchor | Framework / IDL / TS client | https://github.com/coral-xyz/anchor | https://book.anchor-lang.com | De facto standard for Solana dev |
| Seahorse | Python → Anchor transpiler | https://github.com/seahorse-lang/seahorse | Docs | Write Solana programs in Python |
| Agnostic Orderbook | Generic on-chain orderbook lib | https://github.com/blockworks-foundation/agnostic-orderbook | Docs | Used by multiple protocols |
| Solana Program Test | Program testing utils | https://github.com/solana-labs/solana/tree/master/program-test | Docs | In-tree testing framework |
Open a PR:
- Add the protocol to the correct section.
- Include repo, docs, and (optionally) mainnet program ID(s).
- Prefer audited / battle-tested programs. Mark deprecated ones clearly.
- If the project is closed-source, mention it and link to docs/specs.
you cna do anything if u want ~