Hackathon project · Solo, end to end
Moningo: A learn-to-earn app I built alone in one day
An English learning app where you stake a little to keep your streak; I shipped it in one day at Monad Blitz Istanbul.
İbrahim TaşkıranSeptember 20262 min readStack
The event
Monad Blitz Istanbul is the Monad Foundation's one-day hackathon. The rule was clear: the code is written that day, and by the end of the day there must be a live product and a short demo. I entered alone, without a team.


The problem
The hardest part of learning a language is keeping at it every day. Apps reward streaks with badges, but dropping a streak costs nothing. In Moningo, keeping the streak has a small but real stake.
What I built
To protect their streak, the user stakes a small amount of MON in a smart contract and gets it back when they finish the day's lesson. Around this I added a level test, an escrowed one-on-one duel between two users, a non-transferable on-chain certificate and a page where anyone can verify it. I set up sponsored transactions so users pay no fees.

The contracts
I split the work into five contracts. Moningo holds the stake and the daily streak; MoningoPractice handles practice sessions, MoningoDuel the escrow two users put up and the winner, MoningoStreakRewards the streak rewards and MoningoBadges badges and certificates.
- Free daily completion: when users finish a lesson they do not send the transaction themselves; the server sends it on their behalf with completeDailyFor and a sponsor pays the fee.
- Placement exam: CEFR levels from A1 to C1. The result is signed on the server and the contract only accepts the level after verifying that signature, so users cannot write their own result.
- Certificate: a non-transferable ERC-721. Its image is generated as SVG directly on chain, with no dependency on any server. On the /verify page anyone can check whether a certificate is genuine.

The technical side
I wrote the contracts with Solidity, Hardhat and OpenZeppelin and verified them with unit tests. The front end is Next.js 14, TypeScript, Wagmi v2 and viem; wallets are discovered automatically through EIP-6963, so users see whichever browser wallet they installed. The back end is Node.js, Express and Prisma. The testnet RPC endpoints were under heavy load during the event, so I cached RPC calls on the back end: identical concurrent requests collapse into one, results are kept for a short time and the last good answer is returned if the RPC fails. I packaged everything with Docker and deployed to the Monad testnet.

Result
Moningo was live on the Monad testnet before the day ended. The demo is at monad.itaskira.com and the source code is on GitHub.


