Web UI for the Credence economic trust protocol. Connect a Stellar wallet, create or manage USDC bonds, and view trust scores.
This app is part of Credence. It talks to the Credence backend API and (via wallet) to Soroban contracts on Stellar for bonding and attestations.
- Node.js 18+
- npm or pnpm
npm installnpm run devApp runs at http://localhost:5173. API requests to /api are proxied to the backend (default http://localhost:3000).
| Command | Description |
|---|---|
npm run dev |
Start Vite dev server |
npm run build |
TypeScript + production build |
npm run preview |
Preview production build |
npm run lint |
Run ESLint |
- React 18
- TypeScript
- Vite
- React Router
src/pages/— Home, Bond, Trust Scoresrc/components/— Layout, shared UIsrc/App.tsx— Router and routes
To add wallet (e.g. Freighter) and contract calls, extend the Bond and Trust Score pages and add a small API client in src/api/.