105 releases (5 breaking)

new 0.6.11 Jul 15, 2025
0.6.7 Jun 26, 2025
0.3.21 Mar 26, 2025
0.3.2 Dec 6, 2024
0.2.30 Jul 23, 2024

#921 in Magic Beans

Download history 182/week @ 2025-03-28 272/week @ 2025-04-04 605/week @ 2025-04-11 289/week @ 2025-04-18 9/week @ 2025-04-25 197/week @ 2025-05-02 190/week @ 2025-05-09 127/week @ 2025-05-16 128/week @ 2025-05-23 99/week @ 2025-05-30 130/week @ 2025-06-06 440/week @ 2025-06-13 346/week @ 2025-06-20 109/week @ 2025-06-27 220/week @ 2025-07-04 253/week @ 2025-07-11

992 downloads per month

Apache-2.0

680KB
18K SLoC

Cala

Cala is a robust ledger system developed by Galoy, designed to handle complex financial transactions and accounting operations. It provides a flexible and scalable solution for managing financial records with strong consistency guarantees.

Features

Core Capabilities

  • Double-Entry Accounting: Built-in support for double-entry bookkeeping principles ensuring accurate financial records
  • SQL-Compatible: Engineered to work with SQL databases (PostgreSQL) for robust data persistence and querying
  • Strong Consistency: Ensures accuracy and reliability of financial records
  • Real-time Processing: Efficient transaction processing suitable for production financial systems

API & Integration

  • GraphQL API: Modern API interface with built-in playground for easy integration and testing
  • Extensible Architecture: Modular design with support for custom extensions via the Node.js bindings
  • Transaction Templates: Customizable transaction templates for common financial operations
  • Multi-Currency Support: Handle transactions across different currencies

Developing

Dependencies

Nix package manager

direnv >= 2.30.0

Docker

Testing

Run unit tests with:

make reset-deps next-watch

Run end-to-end tests with:

make e2e

Running the Server

To run the server:

make run-server

Dependencies

~60–81MB
~1.5M SLoC