Operations Overview
This section is for the person actually running the system.Main operator goals
- load the correct environment
- deploy the program safely
- validate protocol bundle construction
- bootstrap the vault
- manage strategy state
- process deposits and withdrawals
- inspect on-chain state
Main operator CLIs
| CLI | Purpose |
|---|---|
anchor build / anchor deploy | Build and deploy the Anchor program |
doctor.ts | Diagnose local and on-chain runtime state |
drift-smoke.ts | Build the Drift bundle against RPC |
kamino-smoke.ts | Build the Kamino bundle against RPC |
drift-live-send.ts | Send a direct Drift transaction without the vault |
vault-bootstrap.ts | Initialize the vault and register strategies |
vault-admin.ts | Pause/resume the vault or strategies |
vault-user.ts | Deposit, request withdrawal, finalize withdrawal |
vault-status.ts | Inspect vault, strategies, allocations, and withdrawals |
Recommended sequence
- load
.env - follow the devnet deploy runbook
- run
doctor.ts - run protocol smoke tests
- bootstrap the vault
- inspect state with
vault-status.ts - run live user flows
- run the Ranger rebalance demo
Important mindset
The code assumes a clean separation between:protocol validationvault lifecyclefull rebalance orchestration