Introduction
Velocity Protocol is an open-source , decentralised exchange built on the Solana blockchain . Velocity is a fork of Drift Protocol v2, deployed under its own program ID with a reduced, more secure feature set focused on perpetual futures trading and lending/borrowing.
Trade
- Perpetual Futures - Trade perp markets with leverage.
- Swap Tokens - Swap any pair with up to 5x leverage.
Velocity uses a cross-margined risk engine that lets a single pool of collateral back all of your positions, while limiting how much risk any account can take on:
- Collateral in the lend/borrow markets can also back perpetual futures positions, so spot assets work double duty.
- Every deposit earns lending yield and can serve as collateral for perpetual swaps at the same time.
- Borrowers can only borrow as much as their collateral supports, staying at or above the required collateral ratio, with additional safety measures to prevent over-extension.
Spot trading has been removed from the Velocity program — spot markets exist only for collateral and borrow-lend. You can still exchange spot assets via swaps .
Earn
- Lend/Borrow - Earn yield on your deposits through lending.
- Insurance Fund Staking - Stake your assets into a vault and earn yield from exchange fees.
Build
- SDK - TypeScript SDK (
@velocity-exchange/sdk) for building trading apps and bots. - Tutorials - Build a Keeper bot or JIT Trading bot.
Velocity Protocol is open-source and contributions are welcome — see Velocity for Developers to get started.
Velocity is a fork of Drift Protocol, whose smart contracts were audited by Trail of Bits, Neodyme, and OtterSec prior to the fork point — see Audits.