Interactive Protocol Lifecycle:
1.Open Escrow Channel
2.Stream Vouchers
3.Sever Internet
4.Test Security Attack
5.Settle On-Chain

Tiririka

Solana Payment ChannelsDevnet Live

Pay-Per-Litre Water Kiosk Protocol • Nairobi Informal Settlements (Mathare & Kibera)

1

Customer Phone Client

Household consumer buying water by the jerrycan

Wallet Balance
0.0500 SOL
1. Open Channel
2. Draw Water
3. Stop & Settle
0.01 SOL
Min: 0.005 SOL (~780 L)Selected: ~1558 LMax: 0.05 SOL (~7,800 L)
How Solana Payment Channels Save 99.8% in Fees:

You lock a single deposit cap into an on-chain escrow account (1 transaction). While drawing water, your phone signs instant Ed25519 vouchers off-chain. The operator only settles 1 transaction when you are done.

24-Hour Timelock Safety: Unspent escrow is unilaterally reclaimable if operator vanishes.

Click above to fund escrow on Devnet. Tap dispenser unlocks immediately.

Customer: Generating...Rate: KES 0.15/L
2

Mathare Kiosk Meter #107

Physical water ATM terminal & cryptographic verifier

Operator Balance
0.0200 SOL
2wYH...FVy2
Currency Display:
Volume Dispensed
0.00 L
0% of 20L Jerrycan
Cost (KES)KES 0.15/L
KES 0.00
≈ 0.000000 SOL
On-Chain Tx Count
0
1 open, 1 settle
Nairobi 20L Jerrycan Visualizer0.0 / 20.0 L (0%)
20L —15L —10L —5L —0L —
0%0.0 L
IoT DePIN Controller Status 10Hz Meter Active
Solenoid Valve (12V)
CLOSED (Idle)
Flowmeter Pulses
0 pulses (450/L)
Flash Buffer (128KB)
0 B used (0 cached)
Power / Node
Solar 12V • ESP32 #107

Cryptographic Threat Lab

Interactive testbed for 3 classic Web3 payment channel attack vectors

Ed25519 In-Memory Defense
Stale Nonce Replay AttackThreat Vector

A rogue party intercepts an earlier valid voucher (e.g., Nonce #5) and attempts to submit it to double-spend or reset water accounting.

Security Rule: Enforces strictly monotonic nonces: nonce > last_verified_nonce.
Operator: 2wYH...FVy2 • Mathare #107Ed25519 Local Verification Active