20 releases

new 0.3.19 Mar 20, 2025
0.3.18 Mar 19, 2025
0.3.14 Feb 20, 2025
0.3.3 Jan 30, 2025
0.3.2 Dec 6, 2024

#253 in Database interfaces

Download history 510/week @ 2024-12-02 291/week @ 2024-12-09 210/week @ 2024-12-16 167/week @ 2024-12-23 107/week @ 2024-12-30 221/week @ 2025-01-06 33/week @ 2025-01-13 217/week @ 2025-01-27 1248/week @ 2025-02-03 816/week @ 2025-02-10 711/week @ 2025-02-17 363/week @ 2025-02-24 618/week @ 2025-03-03 1090/week @ 2025-03-10 926/week @ 2025-03-17

3,007 downloads per month
Used in 3 crates

Apache-2.0

48KB
1.5K 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

~42–57MB
~1M SLoC