A payment processing dashboard for accepting Bitcoin payments through the Stacks network. This web application provides merchants with tools to manage payments, track analytics, and handle Bitcoin withdrawals.
sBTC Express enables businesses to accept Bitcoin payments with a dashboard that offers:
- Payment Processing - Track incoming Bitcoin payments with real-time status updates
- Payment Links - Generate shareable links with QR codes for easy customer payments
- Analytics - View revenue trends, success rates, and transaction metrics
- Withdrawals - Request Bitcoin transfers to external wallet addresses
- Webhooks - Configure automated notifications for payment events
- API Keys - Manage authentication credentials for programmatic access
Built with Next.js 15, React 19, and TailwindCSS. Uses TypeScript throughout for type safety. Real-time updates are handled via WebSocket connections, and the UI is built with Radix primitives and shadcn components.
The codebase follows Next.js 15 app router conventions. Pages are in src/app, reusable components in src/components, and utilities in src/lib. Authentication uses JWT tokens with automatic refresh. WebSocket context provides live payment updates across the dashboard.
State management combines Zustand for auth state, TanStack Query for server data, and React Context for WebSocket connections. The API client in src/lib/api.ts handles all backend communication with built-in retry logic and error handling.