About
## Challenges we ran into
1. The ghost backend that hijacked our SMS gateway. Our ESP32 discovers the backend by UDP broadcast — and one day every new SMS command quietly broke. Diagnosis: a second, outdated backend clone on the same Wi-Fi was answering discovery too, and our own server was announcing the wrong IP (a VirtualBox adapter instead of the LAN). Worse, the gateway caches the last working IP in flash, so it stayed locked onto stale code forever. We fixed it with three layers: a version marker in /api/health (the firmware now rejects any backend that lacks it — stored IP, UDP reply, subnet scan, everywhere), a preferred-backend fast path, and subnet-matched UDP replies. A gateway can no longer be silently hijacked by old code. 2. The SIM800L that lied about sending SMS. Our sendSMS reported success — while no SMS ever left the modem. Root cause: the AT+CMGF=1 reply left a stale OK in the UART buffer, which our indexOf("OK") check matched microseconds before the > prompt even appeared, so receipts were marked delivered before transmission. The fix: pre-drain the RX buffer, wait explicitly for the > prompt (5 s), wait for the real +CMGS: network confirmation (up to 35 s), and cool down 1.5 s so the baseband returns to idle. Receiver receipts went from "sometimes" to deterministic. 3. Receiver receipts that never arrived. When keypad user A paid keypad user B, B's SMS sat forever in a DB queue — the gateway had no idea it existed. We added an outbound queue poll (every 5 s) to the firmware: fetch pending messages, send each via SIM800L, then POST /api/sms/outbound/:id/delivered only after confirmed network send. Failed sends stay queued and retry — no lost receipts. 4. Browsers cannot talk to Algorand. The campus network simply times out against AlgoNode — a browser-only wallet flow is impossible there. We made the backend the sole chain proxy: it builds unsigned transactions, the wallet only signs, the backend submits and confirms. This surfaced a second bug — BigInt serialization between algosdk and JSON — solved by returning base64-encoded transaction blobs instead. 5. Solana's SDK generation gap. @solana/web3.js 1.x and 2.x (@solana/kit) are different universes. We pinned 1.x and built on legacy Transaction + SystemProgram.transfer with the recent-blockhash strategy. Then Solana signatures (87–88 chars) didn't fit our txn_id column — widened to VARCHAR(96) across three tables, and wrote a base58 parser that accepts both raw base58 and Phantom's JSON-byte-array export format for the custodial funder key. 6. Two users could double-spend the same challenge. A passed security challenge is a bearer asset — concurrent submissions could execute a payment twice. We made challenge authentication an atomic stage flip inside a SERIALIZABLE transaction (processing → completed), so only one of N racing submissions can ever execute the transfer. Same row-locking pattern fixed duplicate recovery-phrase generation from concurrent START bursts. 7. The multi-tab wallet leak. Pera Wallet's localStorage session survived logout and leaked across tabs — user B could see user A's wallet in the next tab. We monkey-patched the wallet keys to be tab-scoped (Wallet__tab_{TAB_ID}), clear wallet state on logout, and re-validate reconnected addresses against the server-side profile. 8. The day FUND silently died. Every funding command started replying "could not add test money" — with no code change. We traced it to both funder accounts hitting zero (test suites had drained them), and the Solana path had no fallback since a funder key was configured. Diagnosis via live balance probes of both funders; refilled; and the lesson became a hardening item: monitor funder balances, degrade to public airdrop gracefully.
## The problem it solves
The Problem India's payment revolution forgot the feature phone. UPI, wallets, and on-chain rails are built exclusively for the smartphone. But walk through any campus, hostel, or college canteen, and you'll find the person the digital economy skipped — the student on a ₹1,000 keypad phone. No app store. No data plan. No UPI. Every group dinner, hostel grocery run, and mess settlement quietly locks them out — or forces them back to IOUs on paper and coins in pockets. Three problems, one root cause: 1. Financial exclusion by hardware. An estimated 250+ million feature phones are still active in India. For their owners — students, workers, the elderly — "just GPay it" is not an option. They must opt out of shared expenses, carry cash nobody can split, and trust memory instead of receipts. 2. Onboarding friction — even for smartphone users. Every crypto wallet demands app installs, seed phrases, gas concepts, and "don't ever lose this 24-word string." The result: powerful rails that normal people never touch. Self-custody is a feature for developers, a wall for everyone else. 3. Campus money chaos. Splitting a hostel bill today means a UPI screenshot group, mental math, and awkward "you still owe me ₹40" texts. Paying the person sitting next to you means exchanging usernames, numbers, or QR codes — then typing amounts into yet another app. Why existing solutions fail: Solution Where it breaks UPI / wallet apps Needs smartphone + bank account + data plan Crypto wallets Needs app + seed-phrase literacy; unusable for keypad users Cash No receipts, no splitting, no history, no reconciliation Bank transfers Account-number sharing, no context, no group logic
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.







