Skip to main content

Users

Users deposit assets into vaults to earn yield:
  • Deposit assets into any vault of their choice
  • Receive LP tokens representing their share of the vault
  • Withdraw their assets plus earned yields at any time
  • Track their positions and yields through LP token value

User Guide

Learn how to use Ranger Earn vaults

Vault Managers

Vault managers create, configure, and operate vaults. They handle both the structural setup and day-to-day capital allocation:
  • Create new vaults with custom parameters
  • Add or remove adaptors to determine available strategies
  • Set fee structures (performance, management, issuance, redemption)
  • Rebalance assets between DeFi protocols based on market conditions
  • Configure vault parameters like deposit caps and withdrawal periods
  • Run automation bots and monitor performance
Ranger Earn enforces role separation between admin (vault structure and configuration) and manager (fund allocation). These should be separate keypairs for security. See Vault Manager Overview for details.

Yield Protocols

DeFi protocols that want their yield strategies accessible through Ranger Earn vaults by building custom adaptors:
  • Develop adaptors that wrap protocol-specific interactions
  • Define deposit, withdraw, and initialization logic
  • Implement the standard adaptor interface
  • Enable vault managers to allocate funds into your protocol

Adaptor Creation Guide

Build a custom adaptor

Composing Protocols

Protocols that build new DeFi primitives on top of Ranger Earn vaults via Cross-Program Invocation (CPI):
  • Deposit into and withdraw from vaults programmatically on-chain
  • Build derivatives such as junior/senior tranching
  • Create fractional reserve systems backed by vault LP tokens
  • Compose vault yields into new structured products

CPI Integration Guide

Integrate via CPI

Interaction Flow

1

Yield Protocols create adaptors to bring their strategies into Ranger Earn

2

Vault Managers set up vaults, connect adaptors, and configure parameters

3

Users deposit into vaults and earn yield via LP tokens

4

Vault Managers allocate funds across strategies and rebalance

5

Composing Protocols build new products on top of vault LP tokens

Roles and Permissions

ActionUsersVault Managers (Admin)Vault Managers (Manager)Yield ProtocolsComposing Protocols
Deposit/Withdraw from vault
Create vault
Add/Remove adaptors
Set fees and configuration
Allocate funds to strategies
Create adaptors
CPI into vaults