How godwin-akakpo/planbnetworkdevtrackassignment works
BSOS is a Liquid testnet cross-border settlement proof of concept. A sender initiates a transfer in the dashboard; the API assembles and screens Travel Rule data, builds and broadcasts a confidential transaction, records its transaction and blinding details, and simulates partner delivery. Users can review compliance records, while regulators can retrieve protected audit data to verify the declared amount. The graph also includes wallet access and the documented API surface. Links for unsampled routes and UI panels rely on the README and SOURCE INDEX; implementation details beyond the excerpts are not asserted.
Main entry points: useApi.ts Typed API client · server.ts Express API · transfer.ts Transfer endpoint · App.tsx Dashboard
Components 22
Settlement dashboard
- Dashboard
client/src/App.tsx - Wallet panel
client/src/components/WalletPanel.tsx - Transfer panel
client/src/components/TransferPanel.tsx - Compliance panel
client/src/components/CompliancePanel.tsx - Audit panel
client/src/components/AuditPanel.tsx - Typed API client
client/src/hooks/useApi.ts
API and access
- Express API
src/api/server.ts - Wallet endpoint
src/api/routes/wallet.ts - Transfer endpoint
src/api/routes/transfer.ts - Compliance endpoints
src/api/routes/compliance.ts - OpenAPI specification
src/api/swagger.ts
Compliance lifecycle
- IVMS101 builder
src/compliance/ivms101.ts - Screening and delivery
src/compliance/travelRule.ts - Compliance record store
src/compliance/store.ts
Liquid settlement
- Wallet generation
src/chain/wallet.ts - Confidential transaction
src/chain/transaction.ts - Esplora client
src/chain/esplora.ts
Audit and verification
- Regulator audit endpoint
src/api/routes/audit.ts
Other components
- Sender
- Regulator
- Corridor partner
- Liquid testnet
Connections 32
- Sender → Dashboard: uses
README.md - Dashboard → Wallet panel: renders
client/src/App.tsx - Dashboard → Transfer panel: renders
client/src/App.tsx - Dashboard → Compliance panel: renders
client/src/App.tsx - Dashboard → Audit panel: renders
client/src/App.tsx - Wallet panel → Typed API client: calls
client/src/components/WalletPanel.tsx - Transfer panel → Typed API client: calls
client/src/components/TransferPanel.tsx - Compliance panel → Typed API client: calls
client/src/components/CompliancePanel.tsx - Audit panel → Typed API client: calls
client/src/components/AuditPanel.tsx - Typed API client → Wallet endpoint: requests
client/src/hooks/useApi.ts - Typed API client → Transfer endpoint: requests
client/src/hooks/useApi.ts - Typed API client → Compliance endpoints: requests
client/src/hooks/useApi.ts - Typed API client → Regulator audit endpoint: requests
client/src/hooks/useApi.ts - Express API → Wallet endpoint: mounts
src/api/server.ts - Express API → Transfer endpoint: mounts
src/api/server.ts - Express API → Compliance endpoints: mounts
src/api/server.ts - Express API → Regulator audit endpoint: mounts
src/api/server.ts - Express API → OpenAPI specification: serves
src/api/server.ts - Transfer endpoint → IVMS101 builder: builds payload
src/api/routes/transfer.ts - Transfer endpoint → Screening and delivery: screens and delivers
src/api/routes/transfer.ts - Screening and delivery → Compliance record store: updates records
src/compliance/travelRule.ts - Screening and delivery → IVMS101 builder: validates
src/compliance/travelRule.ts - Transfer endpoint → Confidential transaction: broadcasts
src/api/routes/transfer.ts - Transfer endpoint → Compliance record store: links transaction
src/api/routes/transfer.ts - Express API → Wallet generation: initializes
src/api/server.ts - Confidential transaction → Esplora client: fetches and broadcasts
src/chain/transaction.ts - Esplora client → Liquid testnet: queries
src/chain/esplora.ts - Corridor partner → Screening and delivery: receives payload
README.md - Regulator → Regulator audit endpoint: requests audit
README.md - Regulator audit endpoint → Compliance record store: looks up record
src/api/routes/audit.ts - Regulator audit endpoint → Esplora client: checks status
src/api/routes/audit.ts - Compliance endpoints → Compliance record store: reads records
src/api/routes/compliance.ts