Skip to content
QORECHAIN
Register

Protocol Builders

LedgerPump

Trust every transaction. Reconcile every litre

Share on X

About

Fuel station owners lose money in the gap between what the pumps sold, what the tanks hold and what was actually collected. LedgerPump is a QoreChain rollup that closes that gap for Nigeria's fuel distribution industry. Each station's daily report is reconciled on its own device (meters vs tanks, litres vs money, deliveries vs waybills), encrypted with ML-KEM-1024 so only the owner and auditor can read it, signed with ML-DSA-87, and committed to the rollup's inbox. A public watchtower verifies every signature and ciphertext without seeing a single figure. Station-days that reconcile are paid through on-chain withdrawals with Merkle proofs; discrepancies are held back. Every claim is backed by a testnet transaction. All demo data is synthetic.

How it's made

Built on the QoreChain RDK (custom profile, optimistic settlement, qledger-v1 execution, based sequencing). Report commitments are posted to the rollup inbox, so the operator can't censor or alter them. Batches carry canonical roots, and settlement receipts (ML-DSA-87 anchor signatures) are verified against live chain state. Reports are sealed with AES-256-GCM and ML-KEM-1024 key wrapping, using reader keys from QoreChain's KEM registry. A separate auditor account decrypts and re-checks every report. We forged a batch against our own rollup: an independent challenger proved it wrong 12 seconds later and the attacker's 1,000 QOR bond was slashed. Hardest parts: discovering that qledger-v1 roots are canonical (we redesigned around inbox commitments), and catching a real overwritten ciphertext with our own watchtower. TypeScript, tests, CI, Apache-2.0. Evidence: docs/TESTNET_LOG.md. Threat model: docs/THREAT_MODEL.md

Timeline

LedgerPumpProtocol Builders

Pushed 33 commits to main

  • ff3ec66 Log batch 2 receipt (3 of 3 receipts valid) · lahdlahd
  • cc3314f Batch 2 receipt and snapshot · lahdlahd
  • 81d329c AI_USAGE: full generated-work table and where the AI got it wrong · lahdlahd
  • b831d8f Keep the forged batch on record (chain reused index 2); log honest batch 2 · lahdlahd
  • b4d227f Merge branch 'main' of https://github.com/lahdlahd/ledgerpump · lahdlahd

and 28 more commits

LedgerPumpProtocol Builders

Pushed 1 commit to main

  • 2b45d83 Log batch 3 and its valid receipt · lahdlahd
LedgerPumpProtocol Builders

Pushed 1 commit to main

  • 2576391 Batch 3 receipt and snapshot · lahdlahd
LedgerPumpProtocol Builders

Pushed 1 commit to main

  • 5bef27e ZK reconciliation circuit: Groth16 proof that a station-day reconciles · lahdlahd
LedgerPumpProtocol Builders

Pushed 1 commit to main

  • 8e330a5 Batch 3: Hilltop Nov 2 · lahdlahd
LedgerPumpProtocol Builders

Pushed 1 commit to main

  • cf5187e Log EVM probe: BN254 pairing works on testnet · lahdlahd
LedgerPumpProtocol Builders

Pushed 1 commit to main

  • 708a0c8 evm-probe: read-only check of the EVM's BN254 precompiles · lahdlahd
LedgerPumpProtocol Builders

Pushed 1 commit to main

  • 0303d00 Credit Wicketgate's watcher W1 as the independent challenger · lahdlahd
LedgerPumpProtocol Builders

LedgerPump is live on testnet: rollup ledgerpump with 3 finalised batches and 3 verified settlement receipts (ML-DSA-87 anchors), encrypted + signed reports from all three stations, a 3 QOR withdrawal with a Merkle proof paid only for reconciled days, and a forged batch rejected in 12 seconds by an independent challenger. Separate auditor re-checked every report: 0 false statuses.

https://lahdlahd.github.io/ledgerpump/𝕏 𝓲Lahd | π 🎒Building LedgerPump for #BuildBeforeQDay A post-quantum reconciliation & settlement rollup for fuel stations. Pumps vs tanks vs cash, checked on-device, encrypted with ML-KEM-1024, signed with ML-DSA-87, settled on @QoreChain testnet. Our rollup is live: 3 batches finalised,… pic.twitter.com/mpoFJGUCwy
LedgerPumpProtocol Builders

Pushed 1 commit to main

  • 69b1641 Log the report posted for the demo video · lahdlahd
LedgerPumpProtocol Builders

Pushed 1 commit to main

  • fe2ea44 README: Built on QoreChain badge and fest project link · lahdlahd
LedgerPumpProtocol Builders

New project.

Comments and questions

  • No comments yet.