Poor Network Coverage
Rural towns, remote villages and basements where the signal bar never fills — and payments silently fail.
NexPay is the world's first offline transaction software — a secure payment ecosystem that lets two phones exchange cryptographically-signed value directly via BLE, NFC, QR and Wi-Fi Direct, then auto-reconciles with the cloud the moment connectivity returns.
Created by Jitesh — connect at jiteshprakash.com.np
Design targets from the NexPay specification — not production benchmarks.
Every payment app assumes constant internet, immediate bank authorization, and centralized approval for every transfer. That assumption breaks the moment connectivity does.
Rural towns, remote villages and basements where the signal bar never fills — and payments silently fail.
When storms, floods or blackouts take down towers, cash becomes the only option — even between two smartphones.
Users who run out of prepaid data mid-day lose access to their own money at the worst possible moment.
Stadiums, festivals and markets overload towers — thousands of phones, zero bandwidth for payments.
Shops and kiosks that can't afford connectivity or lose POS connectivity daily revert to cash registers.
Digital trust that doesn't depend on connectivity — bringing the reliability of cash to the modern wallet.
Solve it →NexPay transfers ownership of money using cryptographic proof — enabling trusted peer-to-peer value exchange with no server approval required at the moment of payment.
One wallet, two logical balances. An online balance for internet payments and a cryptographically pre-approved offline reserve for disconnected transfers.
Up to 50% of your balance can be locked into a pre-approved, cryptographically protected offline reserve — refreshable anytime you reconnect.
Every transfer travels as an STP — an atomic, signed payload containing IDs, amount, timestamp, previous hash and an ECDSA signature.
Offline payments use a local prepare → verify → commit handshake so both devices agree before value moves — even with no network.
Each offline transfer links to the previous transaction's hash, forming a micro-block chain that captures full ownership history.
When connectivity returns, pending STPs upload automatically. The server rebuilds the graph, validates every signature, scores risk and settles.
No internet? No problem. The payment completes locally between two nearby devices and reconciles with the network the moment you're connected again.
You enter the amount. NexPay builds a Secure Transaction Package and signs it with your hardware-backed TEE key.
The STP travels to the receiver's phone over BLE, NFC tap, QR scan or Wi-Fi Direct — no internet required.
The receiver verifies the signature, hash and chain continuity, then both ledgers commit — done in under 100ms.
Back online, pending STPs upload, the server reconstructs the transaction graph, validates and marks them SETTLED.
Walk through the two-phase commit sequence described in the NexPay specification.
Illustrative prototype simulation — the generated STP and log are example data, not a real transaction.
{
"status": "READY",
"note": "Choose an amount and hit Send"
}
The same signed STP travels over whichever local connection is available — the protocol never changes, only the medium.
GATT-based packet exchange between nearby phones. Best for markets, queues and person-to-person transfers up to ~10m.
~10m rangeISO-DEP tap between devices or merchant terminals. The fastest physical gesture in payments — instant, offline, secure.
<4cm tapEncrypted STP encoded as compact payloads. Scan-to-pay works with any camera — no pairing, no setup, universal reach.
Any cameraLocal HTTP handshake between peers for larger batches and merchant checkout flows without any internet uplink.
High throughputNexPay treats offline payments as first-class transactions. Every STP is signed, hashed, chained and audited — from creation to settlement.
Identity keys are generated and stored in the Trusted Execution Environment (TEE) when available, with secure software fallback on older devices.
Every STP payload is signed with ECDSA over SHA-256 and verified by the receiver offline and by the server during reconciliation.
Local ledgers and wallet databases are encrypted with AES-256-GCM. A compromised phone doesn't expose readable records.
Each offline transfer references the previous hash, creating tamper-evident chain of custody across disconnected transfers.
Unique transaction IDs, timestamps and nonces block replay. Local reserve decrement and server graph checks block double-spend.
The server reconstructs the full transaction graph on sync, detects divergent chains and scores risk before settling any balance.
From market stalls to emergency tents, NexPay keeps money moving when the network can't.
Accept digital payments with weak or no cellular signal. Instant settlement notifications and minimal setup keep small shops selling.
Send money to friends, family and vendors without internet, data balance or signal — and see payment status every step of the way.
When infrastructure is damaged, relief teams still need to move value. NexPay works device-to-device with later secure reconciliation.
Accurate settlement records, complete audit trails, risk scoring and regulatory compliance — a resilient rail for partner ecosystems.
Cash-transfer programs and subsidy distribution reach citizens in low-connectivity regions without excluding anyone.
A modular architecture with pluggable transports, a documented protocol and open APIs for building resilient payment products.
One atomic object carries the entire offline payment — signed, hashed, chained and verifiable by anyone holding the sender's public key.
// NexPay Secure Transaction Package (STP)
{
"transactionId": "tx_9f2c81a4d",
"senderId": "user_7b3e91",
"receiverId": "user_5a02c8",
"amount": 250.00,
"currency": "INR",
"timestamp": 1716412800000,
"previousHash": "d2f2a9e1c4…",
"metadata": {"note": "market"},
"signature": "MEUCIQD…", // ECDSA/SHA-256
"hash": "a41d0f8b…" // canonical digest
}
Every STP extends a local micro-block chain via previousHash, capturing unbroken ownership history across disconnected hops.
Prepare → Verify → Commit → ACK. Both parties persist to encrypted local ledgers with state PENDING_SYNC in under 100ms.
On reconnect, batches upload, the server rebuilds the graph, validates signatures & hashes, applies risk scoring, and settles to SETTLED.
CREATED → PREPARED → PENDING_SYNC → SYNCING → SETTLED, with explicit FAILED paths and conflict resolution.
Your wallet holds a pre-approved offline reserve (up to 50% of balance) signed by the server. Offline, your phone builds a Secure Transaction Package, signs it with your TEE key, and transmits it to the receiver over BLE, NFC, QR or Wi-Fi Direct. The receiver verifies the signature locally and both devices persist the transaction. No server is needed at the moment of payment.
Pending transactions upload automatically. The server reconstructs the transaction graph, verifies every signature and hash link, applies fraud risk scoring, then settles balances and marks each transaction SETTLED. You can watch this happen live in the simulator above.
Three layers: the offline reserve is decremented locally on every commit, so you physically can't exceed it; every STP carries a unique transaction ID, timestamp and nonce to block replay; and on sync the server's graph reconstruction detects conflicting chains and duplicate spends, rejecting invalid transactions.
Consumer Android smartphones with BLE, camera, NFC and Wi-Fi. Keys live in the hardware TEE where available, with a secure software fallback on older devices (Android API 26+). The same STP format works across every transport channel.
The architecture aligns with PCI-DSS for payment data, GDPR/CCPA-aware data handling, KYC & AML workflows, and full audit trails. Every settled transaction retains compliance metadata and can be exported for regulators on demand.
Device revocation and remote disable mechanisms let you invalidate a device's keys. Local data is AES-256 encrypted, the wallet is protected by PIN or biometrics, and the offline reserve cap limits any possible exposure.
Join the offline-first payment revolution. Get NexPay and pay anyone, anywhere — with or without a signal.
Free to download · Works on Android API 26+ · 4 offline channels
Built by Jitesh — questions, partnerships & feedback: jiteshprakash.com.np