Overview
Build on Gearbox Protocol — permissionless lending rails for onchain credit.
Gearbox provides the infrastructure for creating and operating lending markets. A single liquidity pool funds multiple isolated credit strategies, each managed by independent Market Curators. Developers can integrate at every level: from reading market data and building UIs, to creating new adapters for DeFi protocols, to extending the core protocol itself.
What You Can Build
| Use Case | Description | Start Here |
|---|---|---|
| Frontend / Dashboard | Display market data, account positions, pool stats | Getting Started: TypeScript |
| Trading Bot | Monitor health factors, execute liquidations | Liquidation Bots Guide |
| Analytics Backend | Index events, track historical rates, build APIs | Backend Services Guide |
| Protocol Integration | Compose with Credit Accounts from your contracts | Protocol Integration |
| Adapter Development | Add new DeFi protocol support to Gearbox | Adapter Development |
| Core Extension | Custom interest rate models, pool hooks | Core Extension |
Documentation Structure
Gearbox Markets
The main product. Learn the concepts, get started with the TypeScript SDK, query market data, operate credit accounts, and build multicall transactions.
- Concepts — How markets, credit accounts, and the multicall system work
- Getting Started — Install the SDK and make your first call
- Markets — Query pools, rates, and insurance state
- Credit Accounts — Open, manage, and close leveraged positions
- Smart Contracts — Contract reference (methods, events, parameters)
- Guides — End-to-end tutorials for common use cases
Gearbox Permissionless
The infrastructure layer. Understand how the protocol achieves institutional-grade security while remaining fully permissionless.
- Concepts — Role separation, Bytecode Repository (BCR), Cross-Chain Multisig (CCM)
- Building — Create adapters, integrate protocols, extend the core
Resources
Deployment addresses, security & audits, glossary.
Quick Links
| Need | Go to |
|---|---|
| Install SDK | Getting Started: TypeScript |
| Understand the architecture | Gearbox 101 |
| Find contract addresses | Deployment Addresses |
| Build multicalls | Multicalls |
| Query credit accounts | Credit Accounts |
| Pool deposit/withdraw | Pool Operations |