A DeFi money market web application for the Nolus protocol. Enables leveraged positions, earning via liquidity pools, staking, cross-chain swaps, and governance on the Nolus network.
| Layer | Technology |
|---|---|
| Frontend | Vue 3, TypeScript, Pinia, Vite, Tailwind CSS, vue-i18n |
| Backend | Rust (Axum, Tokio) |
| Blockchain | CosmJS, @nolus/nolusjs, cosmrs |
| Networks | Nolus, Osmosis, Neutron |
| Wallets | Keplr, Leap, Ledger (USB + Bluetooth), Phantom, Solflare |
- Node.js v20+
- Rust (stable toolchain)
- npm
npm installCopy and edit the environment files as needed:
| File | Purpose |
|---|---|
.env.spa |
Local dev (backend serves frontend) |
.env.serve |
Vite dev server mode (frontend only) |
backend/.env |
Backend configuration (see backend/.env.example) |
# Build frontend
npm run build
# Build backend
cd backend && cargo build --release
# Start server
cd backend && ./target/release/nolus-backendRun the Vite dev server with hot-reload (requires the backend running separately):
npm run serve| Task | Command |
|---|---|
| Build frontend | npm run build |
| Build backend | cd backend && cargo build --release |
| Dev server (Vite) | npm run serve |
| Frontend tests | npm test |
| Backend tests | cd backend && cargo test |
| Format frontend | npm run format |
| Format backend | cd backend && cargo fmt |
| Lint backend | cd backend && cargo clippy |