Start a project
GitHubLinkedInXInstagramEmail

Fintech · Case Study · Protocol Design · 2026

PayVault

A case study in offline-first fintech infrastructure: a protocol concept for emerging markets that would deliver offline payment guarantees using ECDSA signatures across a resilient seven-layer architecture.

Role
Case Study Author · Design & Architecture
Year
2026
Status
Concept, not deployed
Stack
Node.js · React · PostgreSQL · ECDSA (design target)
PayVault website: No signal. Still paid.
PayVault stationery
PayVault merch

01Context

About this case study

PayVault is a concept and case study, not a shipped product. It has never been deployed, has no production users, and no real transaction volume, so there are no measured results to report. What follows is the design thinking: the problem, the protocol architecture, the trade-offs, and what a real pilot would have to prove.

02Problem

In Nigeria and across Sub-Saharan Africa, unreliable internet connectivity is a constant reality. Millions of people are locked out of digital financial services every day not because they don't have a phone, or a bank account but because a 3G tower went down, or USSD is congested, or the POS machine has no signal.

Existing fintech infrastructure assumes a persistent connection. That assumption fails constantly in emerging markets, and it costs real money for real people.

03Research

The starting point was an analysis of the payment rails already available to people without reliable connectivity. Mobile money over USSD exists, but every transaction depends on a live round-trip to the network, and that round-trip is precisely the thing that fails: sessions time out, USSD channels get congested, and the merchant is left guessing whether the money actually moved.

That failure mode drove the entire design. The transaction has to be settled between two nearby devices first, with no real-time network call at all, and reconciled with the settlement network later. Which means trust has to come from cryptography rather than from a server being reachable at the moment of payment.

This is desk research and reasoning about known failure modes, not field research, the case study stopped short of the merchant and user study a real launch would need.

04Challenges

The Double-Spend Problem

The hardest problem in the case study was designing an escrow mechanism that prevents double-spending without access to a shared ledger. The proposed approach is a deterministic nonce tied to the device clock plus a monotonic counter, so a captured transaction cannot be replayed even while both devices are offline.

This is a design position, not a validated one: the scheme has never been load-tested, adversarially tested, or reviewed by a cryptographer, and clock drift on low-end devices is an open risk I flag rather than solve here.

05My Role

I scoped the problem, designed the seven-layer architecture, specified the payment layer and the cryptographic validation rules, and worked through the interface states an offline flow would have to communicate. This was design and systems work rather than a shipped build, there is no production codebase behind it.

06Architecture

PayVault is designed as a seven-layer offline payment protocol. The intent is to let two parties commit to a transaction using cryptographic proofs while fully offline, then reconcile those proofs with the settlement network once connectivity returns.

  1. User
  2. Signs Intent
  3. Authorization
  4. Locks Funds
  5. Escrow
  6. Encodes Txn
  7. Transport
  8. Scans QR/NFC
  9. Peer Device
  10. Stores Txn
  11. Queue
  12. Connectivity Restored
  13. Settlement

The protocol is structured in distinct layers, including:

  • Identity & Authorization: Cryptographic key-pair generation using secp256k1. The payer signs an intent; the payee verifies the signature locally without a server.
  • Transport & Queuing: Transactions are encoded as QR codes or NFC payloads, then queued in a local SQLite store with a priority ordering algorithm.
  • Reconciliation: When connectivity is restored, queued transactions are batched and submitted to the settlement network.

07Design Process

The UX had to be foolproof. Since users might be offline, the interface needed to communicate transaction finality without a network confirmation. I designed clear, color-coded states and deterministic loading indicators to build trust in the offline process.

08Stack (Design Target)

The stack the protocol was designed around, chosen for performance and reliability on low-end devices. None of it is deployed:

Node.js React Native PostgreSQL SQLite (offline) ECDSA / secp256k1 Supabase

09What This Case Study Produced

PayVault was never deployed, so there are no production metrics to report, no transaction volume, no uptime figure, no market pilots. What the work produced is design artefacts:

  • Protocol architecture: a seven-layer model that separates signing, escrow, transport, queuing, and settlement, so each layer can be replaced or audited on its own.
  • A double-spend argument: a nonce plus monotonic counter scheme intended to make offline replay impractical, written down together with the cases it does not yet cover.
  • Offline UX rules: the states the interface has to express, signed, queued, reconciled, failed, without a network round-trip available to confirm any of them.

10What a Real Pilot Would Have to Prove

If PayVault were taken past the whiteboard, these are the numbers I would insist on measuring before trusting it with other people's money:

  • Settlement integrity: the share of queued offline transactions that reconcile correctly once connectivity returns, including after device loss, app reinstall, or a stalled queue.
  • Replay resistance: whether a captured QR or NFC payload can be replayed by a second device, tested under deliberate clock manipulation rather than assumed away.
  • Offline usability: time to complete a payment and merchant comprehension, measured on the low-end Android hardware the target market actually uses.

11Identity

The protocol needed a face people could trust with money. PayVault’s mark is a shield with a keyhole and a forward arrow: protection and movement in one shape, in deep green and navy.

The line is “Secure payments. Smart future.” and the voice fits in four words: industrial, precise, engineered, confident.

PayVault logo: shield mark and wordmark
PayVault folder with the brand line
PayVault logo on a sweatshirt

12Lessons Learned

Designing PayVault taught me that the most challenging engineering problems are not about writing clever code they are about designing systems that remain correct when all your assumptions break down. Network reliability is an assumption. Clock synchronization is an assumption.

The discipline of adversarial thinking asking "what if this component is unavailable?" at every layer is something I now apply to every system I design, regardless of whether it touches payments.

Want to take PayVault further?

PayVault is an open concept, not a product. I'd like to talk to fintech engineers, cryptographers, or emerging-markets teams who want to push this protocol design towards a real pilot.

Start a project