Solana IDL Library
Search our comprehensive library of Solana program IDLs. Find interface definitions for popular protocols like Pumpfun, Raydium, Solfi, and more.
Aldrin CLOB DEX
Aldrin CLOB (Central Limit Order Book) is an on-chain order book DEX on Solana. Supports limit orders, order matching, settlement, and market operations with full on-chain transparency.
Aldrin Farming Pool v1
Aldrin Market Making Farming Pool v1 enables liquidity providers to stake LP tokens and earn farming rewards. Provides yield incentives for market makers on the Aldrin DEX.
AlphaQ
AlphaQ is a Solana swap protocol that routes token trades through optimized market-state vaults. Provides a single Swap instruction with directional trading (aToB), minimum output protection, and vendor-key fee routing.
BonkSwap
BonkSwap is a Solana AMM DEX built for the BONK memecoin ecosystem. Features pool creation, liquidity provision, token swapping with multi-tier fees (LP, buyback, project, Mercanti), and built-in farming rewards for LPs.
Boop
Boop is a Solana token launchpad with built-in fee sharing. Enables token creation on bonding curves with SOL collateral, buy/sell trading with slippage protection, operator management, and vault-based fee distribution.
Drift v2
Drift Protocol v2 is a decentralized perpetual futures and spot margin trading exchange on Solana. Supports up to 20x leverage, cross-margin accounts, an on-chain order book, market maker vaults, and insurance fund staking.
DumpFun
DumpFun (dump.fun) is a Solana token launchpad supporting bonding curve token creation. Features exact-token and exact-SOL buy/sell operations, PDA-derived liquidity pools, platform fee collection, and pool surplus draining.
GoonFi
GoonFi is a minimal Solana swap protocol providing a single-instruction token swap interface with directional bidding (isBid), market-based pool routing, and sysvar instructions introspection for security.
Heaven
Heaven is a Solana DeFi protocol combining token swap AMM mechanics with liquid staking via Marinade (mSOL) and Kamino yield strategies. Features buy/sell trading, admin-controlled staking rewards, and trading fee sharing.
Jupiter
Jupiter is the leading swap aggregator on Solana, routing trades across dozens of DEXes for optimal pricing. Also offers limit orders, DCA (dollar-cost averaging), perpetual futures, and token launchpad services.
Lifinity v1
Lifinity v1 is a proactive market maker DEX on Solana that uses oracle-driven pricing (Pyth/Switchboard) to reduce impermanent loss. Supports token swaps with oracle price feeds and two-sided liquidity deposits/withdrawals.
Magic Eden M2
Magic Eden M2 is the second-generation marketplace program for listing, buying, and selling NFTs on Solana. Supports fixed-price listings, auctions, collection offers, and royalty enforcement.
About Solana IDLs (Interface Definition Language)
A Solana IDL (Interface Definition Language) is a JSON schema that describes the complete interface of an on-chain Solana program. Built primarily for the Anchor framework, IDLs define all available instructions, account layouts, custom types, events, and error codes that developers need to interact with a smart contract programmatically.
IDLs are essential for building Solana applications — they enable type-safe interaction with on-chain programs across TypeScript (using @coral-xyz/anchor), Rust (using anchor-client), and Python (using anchorpy). Whether you're building a trading bot, DeFi integration, NFT marketplace, or analytics dashboard, having the correct IDL is the first step to interacting with any Solana protocol.
This library hosts 70 IDLs from 32+ protocols spanning DEXes (Raydium, Orca, Jupiter, Phoenix, OpenBook), token launchpads (PumpFun, Moonshot, Boop), NFT platforms (Metaplex, Magic Eden, Tensor), perpetual exchanges (Drift), and core Solana programs (SPL, Native). All IDLs are free to download and include integration code examples.
Frequently Asked Questions
What is a Solana IDL?
A Solana IDL (Interface Definition Language) is a JSON file that describes the interface of an on-chain program. It defines the program's instructions (callable functions), account structures (on-chain data layouts), events (emitted logs), and custom types. IDLs are generated by the Anchor framework and are essential for building clients that interact with Solana smart contracts.
How do I use a Solana IDL?
Download the IDL JSON file, then use it with the Anchor client library for your language. In TypeScript: new Program(idl, provider). In Rust: client.program(program_id). In Python: Program(idl, program_id, provider). Each IDL detail page includes complete integration examples.
Are these IDLs up to date?
We maintain and update IDLs as protocols release new versions. Each IDL shows its version number and program address so you can verify compatibility with the current on-chain deployment. If you need an IDL that isn't listed, contact us on Discord.