LedgerForge is a financial infrastructure platform building production-grade, open-source ledger systems for teams that move money.
LedgerForge Core is a high-performance double-entry ledger for developers building wallets, billing systems, reconciliation workflows, and money-movement infrastructure with correctness, traceability, and operational control.
Learn more at ledgerforge.io.
This repository contains LedgerForge Core, the open-source ledger engine for self-hosted deployments.
LedgerForge is built for teams evaluating ledger infrastructure locally, then moving toward production deployment when workload, security, and operating requirements are clear. Managed deployment and hosted operations workflows are handled through private onboarding.
The repository preserves upstream Git history and retains the required Apache License 2.0 attribution documented in NOTICE.md.
git clone https://github.com/devaccuracy/ledgerforge.git
cd ledgerforge
cp .env.example .env
cp ledgerforge.example.json ledgerforge.json
{
"project_name": "LedgerForge",
"data_source": {
"dns": "postgres://postgres:password@postgres:5432/ledgerforge?sslmode=disable"
},
"redis": {
"dns": "redis:6379"
},
"server": {
"port": "5001"
}
}
Start the bundled services and LedgerForge containers:
docker compose up
Build and run the CLI directly:
go build -o ledgerforge ./cmd/*.go
./ledgerforge --help
Run database migrations:
./ledgerforge migrate up
LedgerForge is API-first. Teams can run the open-source Core in their own environment and integrate through the HTTP API or wrap ledger workflows in their own services.
go test -short ./...
make build
docker compose config
go test -short ./... covers the hermetic fast path. Service-backed integration tests expect local PostgreSQL and Redis, which you can start with docker compose up.
LedgerForge is derived from an upstream Apache License 2.0 project.
Original Git history, commit authorship, and license notices are preserved for transparency, attribution, and continuity. Additional origin details are documented in NOTICE.md.
LedgerForge Core is maintained as the open-source foundation of LedgerForge's financial infrastructure platform.
Contributions and feedback are welcome. Please read CONTRIBUTING.md and CODE_OF_CONDUCT.md before opening issues or pull requests.
LedgerForge is financial infrastructure software. Please do not open public issues for suspected vulnerabilities. Report security concerns privately to security@ledgerforge.io. See SECURITY.md.
LedgerForge is distributed under the Apache License 2.0. Original upstream copyright and license notices are retained where applicable.
$ claude mcp add ledgerforge \
-- python -m otcore.mcp_server <graph>