Skip to main content

What Is a Vault?

A Ranger Earn vault is an on-chain smart contract on Solana that accepts deposits from users in a single asset (e.g., USDC, SOL) and deploys those funds into one or more DeFi strategies to generate yield. Users receive LP tokens representing their proportional share of the vault.
Each vault supports one asset only. If you want to manage multiple assets, you need to create separate vaults for each.

Role-Based Access Control

Ranger Earn enforces role separation for security:
RoleCapabilities
AdminAdd/remove adaptors, initialize strategies, update vault configuration, calibrate high water mark
ManagerAllocate funds between strategies (deposit/withdraw to strategies)
Keep admin and manager as separate keypairs. The admin controls vault structure; the manager controls fund movement. This separation limits damage if a key is compromised.

Vault Lifecycle

1

Create the vault

Initialize the on-chain vault account with your asset, fees, and configuration
2

Set up metadata

Create LP token metadata (name, symbol, image) so wallets display it correctly
3

Add adaptors & initialize strategies

Connect to DeFi protocols where funds will be deployed
4

Allocate funds

Deploy idle vault funds into initialized strategies
5

Operate

Monitor performance, rebalance, run automation scripts
6

Go to market

Get indexed on Ranger, verify your LP token on Jupiter

Next Steps