A Vue.js frontend for Berachain staking pools. Users can stake BERA, view positions, and manage withdrawals.
-
Install dependencies:
npm install
-
Configure:
cp public/config.example.json public/config.json # Edit public/config.json with your settings -
Run dev server:
npx vite
-
Build for production:
npm run build
See docs/CONFIG_GUIDE.md for detailed configuration instructions. For deployment, see docs/DEPLOYMENT.md.
Quick summary:
- Single Pool Mode: Set
"mode": "single"and add your pool topoolssection - Discovery Mode: Set
"mode": "discovery"and leavepoolsempty
- Dev server:
npx vite(runs on port 3001) - Unit tests:
npm run testornpm run test:unit(Vitest). E2E:npm run test:e2e(Playwright) - Build:
npm run build(outputs todist/)
src/- Vue application sourcepublic/- Static assets and config filestests/- Playwright E2E tests (includes TEST_PLAN.md)docs/- Configuration, deployment, and developer guides
- ✅ Single pool staking interface
- ✅ Multi-pool discovery (optional)
- ✅ Wallet connection (MetaMask, WalletConnect, etc.)
- ✅ Stake BERA to receive stBERA
- ✅ Request and finalize withdrawals
- ✅ Delegation badge display
- ✅ Real-time pool data updates
For configuration help, see docs/CONFIG_GUIDE.md.