Next.js Hybrid Fiat/Crypto Wallet with StarkNet Overdrafts
✅ Real-Time Overdrafts
- Auto-convert crypto to fiat when balances are low
- Slippage-protected swaps via Pragma Oracle
✅ Unified Dashboard
- View combined fiat + crypto balances
- Transaction history with CSV export
✅ Web3Auth Integration
- Email/Social login + custom starknet wallet
| Layer | Technology |
|---|---|
| Frontend | Next.js 14 (App Router) |
| State | Zustand + SWR |
| Blockchain | starknet.js v5 |
| UI | ShadCN + Tailwind |
| Auth | NextAuth + Web3Modal |
# Fork the repo
https://github.com/caxtonacollins/sync-frontend
# Clone repo
git clone https://github.com/yourorg/sync-frontend.git
cd sync-frontend
# Install
yarn install
# Run dev server
yarn dev- Set env vars:
NEXT_PUBLIC_STARKNET_RPC=https://starknet-goerli.infura.io
NEXT_PUBLIC_CONTRACT_ADDRESS=0x123...- Deploy to Vercel:
vercel --prod