Logo Lanfrica

rogersterkaa/stacksbit-react

Domain:

digital infrastructure

Record type:

software
Creator:
rog
Host:
StacksBit frontend Rebuild— fraud-protection escrow for African commerce. React + TypeScript, mobile-ready, built on Stacks. # StacksBit — React Frontend **Fraud-protection escrow for African commerce — mobile-ready, role-based, built on Stacks (Bitcoin L2)** 🔗 **Live app:** stacksbit-react.vercel.app 🐙 **Smart contracts:** github.com 📱 **Mobile:** Open inside Leather wallet's dapp browser --- ## What This Is This is the React + TypeScript frontend for StacksBit — a bilateral fraud-protection platform for Nigerian merchants and buyers. It replaces the original vanilla JavaScript frontend with a properly structured, mobile-functional, role-based application. > "Send money first and pray" is how most online commerce works in Nigeria. > StacksBit fixes this — payment locks in escrow until delivery is confirmed. > Nobody loses. Both sides protected. --- ## Key Features - **Role-based entry point** — merchants and buyers see different navigation from the start - **Independent wallet slots** — merchant and buyer can each connect their own separate wallet in the same session (fixes the Week 4 pilot blocker) - **Real Payment ID display** — polls on-chain after creation so merchants don't need a block explorer - **Mobile-functional** — works on phone via Leather wallet's built-in dapp browser - **Full escrow flow** — register → create invoice → pay → confirm delivery → dispute - **Real-time transaction history** — pulls directly from Hiro API - **Fraud detection display** — risk gauge, fraud signals, USSD Phase 2 notice --- ## Pages | Page | Role | Description | |------|------|-------------| | Landing Screen | Both | Merchant/buyer role selection on first load | | Dashboard | Merchant | Quick actions, wallet status, escrow notice | | Register Merchant | Merchant | On-chain business registration | | Create Payment | Merchant | Invoice creation with real Payment ID | | Pay Invoice | Buyer | Escrow payment + confirm delivery / dispute | | Transactions | Both | Real on-chain history from Hiro API | | Risk Panel | Merchant | Fraud score gauge, signal m …