Kotlin services for a double-entry ledger, idempotent payment orchestration, KYC/AML case workflows and a deterministic JSON DSL decision engine, each on Postgres with a transactional outbox to Redpanda or Kafka. Kotlin and TypeScript SDKs, OpenTelemetry tracing, Keycloak auth.
Trade-offs
- No shared gateway: clients call the ledger, payments, compliance and decision services on their own ports, which keeps each service independent at the cost of more endpoints to wire.
- Rules run in a JSON DSL with full explainability and no embedded scripting language, so every decision is deterministic and auditable but limited to what the DSL expresses.
- Compliance owns the KYC/AML workflow but delegates checks to plug-in ports with sandbox providers in tree. Real integrations are adapters the adopter writes.
Q&A4
Yes. Requests deduplicate on the
Idempotency-Key header, and events leave through a transactional outbox, so a retry neither double-charges nor drops an event.At three layers: the application, the service and the database, so balances can't drift through any one of them.
To avoid floating-point drift: the Kotlin and TypeScript clients carry ledger amounts as strings.
Not yet. It is under BUSL-1.1: free for evaluation, education and non-production use until 2030-04-28, when it converts to Apache 2.0. Production use before then needs a commercial license.
Links
Built by
Reviews
Loading reviews
More in Ledgers
See all 7 →
go-ledgerMulti-tenant double-entry payment ledger API in Go, built in public- RRQClosed-loop payment ledger on sharded Postgres with a Kafka outbox
- pgledgerDouble-entry ledger implemented entirely in PostgreSQL functions and views
HisabDouble-entry ledger kept by texting a WhatsApp agent, in Urdu or English
Accountant24Personal finance agent that keeps an hledger ledger in plain text under git
OpenBilanzLocal tool for a German GmbH's opening balance, annual accounts and E-Bilanz
More in Idempotency
See all 8 →
blitcpFile copier that reads in disk order, dedupes and streams over raw SSH- clinkC++ stream processing engine that stays correct when processes die
- Job Scheduler PlatformDurable one-off and cron jobs posted to webhooks, with retries and a DLQ
Paperless NGX DedupeNear-duplicate finder for Paperless-NGX on MinHash and LSH- File HunterSelf-hosted catalogue of archive drives that stays searchable offline
EndstateReinstall apps and restore settings on a fresh Windows PC
More in Payments
See all 9 →
OffPayOffline UPI payments over *99# USSD, with no data connection
SellfSelf-hosted storefront for digital products on the seller's own Stripe account
PandaPayLensPayment error decoder and event timeline that runs in the browser
PartageEnd-to-end encrypted, local-first bill splitting with no accounts
minshopSmall store on Cloudflare Workers that agents can pay- WaltySelf-custodial stablecoin POS for businesses, on a 2-of-3 MPC wallet