Drift
- Name: Drift
- URL: https://www.drift.trade/
- Category: onchain trading infrastructure / perpetuals and spot exchange protocol / Solana execution and automation stack
- Tags: solana-ecosystem
- Summary: Drift is an open-source Solana trading protocol that has expanded from perpetual futures into a broader execution and capital-efficiency stack spanning perps, spot margin, swaps, lending, insurance-fund staking, automation bots, self-hosted gateway access, and delegate-managed vaults. Its current primary-source surface jointly exposes user trading, protocol risk machinery, builder SDKs, keeper/JIT infrastructure, and multiple repo-level operating components, so it is better cataloged as trading and execution control-plane infrastructure rather than as a simple perp frontend.
- What it does:
- Provides onchain perpetual futures, spot margin trading, and token-swap functionality on Solana
- Lets users lend and borrow assets, use deposited collateral across products, and stake into an insurance fund according to the protocol docs
- Publishes TypeScript and Python SDKs, example bots, and a self-hosted gateway for developers and integrators building on top of the protocol
- Supports automated offchain keeper roles such as matching, order triggering, liquidation, and JIT maker activity, with public tutorials and reference repos
- Maintains adjacent infrastructure such as delegate-managed vault programs and transaction-server components in its public GitHub organization
- Key claims:
- The homepage positions Drift as Solana’s “premier trading hub,” highlights deep liquidity, gasless trading, open-source verifiable contracts, a real-time risk engine, and a liquidation engine built for market stability
- The main docs introduction says Drift is an open-sourced decentralized exchange on Solana and documents perps, spot trading, swaps, lend/borrow, insurance-fund staking, SDKs, and trading automation
- The protocol docs are especially useful because they make the cross-margined risk-engine model explicit, including that deposits can serve as collateral across perpetuals and borrow/lend functions
- The keeper-bot docs show Drift depending on rewarded offchain agents for matching, order triggering, liquidations, and JIT market making, which makes the protocol materially more than a static frontend or single-program exchange
- The GitHub organization reveals a broader operating surface around
protocol-v2,drift-vaults,swift,gateway, SDK repos, and example implementations - The
protocol-v2README confirms that the public codebase includes Solana programs, a TypeScript SDK, bot examples, local build flows, and a bug-bounty surface
- Whitepaper: No canonical standalone Drift whitepaper or litepaper surfaced in this pass. The clearest current source of truth is the official site, protocol docs, keeper-bot docs, and public GitHub organization/repositories; see
../whitepapers/drift-primary-sources-2026-04-28.md. - Sources:
Internal linkages
- Best orderflow and routing reads: jupiter and jito
- Best oracle dependency anchor: pyth-network
Control surface
-
The markets, collateral logic, vaults, and program state live on Solana.
-
The practical edge sits in keeper participation, JIT makers, liquidators, gateway access, routing defaults, and oracle delivery. Those offchain layers decide a lot of the user outcome before the exchange UI does.
-
Drift is worth reading as execution infrastructure, not just as a perp venue.
-
Last reviewed: 2026-06-01 UTC