hackquest logo

MonadIRC

A decentralized, retro-style IRC (Internet Relay Chat) client built entirely on Monad testnet

Videos

Description

MonadIRC is a decentralized, blockchain-powered chat platform that leverages Smart Accounts, ERC-4337 account abstraction, and HyperIndex for real-time event indexing. Users can create channels and send messages without directly paying gas, thanks to Smart Wallets integrated with bundlers and paymasters. The platform ensures secure, verifiable messaging while maintaining privacy: pending messages are only visible to the sender until they are confirmed on-chain, and all on-chain events are reliably synced to a database for instant access and indexing. MonadIRC demonstrates a seamless integration of blockchain infrastructure into real-time chat applications.

Progress During Hackathon

MonadIRC was entirely conceived, designed, and developed during the hackathon — starting from a simple idea to a fully functional decentralized real-time chat application. At the beginning of the event, the project had no existing codebase. During the hackathon, we: - Ideated the concept of a blockchain-based IRC-style chat system built on Monad, focusing on decentralization, user ownership, and on-chain coordination. - Designed the architecture for a modular system integrating smart contracts, smart accounts, bundlers, paymasters, and off-chain indexing. - Developed and deployed a smart contract that handles channels, messages, and user registration fully on-chain. - Implemented Account Abstraction (AA) using smart wallets so users can create channels or send messages with gasless transactions via bundlers and paymasters. - Built a real-time frontend UI inspired by classic IRC terminals, fully responsive and minimalistic — with channel lists, message panels, and user activity updates. - Integrated HyperIndex (Envio) to capture on-chain events and Convex as a reactive database to sync and store messages, users, and channels in real time. - Implemented pending message states, allowing messages to appear locally until confirmed on-chain, ensuring a smooth user experience even before blockchain confirmation. Added username management, pagination for messages, and wallet-based identity resolution. Connected the entire flow: 1. User sends a message → stored as pending in Convex 2. Smart wallet + bundler submit it on-chain 3. HyperIndex picks up the on-chain event 4. Convex updates the message state → visible to all users instantly By the end of the hackathon, MonadIRC evolved from concept to a working prototype that demonstrates decentralized real-time communication with full on-chain verifiability, gasless UX, and event-driven synchronization between smart contracts and off-chain storage.

Tech Stack

Node
Next
Web3
Solidity
HyperIndex
Convex
IRC
Viem

Fundraising Status

Self-funded

Team Leader
CcipHer
Sector
DAOSocialFi