Third-Party Services & Libraries
Everything the Transfer Agent touches outside its own code: external services,
Everything the Transfer Agent touches outside its own code: external services, their role and how we integrate, plus the notable libraries.
External services
| Service | Role | Integration |
|---|---|---|
| Liquid IAM (Casdoor fork) | OIDC SSO issuer | casdoor-js-sdk (FE PKCE) + coreos/go-oidc (backend JWT verify). See api/iam-oidc.md. |
| Google OAuth | Identity provider behind IAM | IAM federates to Google; domain-gated to @satschel.com. Needs a Google Cloud OAuth client (origins + redirect URIs) - see deployment.md. |
| Plaid | Bank-account linking, balance, ACH (Plaid Transfer) | pkg/plaid REST client + react-plaid-link (FE). Used by subledger-api for funding + dividend payouts. Sandbox today; Transfer gated by a dashboard entitlement (PLAID_TRANSFER=1). See api/subledger-api.md. |
| First Bank of Montana | The real FBO omnibus bank holding all investor wallet cash | Integrated separately from Plaid; the fbo_control ledger account represents its balance. |
| Liquidity corporate operating account | The company account that funds all dividends | Linked via Plaid; funds the omnibus. |
| wallet-api (blockchain09, chainId 8675399) | Devnet EVM facade (Lux-anchored behind the Hanzo Gateway) | Reached HTTPS REST only via pkg/walletapi; zero luxfi/hanzo packages. Used by devnet-bridge. |
| Simplici | KYC / identity verification | Verdict webhook POST /callbacks/kyc; mocked in dev (mock-simplici). |
| Alpaca | Clearing / brokerage | Confirmation webhook POST /callbacks/clearing; mocked in dev (mock-alpaca). |
MPC signing engine (mpcium) | Threshold-signature wallet provisioning | Local dependency; drives the onboarding saga (keygen -> V42 -> ONCHAINID). |
Infrastructure
| Component | Role |
|---|---|
| Postgres | System of record (read model, modules, FBO ledger) |
| Redis | Cache, pub/sub, SSE fan-out |
| EVM chain | Runs the ERC-3643 suite (SecurityToken, IdentityRegistry, ModularCompliance, USDL, Settlement) |
Notable libraries
Backend (Go): go-chi/chi (router), coreos/go-oidc (auth),
jackc/pgx (Postgres), pressly/goose (migrations), redis/go-redis,
riverqueue/river (durable Postgres job queue - runs approved operations, the
onboarding saga, and event processing), ethereum/go-ethereum (EVM),
centrifuge/go-substrate-rpc-client (sponsor-gas mode), nats-io/nats.go (MPC
coordination), prometheus/client_golang + go.opentelemetry.io/otel
(metrics/tracing), fystack/mpcium (MPC engine).
Frontend (npm): React, Vite, TypeScript, Tailwind, @tanstack/react-query,
react-router-dom, casdoor-js-sdk (OIDC PKCE), react-plaid-link (Plaid Link),
Radix UI, lucide-react, xlsx (Carta cap-table import).
What River is used for
River is a Postgres-backed durable job queue. In ta-api it runs: (1) approved
maker-checker operations (on-chain mint/burn/freeze/forced-transfer), (2) the
onboarding saga (MPC wallet provisioning, resumable/idempotent), and (3)
event processing + dead-letter queue (replayable). Jobs are transactional
with the data and survive restarts.