Skip to content

Tonder reference (source blueprint)

These are Tonder's own docs for the finances engine, included verbatim as the blueprint that the Vecnet build spec is derived from. They describe Tonder's AWS / NoSQL implementation (DynamoDB, MongoDB, SQS, Lambda); the Vecnet spec is the Supabase/Postgres port of the same intent.

Precedence

If anything here conflicts with the build spec, the build spec wins. The reference docs describe how Tonder does it today; the spec describes how Vecnet rebuilds it. See the big shift for the port rationale.

How the reference maps to the spec

Tonder service (reference)Vecnet docs
usrv-financesfinances/Domain model · Data model · Flows
usrv-batch-transaction-reportcycle engineSettlement reports
usrv-settlementorchestrationSettlement orchestration

usrv-finances — the ledger engine

DocCovers
Architecturehexagonal layering, the AWS stack
Domain glossaryenums, account codes, journal types
Accounts CRUDaccount CRUD + balance mechanics
Accountingdouble-entry: journals + ledger entries
Fee rulesfee-rule model + specificity matching
Fee calculationfee formulas per transaction type
Configurationsper-business module flags
Transaction processingthe orchestrator (event → fees → accounting)
Settlementsapprove/confirm settlement flow
Rolling reservescheduled reserve release
Internal transfersfund movements / adjustments
Daily ledgerdaily XLSX reports + balance snapshots

Settlement services

The canonical master spec is also available verbatim: Full build spec (source).

Vecnet — Build Spec v0.2 · Obsidian Terminal