About
## Wave 5 submission
Full Smart Contract Deployment on Massa Mainnet Contract Address: AS12k5fxGtanusvh1BJ3ZDXgJELgu2i4HkyoniRYtigRRiTTy3Vke All core functionality implemented in a single contract file (main.ts) 4 complete modules: Email Registry, Message Store, Inbox Manager, and User Settings 20+ production-ready functions for email management ✅ DeWeb Frontend Deployment Live at: https://demailx.build.half-red.net/ Fully hosted on Massa's DeWeb infrastructure - no centralized servers Complete React application with 5 main pages (Home, Settings, Compose, Inbox, Sent) Responsive UI with modern design ✅ End-to-End Encryption Implementation
Client-side encryption before messages hit the blockchain Private message bodies stored encrypted on-chain Only sender and recipient can decrypt message content Encryption utility integrated throughout the application ✅ Complete User Flow Implementation
Wallet Connection: Supports Massa Station and Bearby wallets Email Registration: One unique email per wallet (e.g., alice@demailx) Message Composition: Encrypted message creation with subject lines Inbox Management: View received messages, mark as read/spam/archive Sent Messages: Track all sent communications Settings Panel: Configure spam lists and message retention policies Technical Implementation DetailsSmart Contract Features:
registerEmail() - Unique email registration tied to wallet address createMessage() - On-chain message creation with encryption support sendMessage() - Adds messages to recipient inbox and sender's sent folder getInbox() / getSent() - Retrieve message lists markAsRead() / markAsSpam() / archiveMessage() - Inbox management setSpamList() / setMaxInboxDays() - User-controlled settings Email-to-address and address-to-email bidirectional lookup Frontend Architecture:
Pages: Home (login), Settings (email registration), Compose, Inbox, Sent Utils: Contract interaction layer, wallet management, encryption/decryption Components: Reusable UI elements for messages, forms, and navigation Built with React + TypeScript + Vite for optimal performance Key Differentiators for Massa:
Fully On-Chain: Both contract AND frontend hosted on Massa (DeWeb) No External Dependencies: Zero reliance on IPFS, traditional hosting, or centralized services Autonomous Ready: Architecture prepared for Massa's Autonomous Smart Contracts for future auto-cleanup features Censorship Resistant: Unstoppable communication infrastructure DeWeb Deployment: Proves truly decentralized frontends are viable On-Chain Storage: Messages stored directly on-chain with encryption Wallet-Native Identity: Email addresses tied to blockchain addresses User Sovereignty: Complete control over communication and data Foundation for Future dApps: Other Massa projects can integrate DeMailX for notifications and messaging Testing & VerificationLive Demo: Visit https://demailx.build.half-red.net/ DocumentationGitHub Repository: https://github.com/nanobanana1234/DeMailX
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





