Design Ledger System - Follow-up questions - Intuition First, Need more How

Here are solutions for Design Ledger System - Follow-up questions - Intuition First, Need more How.

Main topic:

  • Split into ledger svc and balance svc: Build a ledger and balance svc.

1. Requirements

  1. Create and manage accounts for companies(currency and basic metadata)

  2. Record idempotent, atomic double entry transactions that move funds between accounts with effective timestamp and metadata

  3. query current and point in time balances for one or more accounts

  4. list and filter transaction history for reconciliation and auditing

2. High-level system

Ledger System