How whoevenisshubham/transactx works
TransactX is a distributed-payment reliability product: customers and merchants initiate or inspect simulated transfers, while operators examine outcomes and evidence. The principal path spans the React workspaces, Go API, central payment kernel, independent bank participants, and durable recovery; operator workflows add reconciliation, integrity proofs, projections, and grounded investigations. The README documents these domain relationships, but most implementation excerpts are absent, so the graph keeps those links at documented subsystem level rather than asserting unobserved internal calls.
Main entry points: payments/service.go Payment Service · console.tsx React Workspaces · bankservice/service.go Bank Participants · handler.go HTTP API
Components 19
User Workspaces
- React Workspaces
frontend/src/console.tsx - Offline Intents
frontend/src/offlineQueue.ts
Payment Kernel
- HTTP API
backend/internal/http/handler.go - Payment Service
backend/internal/payments/service.go - Bank Routing
backend/internal/payments/routing.go - Bank Participants
backend/internal/bankservice/service.go
Recovery and Evidence
- Durable Recovery
backend/internal/recovery/scheduler.go - Event Outbox
backend/internal/outbox/dispatcher.go - Operator Projections
backend/internal/projections/projector.go - Reconciliation
backend/internal/reconciliation/engine.go - Integrity and Merkle
backend/internal/reconciliation/merkle.go
Operator Intelligence
- Grounded Investigations
backend/internal/investigator/service.go - Analytics and Anomaly
backend/internal/analytics/repository.go - Reliability Experiments
backend/cmd/experiments/main.go
Financial Records
- PostgreSQL
backend/internal/database/database.go - Double-Entry Ledger
backend/internal/ledger/repository.go
Other components
- Customer
- Merchant
- Operator
Connections 20
- Customer → React Workspaces: uses
README.md - Merchant → React Workspaces: uses
README.md - Operator → React Workspaces: uses
README.md - React Workspaces → HTTP API: requests
README.md - React Workspaces → Offline Intents: queues intents
README.md - HTTP API → Payment Service: handles payments
README.md - Payment Service → Bank Routing: routes payments
README.md - Payment Service → Bank Participants: coordinates
README.md - Bank Participants → Durable Recovery: provides observations
README.md - Durable Recovery → Bank Participants: checks operations
README.md - Payment Service → Double-Entry Ledger: records entries
README.md - Payment Service → PostgreSQL: persists state
README.md - Payment Service → Event Outbox: records events
README.md - Event Outbox → Operator Projections: feeds events
README.md - Operator → Reconciliation: inspects comparisons
README.md - Operator → Integrity and Merkle: checks proofs
README.md - Operator → Grounded Investigations: asks questions
README.md - Grounded Investigations → PostgreSQL: stores reports
README.md - Operator → Analytics and Anomaly: reviews analytics
README.md - Reliability Experiments → Bank Participants: simulates failures
backend/cmd/experiments/main.go