formancehq/ledger

Goformance.com
macOSWindowsLinux

The programmable open source core ledger for fintech

ledger
Star 增长趋势
Star
1.4k
Forks
194
周增长
+7
Issues
17
5001k
2021年7月2023年3月2024年12月2026年9月
制品库Go Modules
README

ledger

Formance Ledger

Formance Ledger is a programmable financial core ledger that provides a foundation for all kind of money-moving applications. It provides an atomic multi-postings transactions system, account-based modeling, and is programmable in numscript, a built-in DSL to model financial transactions.

The ledger can be used either as a standalone micro-service or as part of the Formance Platform. It will shine for financial applications requiring a centralized state-keeping of the assets they orchestrate, such as:

  • Users balances holding apps, where the ownership of funds held in FBO accounts need to be fine-grained in a ledger
  • Digital assets platforms and exchanges, where funds in various denominations are represented
  • Payment systems, where funds are cycled through a series of steps from acquiring to payouts
  • Loan managment systems, where a sophisticated structure of amounts dues and to be disbursed are orchestrated

Is uses PostgreSQL as its main transactional storage layer and comes with a built-in mechanism to ship ledger logs to replica data stores for OLAP optimized querying.

Localhost ⚡

To quickly get started using the Formance Ledger on your computer, you can use the local-optimized, all-in-one docker image:

docker compose -f examples/standalone/docker-compose.yml up

Which will start:

  • A Postgres DB
  • 1 Gateway Server process (Caddy based reverse proxy)
  • 1 Ledger server process
  • 1 Ledger worker process
  • The Console UI

With the system is up and running, you can now start using the ledger:

# Create a ledger
http POST :8080/api/ledger/v2/quickstart
# Create a first transaction
http POST :8080/api/ledger/v2/quickstart/transactions postings:='[{"amount":100,"asset":"USD/2","destination":"users:1234","source":"world"}]'

And get a visual feedback on the Ledger Console UI started on http://localhost:3000/formance/localhost?region=localhost:

console

Production 🛡️

Production usage of the Formance Ledger is (only) supported through the official k8s operator deployment mode. Follow the installation instructions to learn more.

Artifacts 📦

Standalone binary builds can be downloaded from the releases page. Container images can be found on the ghcr registry.

Docs 📚

You can find the exhaustive Formance Platform documentation at docs.formance.com.

Community 💬

If you need help, want to show us what you built or just hang out and chat about ledgers you are more than welcome in our GitHub Discussions - looking forward to see you there!

Contributing 🛠️

See CONTRIBUTING.md

相关仓库
solana-labs/solana

Web-Scale Blockchain for fast, secure, scalable, decentralized apps and marketplaces.

Rustcrates.ioApache License 2.0ledgerblockchain
solanalabs.com
14.9k5.8k
ledger/ledger

Double-entry accounting system with a command-line reporting interface

C++cliOtherledgerplaintext-accounting
ledger-cli.org
6k546
Consensys/quorum

A permissioned implementation of Ethereum supporting data privacy

GoGo ModulesGNU Lesser General Public License v3.0blockchainledger
goquorum.com
4.8k1.3k
Consensys-Incorporated/quorum

A permissioned implementation of Ethereum supporting data privacy

GoGo ModulesGNU Lesser General Public License v3.0blockchainledger
goquorum.com
4.8k1.3k
plaintextaccounting/hledger

Robust, fast, intuitive plain text accounting tool with CLI, TUI and web interfaces.

HaskellcliGNU General Public License v3.0hledgerhaskell
hledger.org
4.7k413
ananthakumaran/paisa

Paisa – Personal Finance Manager. https://paisa.fyi demo: https://demo.paisa.fyi

TypeScriptnpmappGNU Affero General Public License v3.0ledgerledger-cli
paisa.fyi
3.2k214
beancount/fava

Fava - web interface for Beancount

PythonPyPIappMIT Licensebeancountplaintext-accounting
beancount.github.io/fava/
2.6k403
xrpcommunity/XRP-community-wallet

Fully decentralized and the most secure XRP & EVM wallet - built by the community, for the community.

TypeScriptnpmMIT Licenseai-agentcommunity
wallet.xrp.community
2.3k131
floating/frame

System-wide Web3 for macOS, Windows and Linux

JavaScriptnpmGNU General Public License v3.0ethereumdapp
frame.sh
1.2k175
Consensys/cakeshop

An integrated development environment and SDK for Ethereum-like ledgers

JavaScriptnpmlibraryblockchainethereum
goquorum.com
500194