Skip to main content
The Ranger Earn protocol consists of two main programs that enable customizable yield strategies.

Vault (voltr-vault program)

Vaults are the primary user interface, managing deposits and handling the accounting of user shares. When a vault manager allocates funds to a strategy, the vault program calls the adaptor via CPI.

Adaptor (custom on-chain program)

An adaptor is a Solana program that bridges a Voltr vault with a DeFi protocol. The vault program calls into the adaptor, and the adaptor routes those calls to the target protocol via CPI. Adaptors:
  • Implement three standardized instructions: initialize, deposit, and withdraw
  • Act as a CPI translation layer between the vault and the target protocol
  • Report position values back to the vault (deposit/withdraw return u64)
  • Handle protocol-specific account setup and token conversions

Fund Flow

Integration Paths

Build an Adaptor

Build a custom adaptor to connect your protocol to Voltr vaults

CPI Integration

Deposit into and withdraw from Voltr vaults on-chain via CPI