Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.79 KB

File metadata and controls

32 lines (20 loc) · 1.79 KB

Echo Devlog

A running log of daily progress building Echo — a decentralized peer-to-peer messaging application.


Day 1 — Project Setup

Set up the development environment with VS Code, Node.js and Git. Created the project folder structure with HTML, CSS and JavaScript files. Installed core dependencies including ethers.js, bip39 and tweetnacl. Pushed the initial project to GitHub and enabled GitHub Pages.


Day 2 — Passphrase Identity System

Built the complete passphrase based identity system using BIP-39 mnemonics and ethers.js. Users can generate a 12 word passphrase that derives a unique public and private key pair. Added a restore flow for existing users. Built the profile setup screen with username validation, optional display name and profile picture upload.


Day 3 — Smart Contract

Wrote and tested the EchoIdentity smart contract in Remix IDE. The contract stores username to public key mappings on the Ethereum blockchain. Tested all functions — registerUser, getUserByUsername, isUsernameTaken — in the Remix VM before deployment. Wrote a professional README for the GitHub repo.


Day 4 — Blockchain Deployment and Relayer

Deployed the EchoIdentity smart contract to Ethereum Sepolia Testnet. Built a gasless registration system using a Cloudflare Worker as a relayer — users pay zero ETH to register. The relayer wallet sponsors all gas fees. Updated the smart contract to accept user address as a parameter so each user gets their own on-chain identity even though the relayer submits the transaction. Full identity flow is now working end to end.

Contract Address: 0x2902cfa226e9F54C1310F9195a78928508eaA99C Relayer: https://echo-relayer.sreyasmurali150.workers.dev


Day 5 — Coming up

Signaling server and WebRTC peer-to-peer messaging.