Learn about the first DeFi native prime broker on Solana.
Welcome to the documentation for Project 0 (P0), a permissionless prime broker built on Solana. This site provides an accessible overview of the protocol alongside enough technical depth to satisfy experienced builders and integrators.
P0 is built on mrgnLendv2, a battle-tested borrow-lending program with a powerful on-chain risk engine. P0 extends this foundation with cross-venue collateral, enabling users to collateralize assets from multiple DeFi venues and borrow against them in a single unified margin account.
Get Started
Introduction
What P0 is, how it works, and why permissionless prime brokerage matters.
Protocol Overview
Dive into the protocol's architecture, risk engine, interest rates, liquidation mechanics, and more.
TypeScript SDK
Start building with the official P0 SDK. Deposit, borrow, and manage accounts programmatically.
Guides
Step-by-step guides for users, developers, and liquidators.