bank8 Rust SDK
The unified namespace facade: every bank8 crate imports through
bank8::{service}::{…} - the typed integration surface for every
bank8 API, consumed as a pinned git tag.
use bank8::ledger::contracts::Account;
use bank8::payments::PaymentsClient;
What's in the facade
| Import path | Role |
|---|---|
bank8::ledger::{contracts,…} | accounts, postings, balances, products, config library |
bank8::payments::{contracts,…} | instructions, schemes, mandates |
bank8::accounting::{contracts,…} | chart of accounts, journal, trial balance, statements |
bank8::lending::{contracts,…} | loan products, loans, schedules, arrears |
bank8::branch::{contracts,…} | offices, tellers, cashier sessions, cash movement |
bank8::regulatory::contracts | jurisdiction registry and report-kind contracts shared by reporting, risk and compliance |
bank8::money::{allocate,…} | exact largest-remainder split of an amount by weights - one implementation for dividends, syndication and fee splits |
Contracts live under each module's contracts re-export; each service
module also re-exports its typed client (LedgerClient,
PaymentsClient, AccountingClient, LendingClient, BranchClient)
at the module root. Clients are typed over the platform's BFF proxy
routes. Open-banking contracts live in the OpenFin8 vertical, not here.
Conventions
- The platform arrives via
sentin8::*only (the pinned platform SDK tag); the vertical never links platform service crates directly. - Scopes:
bank8:{service}:{resource}:{action}, runtime-registered at enrollment. - Events:
bank8:{service}:{resource}:{operation}over the platform's local-outbox → Bus producer path.
Deep dive
bank8-sdk reference - harvested from
Bank8-dev/bank8-sdk.