[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112047":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":9,"totalLinesOfCode":9,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":9,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":32,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":36,"discoverSource":37},112047,"ledgerforge","devaccuracy\u002Fledgerforge","devaccuracy","The ledger for AI-native money movement. An open-source double-entry ledger for wallets, payouts, marketplaces and billing, with exact integer money, a verifiable audit chain, server-enforced spending limits and approvals for AI agents, and an MCP server. Apache 2.0.",null,"https:\u002F\u002Fgithub.com\u002Fdevaccuracy\u002Fledgerforge","Go",377,37,7,1,0,2,29,120,8,70.17,false,"main",[25,26,27,28,29,30,31],"ai-tools","fintech","ledger","billing","double-entry-accounting","payout","wallet","2026-10-16 14:24:54","2026-11-23 18:23:56","\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fledgerforge.io\">\n    \u003Cpicture>\n      \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fassets\u002Fwordmark-dark.png\">\n      \u003Cimg src=\"docs\u002Fassets\u002Fwordmark-light.png\" alt=\"LedgerForge\" width=\"300\">\n    \u003C\u002Fpicture>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">The ledger for AI-native money movement\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  The system of record for fintech wallets, payouts, marketplaces and billing —\n  with spending limits that keep AI agents in check and an audit trail you can prove.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdevaccuracy\u002Fledgerforge\u002Freleases\u002Flatest\">\u003Cimg alt=\"Latest release\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fdevaccuracy\u002Fledgerforge?sort=semver\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdevaccuracy\u002Fledgerforge\u002Factions\u002Fworkflows\u002Fgo.yml\">\u003Cimg alt=\"Build and Test\" src=\"https:\u002F\u002Fgithub.com\u002Fdevaccuracy\u002Fledgerforge\u002Factions\u002Fworkflows\u002Fgo.yml\u002Fbadge.svg?branch=main\">\u003C\u002Fa>\n  \u003Ca href=\"LICENSE.md\">\u003Cimg alt=\"License: Apache 2.0\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fdevaccuracy\u002Fledgerforge\">\u003C\u002Fa>\n  \u003Ca href=\"go.mod\">\u003Cimg alt=\"Go 1.26.9 or later\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FGo-1.26.9%2B-00ADD8?logo=go&amp;logoColor=white\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fdevaccuracy\u002Fledgerforge\">\u003Cimg alt=\"Go Reference\" src=\"https:\u002F\u002Fpkg.go.dev\u002Fbadge\u002Fgithub.com\u002Fdevaccuracy\u002Fledgerforge.svg\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fledgerforge.io\">\u003Cstrong>Website\u003C\u002Fstrong>\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fledgerforge.io\u002Fdocs\">\u003Cstrong>Docs\u003C\u002Fstrong>\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fledgerforge.io\u002Fcloud\">\u003Cstrong>Cloud\u003C\u002Fstrong>\u003C\u002Fa> ·\n  \u003Ca href=\"CHANGELOG.md\">\u003Cstrong>Changelog\u003C\u002Fstrong>\u003C\u002Fa> ·\n  \u003Ca href=\"ROADMAP.md\">\u003Cstrong>Roadmap\u003C\u002Fstrong>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"#open-source-and-ledgerforge-cloud\">Open-source core (Apache 2.0)\u003C\u002Fa> ·\n  Managed with \u003Ca href=\"https:\u002F\u002Fledgerforge.io\u002Fcloud\">LedgerForge Cloud\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fledgerforge.io\u002Fcontact\u002Fus?interest=enterprise\">Enterprise\u003C\u002Fa>\n\u003C\u002Fp>\n\nLedgerForge is an open-source double-entry ledger. It records wallet transfers,\npayouts, billing activity, reservations and refunds in exact integer units,\nbacks that history with a verifiable audit chain, and enforces spending\npolicies on every API key, including the keys your AI agents use. Use it\nthrough an HTTP API, a Go library or a local MCP server.\n\nPostgreSQL stores the financial records and Redis runs queues and background\nworkers; search and observability services are optional. LedgerForge records\nmoney movement. Connecting payment rails and defining your accounting model\nremain application responsibilities.\n\n## Use cases\n\n- **Wallets and stored value:** a balance per customer or account, inflight\n  holds that reduce spendable funds, bounded overdrafts and linked refunds.\n- **Payouts and disbursements:** reserve funds while a payout is in flight,\n  commit or void the reservation when the rail reports back, and reconcile\n  against external records.\n- **Marketplaces:** split one payment across seller, fee and platform balances\n  with deterministic allocation, so the legs always sum to the total.\n- **Usage-based billing:** record metered charges in exact units, queue or\n  schedule them, and retry safely with idempotent references.\n- **AI agents moving money:** give each agent its own API key with currency\n  limits, allowlists, daily budgets and approval holds that the server\n  enforces, and connect agents through the [MCP server](docs\u002Fmcp.md).\n\n## Why LedgerForge\n\n- **Exact money:** integer postings, explicit precision and deterministic\n  splits; see the [accounting guarantees](#accounting-guarantees).\n- **A verifiable ledger:** read-only `ledgerforge verify` replays accounting\n  evidence. Versioned audit chains and exportable checkpoints support\n  `audit verify --anchor` against independently retained roots. See the\n  [verification guide](docs\u002Fverification.md) for coverage and legacy limits.\n- **Agent guardrails:** per-key currency and precision limits, balance and\n  ledger allowlists, durable daily reservations and approval holds, enforced by\n  the server rather than the client. Delegated keys inherit restrictions and\n  share ancestor budgets. Bind MCP to an API key and keep independent approver\n  credentials outside the agent's authority. See\n  [agent safety](docs\u002Fagent-safety.md) and the\n  [executable policy example](examples\u002Fagent-policy\u002FREADME.md).\n- **A hardened API:** owner-bound key management, constrained delegation,\n  authoritative revocation checks, bounded input and sanitized backend errors.\n  Dedicated webhook signing secrets and destination controls protect outbound\n  integrations. See [security operations](docs\u002Fsecurity.md).\n- **Tested invariants:** exact-amount and allocation fuzz targets, generated\n  PostgreSQL operation sequences, balance conservation checks and race tests\n  for financial lifecycle and spending-capacity transitions.\n- **Operational workflows:** inflight reservations, partial settlement,\n  refunds, split and bulk transfers, reconciliation, lineage, snapshots and\n  optional search, metrics and OpenTelemetry.\n- **Traceable releases:** binaries for Linux, macOS and Windows, multi-platform\n  images, checksums, SPDX SBOMs and image attestations, published only after\n  the test, vulnerability and fuzz gates pass.\n\n## Accounting guarantees\n\n- **Exact amounts:** postings and balance arithmetic use integer units. Supply\n  `precise_amount` with an explicit `precision` to avoid floating-point input\n  loss; `1250` at precision `100` represents `12.50`.\n- **Double entry:** each applied transfer debits its source and credits its\n  destination by the same amount. Split transfers distribute that amount\n  across their legs.\n- **Immutable postings:** corrections and refunds create linked transactions.\n  Financial postings and accepted execution controls are preserved; customer\n  metadata can be updated.\n- **Idempotency by reference:** reuse the same unique transaction `reference`\n  after a timeout. Duplicate references are rejected; look up the original\n  outcome instead of retrying with a new reference.\n\nSee [ledger concepts](docs\u002Fconcepts.md) for amount handling, balance semantics\nand asynchronous transaction states.\n\n## Quickstart: a balanced transfer\n\nRequires Docker with Compose and Python 3:\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Fdevaccuracy\u002Fledgerforge.git\ncd ledgerforge\n.\u002Fexamples\u002Fquickstart\u002Fstart.sh\n.\u002Fexamples\u002Fquickstart\u002Ftransfer.sh\n```\n\nThis **local-only demo** builds the current checkout, generates a random master\nkey, runs migrations and binds the API to `127.0.0.1:5001`. It creates two USD\nbalances and posts `12.50` synchronously using integer units. The source gets a\nbounded demo overdraft of `12.50`; the result is `-1250` and `1250` units, with\nequal total debits and credits. A retry with the same reference must leave\nthose balances unchanged.\n\n```text\nsource: -1250 units\ndestination: 1250 units\ntotal debits = total credits = 1250 units\nreference retry: balances unchanged\n```\n\nStop it with `docker compose -p ledgerforge-demo -f examples\u002Fquickstart\u002Fcompose.yaml down`.\nThe [example guide](examples\u002Fquickstart\u002FREADME.md) covers the API payload,\ncredentials and cleanup. These credentials and database defaults are for local\nuse only; read the [deployment guide](docs\u002Fdeployment.md) before exposing a\nservice.\n\n## Install\n\n- **Release binaries:** download `ledgerforge` and `ledgerforge-mcp` for Linux,\n  macOS or Windows from [GitHub Releases](https:\u002F\u002Fgithub.com\u002Fdevaccuracy\u002Fledgerforge\u002Freleases),\n  then check the archive against `checksums.txt` (`sha256sum -c checksums.txt --ignore-missing`).\n- **Container image:** `docker pull ghcr.io\u002Fdevaccuracy\u002Fledgerforge:1.0.0`. The\n  image contains both binaries; the release lists its digest and SBOMs.\n- **From source:** `go install github.com\u002Fdevaccuracy\u002Fledgerforge\u002Fcmd\u002Fledgerforge@v1.0.0`\n  (Go 1.26.9 or later).\n\nRun `ledgerforge version` to confirm what you installed, then follow the\n[deployment guide](docs\u002Fdeployment.md) and run `ledgerforge migrate up` before\nstarting the server. Before upgrading an existing database, read the\n[integrity upgrade notes](docs\u002Fupgrade-notes.md).\n\n### Run the published image locally\n\n```sh\ncp ledgerforge.example.json ledgerforge.json\n# Replace server.secret_key with a random secret before starting.\n# For example, generate one with: openssl rand -hex 32\ndocker compose up -d\n```\n\nThe config explicitly enables authentication. API requests use the\n`X-LedgerForge-Key` header. Keep `ledgerforge.json` private and out of version\ncontrol. The `:main` image tracks tested main-branch commits; pin a release tag\nor digest in production with `LEDGERFORGE_IMAGE`.\n\n## Open source and LedgerForge Cloud\n\nEverything in this repository is free and open source under\n[Apache 2.0](LICENSE.md): the ledger, verification and audit tooling, agent\nspending policies and approvals, the MCP server and the release artifacts.\nThere are no license keys or feature gates, and you can run it in production\nyourself.\n\nLedgerForge Cloud is a service, not different software: it operates the same\nopen-source core for you.\n\n| | Open source | LedgerForge Cloud | Enterprise |\n| --- | --- | --- | --- |\n| What it is | The software in this repository | Managed LedgerForge deployments, operated per customer | Contracted deployment, support and review services |\n| Ledger, verification, agent policies, MCP server | Included | Same open-source core | Same open-source core |\n| Who operates it | You | The LedgerForge team (dedicated infrastructure per customer) | You or the LedgerForge team, per contract, including in-VPC deployments |\n| Upgrades, backups and monitoring | You | Operated for you | Agreed per contract, with migration and integration assistance |\n| Verification and audit checkpoints | You run `ledgerforge verify` and `audit export` | Scheduled `ledgerforge verify` runs with audit checkpoints exported and anchored for each deployment | Architecture and audit reviews |\n| Support | Community, through GitHub | Onboarding and support | SLA and support plan agreed per contract; priority security response |\n| Hosted multi-tenant service with a dashboard | — | Planned ([roadmap](ROADMAP.md)) | — |\n| Price | Free | Request access | Contact sales |\n| Get started | [Quickstart](#quickstart-a-balanced-transfer) | [Request access](https:\u002F\u002Fledgerforge.io\u002Fcloud) | [Contact sales](https:\u002F\u002Fledgerforge.io\u002Fcontact\u002Fus?interest=enterprise) |\n\n## Documentation\n\nThe [documentation index](docs\u002FREADME.md) lists every guide. Start with:\n\n- [Concepts](docs\u002Fconcepts.md): amounts, balances and transaction states\n- [Deployment](docs\u002Fdeployment.md): secrets, TLS, limits and webhook verification\n- [Verification](docs\u002Fverification.md): accounting replay and external audit anchoring\n- [Agent safety](docs\u002Fagent-safety.md): spending policies and independent approval\n- [Security operations](docs\u002Fsecurity.md): API keys, delegation and rotation\n- [MCP server](docs\u002Fmcp.md): connect AI agents to the ledger\n- [Architecture](ARCHITECTURE.md): package layout and trust boundaries\n\nOnline documentation is at [ledgerforge.io\u002Fdocs](https:\u002F\u002Fledgerforge.io\u002Fdocs).\nThe [roadmap](ROADMAP.md) describes what is planned and the\n[changelog](CHANGELOG.md) records what has shipped.\n\n## Development\n\n```sh\nmake verify\nmake test-integration\nmake vuln\nmake cover\n```\n\n[CONTRIBUTING.md](CONTRIBUTING.md) covers prerequisites, isolated integration\ntests and pull request expectations.\n\n## Community, support and license\n\n- **Bugs and proposals:** use the\n  [issue forms](https:\u002F\u002Fgithub.com\u002Fdevaccuracy\u002Fledgerforge\u002Fissues\u002Fnew\u002Fchoose).\n- **Questions:** start with the [documentation](docs\u002FREADME.md), then open a\n  [question](https:\u002F\u002Fgithub.com\u002Fdevaccuracy\u002Fledgerforge\u002Fissues\u002Fnew?template=question.yml)\n  if it does not help. [SUPPORT.md](SUPPORT.md) covers community and\n  commercial support.\n- **Contributing:** read [CONTRIBUTING.md](CONTRIBUTING.md) and follow the\n  [Code of Conduct](CODE_OF_CONDUCT.md). [GOVERNANCE.md](GOVERNANCE.md) explains\n  how decisions are made.\n- **Security:** report vulnerabilities privately to\n  [security@ledgerforge.io](mailto:security@ledgerforge.io); see the\n  [security policy](SECURITY.md).\n\nLicensed under [Apache 2.0](LICENSE.md). Required notices are in [NOTICE.md](NOTICE.md).\n","LedgerForge 是一个面向 AI 原生场景的开源复式记账系统，专为钱包、分账、电商平台和计费系统设计。核心功能包括：以精确整数单位记录资金流动、基于密码学可验证的审计链、按 API 密钥（含 AI 代理密钥）强制执行支出限额与审批策略，以及内置 MCP 服务器支持。技术上采用 Go 编写，后端依赖 PostgreSQL 存储账务数据、Redis 处理异步任务。适用于需强一致性、可审计性及 AI 代理资金管控能力的金融科技服务，如嵌入 AI 自动化支付决策的 SaaS 计费平台或合规敏感的多边市场分账系统。","2026-11-24 04:42:11","trending"]