Skip to content

KingFRANKHOOD/AnonChat

Β 
Β 

Repository files navigation

AnonChat 🌌

AnonChat is a Stellar-based anonymous communication platform that allows users to create groups and chat freely with strangers β€” without revealing identity. Access is powered by Web3 wallet authentication, ensuring privacy, decentralization, and user sovereignty.

Speak freely. Stay anonymous. Powered by Stellar.


πŸš€ What is AnonChat?

AnonChat is a decentralized, privacy-first chat application where:

  • Users connect using a Web3 wallet
  • No personal data, email, or phone number is required
  • Users can create or join anonymous groups
  • Messages are end-to-end encrypted
  • Identity is never exposed β€” not even to us

The platform leverages Stellar blockchain primitives to ensure transparency, decentralization, and trustless authentication.


🌟 Why Stellar?

AnonChat is built on Stellar because it offers:

  • ⚑ Fast & low-cost transactions
  • 🌍 Global, borderless infrastructure
  • πŸ” Secure public-key cryptography
  • 🧩 Perfect fit for wallet-based authentication

Stellar enables AnonChat to remain lightweight, scalable, and censorship-resistant.


🧩 Core Features

πŸ”’ Complete Anonymity

  • No usernames, emails, or profile data
  • No tracking or surveillance
  • Zero-knowledge architecture

πŸ” End-to-End Encryption

  • Messages are encrypted client-side
  • Only chat participants can read messages

🌐 Decentralized Groups

  • Create or join anonymous chat rooms
  • No central authority or moderation bias

πŸ‘› Web3 Wallet Authentication

  • Login using a supported Web3 wallet
  • Wallet address acts as a pseudonymous identity

⚑ Lightning Fast Messaging

  • Real-time chat with minimal latency

πŸ›‘ Privacy First

  • No IP logging
  • No data selling or analytics exploitation

πŸ—οΈ Tech Stack

Frontend

  • Next.js / React
  • Tailwind CSS
  • Web3 Wallet Integration

Blockchain

  • Stellar Blockchain ⭐
  • Wallet-based authentication
  • Public-key cryptography

Backend

  • Node.js / Serverless APIs
  • WebSocket / Real-time messaging
  • Encrypted message storage

Hosting

  • Vercel

πŸ” Security Model

  • End-to-end encrypted messages
  • Zero-knowledge design
  • Decentralized architecture
  • Open-source codebase (auditable)
  • No identity or metadata storage

πŸ›οΈ Architecture

flowchart TB
    subgraph Client["πŸ‘€ Client"]
        Wallet[Web3 Wallet]
        Browser[Browser]
    end

    subgraph Frontend["βš›οΈ Frontend (Next.js)"]
        UI[React Components]
        Auth[Auth Module]
        Chat[Chat Interface]
    end

    subgraph Backend["πŸ”§ Backend Services"]
        Supabase[(Supabase)]
        Realtime[Realtime Engine]
    end

    subgraph Blockchain["⭐ Stellar"]
        StellarNet[Stellar Network]
    end

    Wallet -->|Sign Auth| Auth
    Browser --> UI
    UI --> Chat
    Auth -->|Verify| Supabase
    Chat -->|Messages| Realtime
    Realtime -->|Sync| Supabase
    Auth -.->|Wallet Auth| StellarNet
Loading
Layer Technology
Frontend Next.js 16, React 19, TypeScript, Tailwind CSS
Auth Supabase Auth + Web3 Wallet
Database Supabase (PostgreSQL)
Real-time Supabase Realtime
Blockchain Stellar Network
Hosting Vercel

πŸ› οΈ Quick Start

Prerequisites

Setup

# 1. Clone and install
git clone https://github.com/your-username/anonchat.git
cd AnonChat
pnpm install

# 2. Configure environment
cp .env.example .env.local
# Edit .env.local with your Supabase credentials

# 3. Run database migrations in Supabase SQL Editor
# scripts/001_create_profiles.sql
# scripts/002_create_profile_trigger.sql

# 4. Start dev server
pnpm dev

Environment Variables

NEXT_PUBLIC_SUPABASE_URL=your-project-url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
NEXT_PUBLIC_STELLAR_NETWORK=testnet
NEXT_PUBLIC_APP_NAME=AnonChat

Find credentials in Supabase Dashboard β†’ Settings β†’ API


πŸ§ͺ Roadmap

  • Group ownership via Stellar accounts
  • On-chain group identity
  • DAO-based moderation
  • Encrypted file sharing
  • Mobile PWA support

🀝 Contributing

See CONTRIBUTING.md for guidelines. Quick steps:

  1. Fork β†’ Create branch fix-[issue-number] β†’ Make changes β†’ Test β†’ PR
  2. Important: Only submit PRs for issues you're assigned to

πŸ“œ License

This project is licensed under the MIT License.


🌐 Live Demo

πŸ”— https://anonchat-one.vercel.app


πŸ’œ Credits

Built with privacy in mind and powered by Stellar Blockchain.

If you believe communication should be free, anonymous, and decentralized β€” AnonChat is for you.


⭐ Don’t forget to star the repository if you like the project!

About

An anonymous, privacy-first chat application built on Stellar, allowing users to create decentralized groups and communicate securely using Web3 wallet authentication.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 84.3%
  • CSS 14.3%
  • Other 1.4%