Pluggable compliance and audit infrastructure for modern financial applications.
Finance-grade double-entry accounting, period controls, and compliance — shipped as TypeScript packages you import.
TypeScript packages for your Next.js frontend. REST API for your Rails backend. Same PostgreSQL. Zero duplication.
Type-safe schemas with direct RAVNPRO database compatibility.
Monorepo that builds all 9 packages in seconds.
Every state change emits a typed event with actor, timestamp, and reason.
JE-2026-00412, not UUIDs. Printable, communicable, auditable.
import { generateJournalEntryId, LEDGER_EVENTS } from 'blackstar-shared' // Human-readable, audit-ready const id = generateJournalEntryId(2026, 412) // → "JE-2026-00412" // Type-safe event emission emit( LEDGER_EVENTS.JOURNAL_ENTRY_POSTED, { business_id: id } )
Clone, install, build. Start importing financial primitives.
$ git clone drk-mattr/blackstar $ pnpm install $ pnpm -r build ✓ 9 packages compiled