πŸš€ Inspiration

Messaging apps today rely heavily on centralized servers, making them prone to data breaches, censorship, and surveillance risks. We wanted to build Kraken Secure Web3 Messaging to enable truly private, peer-to-peer communication without central control. The goal was clear: decentralization, encryption, and resilience in one seamless messaging system.

πŸ›  What We Learned

Throughout the development process, we explored:

  • Peer-to-peer networking using libp2p
  • Decentralized storage using GUN.js for offline messaging
  • End-to-end encryption via AES-GCM & ECDH
  • Authentication without passwords, using MetaMask wallets
  • Hybrid architecture combining Supabase for metadata tracking
  • Real-time cryptocurrency market integration using CoinGecko API

These insights helped us create a scalable, secure, and censorship-resistant system that goes beyond traditional messaging platforms.

πŸ”¨ How We Built Kraken

We structured Kraken around two core components:
1️⃣ GUN.js decentralized storage – Ensures message persistence even when users go offline.
2️⃣ Supabase for metadata & authentication – Wallet-based login & structured message tracking.

Additionally, we optimized encryption flows, ensured robust security via Certificate Authority (CA) verification, and integrated biometric authentication for user login security.

⚑ Challenges We Faced

While building Kraken, we encountered technical & design hurdles:
1️⃣ Preventing Man-in-the-Middle Attacks (MITM) – Solved using Certificate Authority verification for ECDH key exchange.
2️⃣ Offline Messaging Reliability – Implemented GUN.js sync system for auto-fetching messages once users reconnect.
3️⃣ Authentication Security – Strengthened verification by integrating biometric authentication (fingerprint & face ID) with MetaMask login.
4️⃣ Latency Optimization – Enhanced libp2p networking protocols for minimal delay in message transmission.
5️⃣ Real-Time Crypto Tracking – Integrated CoinGecko API to provide users with live cryptocurrency charts and prices.

🌍 Impact & Future Plans

Kraken has successfully deployed decentralized messaging with real-time encryption. In the future, we aim to:
βœ… Expand to group messaging & encrypted file sharing.
βœ… Strengthen multi-wallet compatibility for broader blockchain adoption.
βœ… Implement token-gated messaging channels to support Web3 communities.
βœ… Introduce Certificate Authority (CA) for public key validation to further prevent MITM attacks.
βœ… Enable biometric authentication as a security layer before MetaMask login, enhancing user verification.

Kraken embodies the future of secure, decentralized communication, ensuring privacy, resilience, and scalability in a Web3-driven world.

Built With

Share this project:

Updates