formancehq/ledger — reverse-engineered prompt
Reverse engineered prompt
Build me a programmable financial ledger service for money moving products. I want something that can keep a reliable central record of balances, support atomic transactions with multiple postings in one move, and handle different assets or denominations like USD. It should use an account based model so I can move funds between things like users, world, payouts, loans, or exchange wallets and always have a clear history.
Please make it easy to run locally with Docker and Postgres, with a simple setup that brings up the ledger, the worker pieces, and a small web console so I can actually see balances and transactions. I also want a clean HTTP API where I can create a ledger, post a transaction, and query history and balances. If this project already has a built in transaction scripting language, wire that up too so more complex flows can be modeled later.
Keep it practical and close to the existing docs and examples, and look up current docs online if you need to.
Want more depth? Deep Reverse