84 releases (7 breaking)

Uses new Rust 2024

new 0.10.5 Nov 14, 2025
0.9.5 Oct 22, 2025
0.6.12 Jul 30, 2025
0.3.21 Mar 26, 2025
0.3.2 Dec 6, 2024

#27 in Finance

Download history 1116/week @ 2025-07-26 1749/week @ 2025-08-02 1345/week @ 2025-08-09 807/week @ 2025-08-16 933/week @ 2025-08-23 1121/week @ 2025-08-30 1061/week @ 2025-09-06 1360/week @ 2025-09-13 928/week @ 2025-09-20 729/week @ 2025-09-27 486/week @ 2025-10-04 449/week @ 2025-10-11 591/week @ 2025-10-18 586/week @ 2025-10-25 217/week @ 2025-11-01 146/week @ 2025-11-08

1,591 downloads per month
Used in 2 crates

Apache-2.0

10KB
202 lines

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

~6.5MB
~107K SLoC