Developers - building on bank8
The single-repo story
Clone any bank8 service and build - the platform SDK and the bank8 SDK
arrive as pinned git dependencies, and committed .sqlx caches mean
no live database is needed to compile:
git clone https://github.com/Bank8-dev/bank8-ledger.git
cd bank8-ledger
cargo build
cargo test # offline
The vertical lifecycle
make infra-up # platform TLS-only PG 18 + Valkey (the tree's single compose)
sentin8-cli db bootstrap
vertical init # creates the bank8 database + per-service schemas
vertical enroll # registers services, scopes, admin UIs, triggers, ident maps
make start # captain spawns the fleet (platform + bank8 services)
No migration code exists - greenfield: schema changes rewrite the init
SQL and re-run vertical init.
Make targets (group folder)
| Target | Role |
|---|---|
make build | everything (release): the SDK facade, the shared policy harness, every service, and the apps |
make build-sdk | the bank8-sdk facade workspace + bank8-policy-harness |
make build-services | every bank8 service binary |
make test | SDK + harness suites, then every service suite - fails on any failure |
make test-db | the DB-backed suites against the live database (needs .run secrets) |
make test-openapi | the router-to-spec drift guard on every service |
make enroll | register services, scopes, admin UIs, triggers, ident maps |
make status | fleet status (KEY=<ip:port>) |
Integration surface
- Rust: the
bank8facade (see the SDK page) - Flutter:
Bff8ApiClientthrough the platform's Flutter package (see samples) - Events: subscribe to
bank8:{service}:{resource}:{operation}through Sentin8:Bus (declarative triggers at enrollment) - Product logic: author WASM edge functions (Rust and TypeScript
first-class; any WASM producer works) and deploy them to
Sentin8:Func - the ledger fires
pre_posting/post_postinghooks around the atomic commit and hosts them through the proxy-back endpoint. See Extending Bank8. - Admin: the SDUI pages each service serves from
GET /v1/admin/ui/{page}- enrolled as admin scopes, rendered by Sentin8:Dash, no app release per screen.
E2E
bank8-e2e drives the real user flows through the browser + BFF
proxy only - sign-up, org/env creation, teller provisioning, customer
journeys, FDX consent, and the back-office surfaces for accounting,
lending, branch and payments cards - never direct SQL or backend calls.
Deep dive
Every service's full docs live in its reference section - harvested from the public repositories at build time.