| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
jouleclaw fabrics / cuda (linux, RTX 4050 + Vulkan loader) (pull_request) Successful in 18s
jouleclaw fabrics / vulkan (linux, RTX 4050 + Vulkan loader) (pull_request) Successful in 17s
joule-code conformance gate / joule-moq-ingest, every target (pull_request) Successful in 1m37s
joule-code conformance gate / joule-moq-relay, every target (pull_request) Successful in 1m44s
standards workspaces build + test / which workspaces this change touches (pull_request) Successful in 8s
WAI conformance / does this change touch it (pull_request) Successful in 11s
WAI energy receipts / does this change touch it (pull_request) Successful in 5s
WAI JPEG-AI whole decode (pinned inputs, required) / does this change touch it (pull_request) Successful in 10s
WAI neural sink gates / does this change touch it (pull_request) Successful in 5s
wai-ops-gpu integer operators on GPUs / does this change touch it (pull_request) Successful in 5s
repository checks / lockfiles, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Successful in 1m1s
wai-pack / wai-pack · does this change touch it (pull_request) Successful in 5s
wai-quantum studio and desktop / does this change touch it (pull_request) Successful in 5s
wai-quantum WebGPU member / does this change touch it (pull_request) Successful in 5s
WAI mbt2018_mean integer decode (regenerated vectors) / does this change touch it (pull_request) Successful in 5s
wai-web wasm32 / does this change touch it (pull_request) Successful in 5s
standards workspaces build + test / jouleclaw-rs (-nodebug, jouleclaw/jouleclaw-rs, -p jouleclaw-energy --features rapl,nvml, jouleclaw-rs, linux-arm64, -C target-feature=+fp16) (pull_request) Successful in 3m28s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 4m12s
standards workspaces build + test / joulecontract-rs (joulecontract/joulecontract-rs, joulecontract-rs, linux-arm64, true) (pull_request) Successful in 58s
standards workspaces build + test / mesh-rs (mesh/mesh-rs, -p mesh-engine-gguf -p mesh-openai --features mesh-engine-gguf/gguf,mesh-openai/server, mesh-rs, linux-arm64) (pull_request) Successful in 58s
wai-quantum WebGPU member / member · DX12 and Vulkan (cbio-windows) (pull_request) Successful in 12m57s
wai-quantum WebGPU member / member · integrated GPU, Vulkan (framework-128gb) (pull_request) Successful in 7m38s
standards workspaces build + test / openpay (openpay, openpay, linux-arm64) (pull_request) Successful in 3m41s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 15s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 12s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 24s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 2m20s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 16m38s
wai-pack / wai-pack · linux-arm64 (pull_request) Successful in 1m19s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 7m43s
wai-pack / wai-pack · the floor through a media prober (pull_request) Successful in 28s
wai-pack / wai-pack · dependency licences (pull_request) Successful in 1m50s
wai-pack / wai-pack · independent verifier (Python) (pull_request) Successful in 4m39s
wai-quantum WebGPU member / member · discrete GPU, Vulkan (jetson-hub) (pull_request) Successful in 28m23s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 34m50s
joule-code conformance gate / Build + round-trip C1-C4 vectors (pull_request) Successful in 2m44s
joule-moq-room room service / joule-moq-room · does this change touch it (pull_request) Successful in 5s
joule-moq-web browser client / joule-moq-web · does this change touch it (pull_request) Successful in 5s
joule-moq-room room service / joule-moq-room, every target (pull_request) Successful in 55s
wai-web reach builds / wai-web reach · does this change touch it (pull_request) Successful in 5s
jouleclaw public surface must stay documented / Public-surface audit (jouleclaw-rs) (pull_request) Successful in 59s
standards workspaces build + test / jcp-rs (jcp-conformance, jcp/jcp-rs, -p jcp-energy --features nvml, jcp-rs, linux) (pull_request) Successful in 2m4s
standards workspaces build + test / eoc-rs (eoc/eoc-rs, -p eoc-meter --features cuda, eoc-rs, linux) (pull_request) Successful in 2m13s
standards workspaces build + test / joule-ui-rs (joule-ui/joule-ui-rs, joule-ui-rs, linux) (pull_request) Successful in 1m13s
standards workspaces build + test / joulehook-rs (joulehook/joulehook-rs, joulehook-rs, linux) (pull_request) Successful in 1m12s
standards workspaces build + test / proof-rs (proof-conformance, proof/proof-rs, proof-rs, linux, true) (pull_request) Successful in 1m33s
standards workspaces build + test / sandbox-rs (sandbox-conformance, sandbox/sandbox-rs, -p sandbox-tee --features amd-kds,intel-pcs, sandbox-rs, linux) (pull_request) Successful in 3m0s
standards workspaces build + test / smart-byte-rs (smart-byte/smart-byte-rs, smart-byte-rs, linux) (pull_request) Successful in 4m9s
WAI conformance / quantum core and corpus under wasm32-wasip2 (wasmtime) (pull_request) Successful in 2m13s
WAI conformance / cross-arch byte-equality · linux (pull_request) Successful in 29s
WAI energy receipts / energy receipts · linux (pull_request) Successful in 10m20s
WAI conformance / cargo-class corpora · linux (pull_request) Successful in 18m57s
WAI neural sink gates / model-free refusals of the neural sink (pull_request) Successful in 1m23s
wai-ops-gpu integer operators on GPUs / builds · no adapter is not a pass (linux) (pull_request) Successful in 1m40s
WAI JPEG-AI whole decode (pinned inputs, required) / fetch pinned JPEG-AI inputs → whole decode + pixel hash, required (pull_request) Successful in 6m54s
wai-pack / wai-pack · linux (pull_request) Successful in 1m34s
wai-quantum studio and desktop / studio · browser (pull_request) Successful in 2m35s
wai-quantum WebGPU member / shader checks · browser build · wasip2 inertness · MSRV (pull_request) Successful in 3m8s
wai-quantum WebGPU member / member · software Vulkan (linux) (pull_request) Successful in 2m5s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 4m20s
WAI mbt2018_mean integer decode (regenerated vectors) / regenerate mbt2018_mean integer vectors → Rust decode, required (pull_request) Successful in 5m23s
wai-web reach builds / wai-web reach builds · the package of record, every output as recorded (pull_request) Successful in 3m1s
wai-web reach builds / wai-web reach builds · this tree's wai-web, every rung on its engine line (pull_request) Successful in 4m42s
jouleclaw fabrics / metal (macOS, Apple GPU) (pull_request) Successful in 1m25s
standards workspaces build + test / macOS energy backends (pull_request) Successful in 11m19s
standards workspaces build + test / jouledesk-rs (jouledesk/jouledesk-rs, jouledesk-rs, macos) (pull_request) Successful in 5m13s
WAI conformance / cargo-class corpora · macos (pull_request) Successful in 23m35s
WAI conformance / cross-arch byte-equality · macos (pull_request) Successful in 26s
WAI conformance / codec wrappers · fuzz smoke, text decode limits, C entry points, provenance, the semantic path (pull_request) Successful in 58s
WAI energy receipts / energy receipts · macos (pull_request) Successful in 7m45s
wai-ops-gpu integer operators on GPUs / Metal GPU and browser WebGPU (macos) (pull_request) Successful in 2m52s
wai-pack / wai-pack · macos (pull_request) Successful in 1m17s
wai-quantum studio and desktop / desktop app · macos (pull_request) Successful in 3m23s
wai-quantum WebGPU member / member · Metal (macos) (pull_request) Successful in 3m0s
wai-quantum WebGPU member / member · browser WebGPU (macos) (pull_request) Successful in 1m43s
joule-moq-web browser client / joule-moq-web · browser end-to-end (macos) (pull_request) Successful in 6m45s
Every workspace lockfile was checked against the RustSec database as of 2026-10-22.
What our code reaches is fixed here.
- wasmtime 43 -> 50 in sandbox-rs, whose wasm executor runs untrusted guests:
- RUSTSEC-2026-0379 (Cranelift on aarch64 can jump to the wrong target on a large
br_table);
- RUSTSEC-2026-0327 (an unvalidated callback result count overflows a native stack);
- RUSTSEC-2026-0269 (filesystem sandbox escape through trailing slashes);
- and the rest of the 2026 wasmtime advisories.
The core module API it uses compiles unchanged. WASMTIME_VERSION, which attestations
record, is now 50.0.0, as are the spec's example and two test samples.
- Compatible updates in 13 workspaces:
- rustls 0.23.46 (RUSTSEC-2026-0285, 0346, 0348, 0349);
- rustls-webpki 0.103.16, webpki-roots 1.0.10 and webpki-root-certs 1.0.10
(distrusted emSign intermediates, RUSTSEC-2026-0381 to 0383);
- quinn-proto 0.11.19 (remote panics and memory exhaustion, RUSTSEC-2026-0185, 0338
to 0343);
- h2 0.4.20 (RUSTSEC-2026-0258);
- tokio 1.54.1 (RUSTSEC-2026-0384);
- crossbeam-epoch 0.9.21 (RUSTSEC-2026-0204).
- quick-xml 0.36 -> 0.42 (RUSTSEC-2026-0194 and 0195: quadratic duplicate-attribute
checks and unbounded namespace allocation) where outside XML is parsed:
- openpay's op-screening sanctions-list updater (OFAC SDN, UN, EU), op-3ds2, op-batch
and op-iso20022;
- jouleclaw's OpenVINO IR loader and Maltego TRX parser.
Each reference (&, &) now arrives as its own event. The parsers gather an
element's text from both kinds of event and trim it once, so names keep their spaces.
Attribute values go through normalized_value. The EU parser had kept `&` in
wholeName literally; it now reads as `&`. New tests cover references in every list
format and in TRX values, fields and messages.
- joule-code-collab's MLS keying test moves to openmls 0.9.1 (matching joule-moq-mls),
removing hpke-rs 0.2.0 (RUSTSEC-2026-0069 to 0072) from the lockfile. It was a
dev-dependency only.
- op-3ds2 drops an unused rsa dependency (RUSTSEC-2023-0071 has no fix).
Left as they are, and why:
- zip < 9 is only a transitive dependency (c2pa, candle, a build helper of livekit). No
code of ours calls its extract().
- open_board_format reads .obz in memory in a test only. aac-core's import accepts
stored entries alone, so nothing is inflated.
- rsa via c2pa and sandbox-tee is used for public-key verification, which Marvin does
not reach.
- h2 0.3 (via hf-hub's reqwest 0.11), hickory-proto 0.25, libcrux-kem 0.0.9 (via
hpke-rs-libcrux), pyo3 0.28 and rkyv 0.7 (via rust_decimal) are client-side or
unused paths with no patched release on their lines. They are noted for the next
dependency round.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
||
| .. | ||
| .github/workflows | ||
| compliance | ||
| crates | ||
| docs | ||
| examples | ||
| vocab | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
OpenPay
An open, reference payment-acceptance stack in Rust.
A single safety-critical core compiled to every platform — iOS, Android, browser, Linux — that runs the full payment lifecycle: tap-to-pay, vault, on-device fraud, multi-rail routing, double-entry ledger, reconciliation, settlement, refunds, disputes. Apache-2.0. No per-transaction fee to OpenPay.
OpenPay is for merchants, banks, fintechs, and public-sector deployers who want to accept payments without paying a tax on every transaction to a hosted SaaS, and without ceding control of the routing, fraud, and ledger logic that decides whether their business runs.
Why this exists
The modern payment stack is built around assumptions that no longer hold:
- Card networks aren't the only rail anymore. FedNow, PIX, UPI, SEPA Instant clear in seconds, at near-zero cost, with no chargeback window. A merchant that can route across rails — card to A2A, primary PSP to backup PSP — captures revenue that a card-only stack drops on the floor.
- Fraud has to be decided before the rail. A2A settlements are irrevocable in <20s. There is no "refund the fraud later" with FedNow or PIX. The fraud decision has to run on the merchant device, pre-routing, in milliseconds — not in a cloud-hosted post-hoc batch job.
- The ledger is the system of record. Most stacks treat the ledger as a derived view of PSP webhooks. OpenPay treats it as a first-class append-only graph with bi-temporal history, so you can ask "what was this account's balance on May 4th, as we knew it on May 5th?" as a single query, not a six-week archaeology project.
- Software shouldn't tax money movement. Stripe Terminal, Adyen, Square — all charge per-transaction fees on top of interchange. OpenPay is Apache-2.0 software. You pay the rails. You don't pay OpenPay.
What's in the box
OpenPay is a multi-crate Rust workspace plus reference examples, organized into five tiers. Each tier depends only on the tiers below it.
┌──────────────────────────────────────────────────────────────────────┐
│ TIER 5 — FFI + CLI │
│ op-ffi-swift op-ffi-jni op-wasm op-cli │
│ iOS / macOS Android browser operator command line │
├──────────────────────────────────────────────────────────────────────┤
│ TIER 4 — Deployment │
│ op-server op-refund op-dispute op-settlement op-subscriptions │
│ HTTP API refunds disputes batch payouts recurring billing │
│ op-driver-sdk op-fx │
│ driver authors FX conversion + quote providers │
├──────────────────────────────────────────────────────────────────────┤
│ TIER 3 — Orchestration & ledger │
│ op-orchestrator op-ledger op-reconciliation op-graph │
│ routing + retry double- ledger ↔ bank Minigraf-backed │
│ + idempotency entry statement diff stores (Datalog, │
│ + 3DS resume append-only bi-temporal) │
├──────────────────────────────────────────────────────────────────────┤
│ TIER 2 — Rails & risk │
│ op-rails-card op-rails-a2a op-rails-crypto op-fraud op-webhook │
│ Hyperswitch FedNow / PIX USDC on Base / on-device Stripe-shaped │
│ driver / SEPA Instant Ethereum / etc. scoring outbound │
├──────────────────────────────────────────────────────────────────────┤
│ TIER 1 — Foundation │
│ op-core op-iso20022 op-emv op-vault │
│ typed PACS/PAIN/ EMV TLV token-only │
│ money, CAMT parser storage │
│ typestate │
│ payments │
└──────────────────────────────────────────────────────────────────────┘
| Crate | Responsibility |
|---|---|
op-core |
Domain types: Money, Currency, Payment<S> typestate machine, PaymentMethod, RailKind. No f64 money. PAN never appears in default builds. |
op-iso20022 |
Thin facade over the open-payments-iso20022 crates. PACS/PAIN/CAMT message helpers and Camt053Source for statement parsing. |
op-emv |
BER-TLV codec for parsing EMV tap blobs from iOS Secure Enclave / Android StrongBox. |
op-vault |
Token-only storage. Vault trait + reference InMemoryVault (AES-256-GCM-SIV). |
op-rails-card |
CardAcquirer trait + Hyperswitch driver + Stripe-compatible patterns. |
op-rails-a2a |
A2aAcquirer trait + drivers for FedNow, PIX (Bacen SPI), SEPA Instant (RT1/TIPS). Direct ISO 20022, no PSP intermediary. |
op-rails-crypto |
Stablecoin rail. CryptoGateway trait + EvmJsonRpcGateway (feature evm) for USDC on Base / Ethereum / Polygon / Arbitrum, with a hand-rolled ERC-20 calldata encoder. LocalKeyEvmSigner (k256 + RLP, EIP-155) ships behind the same feature for hot-wallet operators; production deployments wire Fireblocks / KMS / multisig behind the EvmSigner trait. |
op-fraud |
On-device scoring. Scorer trait with three backends: heuristic, ONNX (via ort), and pure-Rust Burn. |
op-webhook |
Outbound event delivery with Stripe-compatible signing + auto-disable on chronic failure. Real HTTPS delivery via ReqwestTransport (feature reqwest-transport); MockTransport for tests. |
op-orchestrator |
Routing across rails, idempotency, soft-failure fallback, 3DS / SCA resume. The "main" library API. |
op-ledger |
Double-entry append-only ledger. Transaction, Entry, Account, Balance. |
op-reconciliation |
Ledger vs. bank-statement diffing. Deterministic UUID v5 matching. |
op-graph |
Minigraf-backed implementations of every domain store (LedgerStore, WebhookStore, ReconciliationStore, RefundStore, DisputeStore, SettlementStore, SubscriptionStore, IdempotencyStore). Bi-temporal history, Datalog queries, audit report builder — all persisted to one .graph file. |
op-refund |
Refund state machine: Requested → Submitted → Approved → Settled. |
op-dispute |
Chargeback / dispute workflow with evidence attachment. |
op-settlement |
Batch settlement, holdback computation, and NACHA payout-file generation. |
op-subscriptions |
Recurring billing: plans, intervals (calendar-aware), trial periods, dunning policy, proration math. |
op-fx |
Foreign-exchange primitives: Quote, QuoteProvider trait, integer-exact convert with banker's rounding, StaticQuoteProvider + CachedQuoteProvider ref impls. |
op-server |
Axum HTTP server with env-driven main. POST /v1/intents + /v1/intents/resume + /v1/refunds + /v1/disputes + /v1/settlement/batches + /v1/subscriptions + /v1/fx/quote + /v1/audit/report. API-key auth + token-bucket rate-limit middleware. Auto-registers a usdc-base rail when OP_BASE_RPC_URL + OP_USDC_BASE_PRIVATE_KEY are set. |
op-cli |
op command for operator ergonomics. 14 subcommands across health, refund, dispute, batch, subscription, FX, webhooks, audit. |
op-driver-sdk |
For driver authors. DeterministicCardAcquirer / DeterministicA2aGateway / DeterministicCryptoGateway mocks + conformance::run_card / run_a2a / run_crypto harnesses that catch contract violations in custom drivers. |
op-ffi-swift |
Swift bridge via swift-bridge + C ABI. Generates OpenPay.swift + C header. |
op-ffi-jni |
Android bridge via JNI. Opaque handles in Kotlin; PAN never crosses the boundary. |
op-wasm |
Browser / Node.js bridge via wasm-bindgen. |
Status
v0.1.0. This is a reference stack: the architecture is complete and the code compiles, runs, and tests cleanly across all platforms, but no part of it has been certified by a card scheme, audited by a PCI QSA, or run in regulated production. Use it as a starting point, not as one.
Workspace phases 0 through 31 are implemented end-to-end — foundation, rails (card / A2A / crypto), orchestrator with 3DS resume, ledger with bi-temporal time-travel, settlement + payout file generation, subscriptions, FX, webhook delivery, HTTP API, driver SDK with conformance harness, single-file Minigraf persistence across every domain store, and an operator bring-up sprint that ships a real EVM signer (LocalKeyEvmSigner via k256), env-driven config, an op CLI, and a demo-merchant example you can run on a laptop against Base mainnet.
cargo test --workspace is 1124 passing, 0 failing; feature-gated paths add 28 EVM + 111 reqwest-transport tests. cargo clippy --workspace --all-targets is zero warnings.
See docs/ for the per-phase progress documents that capture design intent and rationale.
Quick start
Library: take a card payment
use op_core::{Currency, Money, Payment, PaymentMethod, RailKind, VaultRef};
use op_rails_card::{
acquirer::{AuthRequest, ThreeDsMode},
hyperswitch::HyperswitchClient,
CardAcquirer,
};
use uuid::Uuid;
let acquirer = HyperswitchClient::new(HyperswitchClient::SANDBOX, api_key);
let amount = Money::from_minor(10_00, Currency::USD); // $10.00
let method = PaymentMethod::Vault(VaultRef::new("tok_test_visa"));
let payment = Payment::new(amount, method.clone(), RailKind::Card);
let auth = acquirer.authorize(&AuthRequest {
amount,
method,
auto_capture: false,
idempotency_key: Uuid::now_v7().simple().to_string(),
three_ds: Some(ThreeDsMode::Skip),
metadata: None,
})?;
// The typestate machine enforces lifecycle correctness at compile time.
// You cannot refund a Payment<Created>; you must Capture first.
let authorized = payment.authorize(auth.psp_payment_id.clone());
let captured = authorized.capture(amount)?;
let refunded = captured.refund(amount)?;
Full source: examples/headless-server/src/main.rs.
Library: route across rails with the orchestrator
use op_fraud::HeuristicScorer;
use op_orchestrator::{Orchestrator, PolicyRouter, PaymentIntent, IdempotencyKey};
use op_core::{Currency, Money, PaymentMethod, VaultRef};
let orchestrator = Orchestrator::new()
.with_scorer(Box::new(HeuristicScorer::new()))
.with_router(Box::new(PolicyRouter::new(
vec!["hyperswitch".into(), "stripe".into()], // card driver priority
vec!["fednow".into()], // A2A driver priority
)));
// ... register CardAdapters and A2aAdapters ...
let intent = PaymentIntent::new(
IdempotencyKey::new("ORDER-001"),
Money::from_minor(12_99, Currency::USD),
PaymentMethod::Vault(VaultRef::new("tok_visa_4242")),
);
let outcome = orchestrator.run(&intent)?;
// outcome.terminal_status → Approved / RequiresCustomerAction / Declined
// outcome.attempts → full retry / fallback trail
// outcome.psp_payment_id, .uetr → settlement references
A replay with the same IdempotencyKey returns the cached outcome without touching the rail — no double charges. A soft failure on the primary PSP transparently falls back to the backup; a hard decline does not. Full source with five end-to-end scenarios: examples/kiosk-linux/src/main.rs.
Server
cargo run -p op-server
# POST /v1/intents { amount_minor, currency, method, ... }
# POST /v1/refunds { original_payment_id, amount, ... }
# POST /v1/disputes { original_payment_id, reason, ... }
# POST /v1/settlement/batches
# GET /v1/audit/report?tx_count=100
op-server ships with in-memory stores so it runs out of the box. Operators replace the stores with their persistent backends (e.g. op-graph for Minigraf, or their own LedgerStore impl) by wiring a different AppState into the exported router(AppState) function.
Mobile and web
The FFI crates produce native bindings:
- iOS / macOS:
cargo build -p op-ffi-swift→ generatesOpenPay.swift+ C header. - Android:
cargo build -p op-ffi-jni --target aarch64-linux-android→ loadable.sowithJava_dev_openpay_*symbols. - Browser:
wasm-pack build crates/op-wasm→ JS module.
Card data is held behind opaque handles on every FFI boundary. The PAN never crosses into Swift, Kotlin, or JavaScript.
Project layout
openpay/
├── Cargo.toml # workspace: 26 member crates + 3 examples
├── crates/ # the OpenPay stack
├── examples/
│ ├── headless-server/ # single-payment lifecycle via op-rails-card
│ ├── kiosk-linux/ # full orchestrator with multi-rail fallback
│ └── demo-merchant/ # generates a fresh wallet, listens for USDC on Base
├── docs/ # per-phase progress documents (NN-name-progress.md)
│ └── deploy/ # Caddyfile, systemd unit, env sample, launch.sh
└── tests/ # workspace-level integration tests
Design principles
These aren't conventions; they're enforced by the type system or by the build.
- No
f64money.Moneyis integer minor units paired withCurrency. There is no floating-point money type inop-core, and you can't addMoney(USD)toMoney(EUR)— the operation does not compile. - Typestate payment lifecycle.
Payment<Created>,Payment<Authorized>,Payment<Captured>,Payment<Refunded>are distinct types. Refunding before capture is a compile error, not a runtime check. - No PCI scope in default builds. The
PaymentMethodenum has no raw-PAN variant unless you turn on thepci-scopefeature. Orchestrators, fraud scorers, and FFI bridges only ever seeVaultRef(opaque token) orEmv(SecureBlob). - Append-only ledger. Entries are never updated or deleted. Corrections are themselves entries. Bi-temporal history (via
op-graphover Minigraf) is free, not bolted on. - One core, every platform.
op-core,op-fraud,op-vaultareno_std-friendly and compile to iOS, Android, WASM, and Linux from the same source. The HTTP server lives in its own crate so the device builds never pull intokiooraxum. - Drivers are external and verifiable. Operators write their own
CardAcquirer/A2aAcquirerimplementations and runop_driver_sdk::conformance::run_card(&driver)?to catch contract violations before deployment.
Toolchain
- Rust 1.95 (edition 2024). The MSRV is pinned in
Cargo.tomland enforced by CI. - The release profile uses
lto = "fat",codegen-units = 1, and symbol stripping. The device-side builds are designed to be small.
Documentation
The docs/ directory holds a NN-name-progress.md file for each implementation phase. They are not user manuals — they capture the design choices, the alternatives considered, and the rationale that the code can't express on its own. If you want to know why the ledger is graph-backed, why the orchestrator owns idempotency, or why we swapped IndraDB for Minigraf mid-build, start there.
Contributing
OpenPay is early. The contributions that help most right now:
- Driver implementations for additional PSPs and A2A rails. The
op-driver-sdkconformance harness will tell you whether your driver behaves. - Backend implementations of
LedgerStore,WebhookStore,ReconciliationStoreagainst your persistence layer of choice. - Platform glue for the FFI bridges — Swift package, Android AAR, NPM package.
- Test vectors for ISO 20022 messages, EMV tags, and reconciliation scenarios.
Discussions and PRs welcome.
License
Apache-2.0. See LICENSE.