- Vite + React (client-side)
- Tailwind CSS
- RainbowKit + wagmi + viem
- Node.js 18+ and npm
cd /home/hooftly/Projects/equalfi-ui
npm installnpm run devVite will print the local URL (default is http://localhost:5173).
Create a .env.local file (not committed) for chain and indexer settings. Known variables used by the app:
VITE_DIAMOND_ADDRESS(optional; falls back tosrc/lib/pools.json)VITE_POSITION_NFT_ADDRESS(optional; falls back tosrc/lib/pools.json)VITE_PONDER_GRAPHQL_URLorVITE_PONDER_API_URLVITE_BASE_SEPOLIA_RPC_URLVITE_SEPOLIA_RPC_URLVITE_ARBITRUM_SEPOLIA_RPC_URL
If you run a local chain, the app also connects to Foundry at http://127.0.0.1:8545 by default.
npm run build
npm run previewnpm run lint
npm run testThe default pool and token config lives in src/lib/pools.json.