Don’t need a custom frontend? Users can deposit and withdraw through the Ranger UI at voltr.xyz once your vault is indexed and listed. Building a custom frontend is optional.
When to Build a Custom Frontend
- You want to embed vault functionality in your own application
- You need custom UI/UX beyond what the Ranger UI provides
- You want to offer a branded experience for your users
Approaches
| Approach | Best For | Tools |
|---|---|---|
| UI Template | Quickest path to a branded vault frontend | voltrxyz/basic-ui |
| SDK integration | Full control, real-time custom querying | @voltr/vault-sdk |
| API + SDK | Read data via API, and create transactions | Voltr API |
Open-Source Vaults UI Template
The fastest way to launch a custom vault frontend is to fork the Voltr Vaults UI Template — a self-contained, production-ready Next.js application available open source at github.com/voltrxyz/basic-ui.What’s Included
- Vault Discovery — Browse and filter vaults with real-time stats (TVL, capacity, fees)
- Deposits & Withdrawals — Full deposit and two-step withdrawal flow with wallet integration
- Vault Manager — Create new vaults and update configuration directly from the UI
- Real-time Updates — On-chain account listeners for live position tracking
Tech Stack
- Next.js 15 (App Router), React 19, TypeScript, Tailwind CSS with shadcn/ui
@voltr/vault-sdkand@solana/web3.jsfor on-chain interaction- All transactions built client-side — no backend required
Quick Start
.env: