Skip to content

Inbox-eth/Inbox

Repository files navigation

INBOX: Decentralized Inbox Web App

Overview

INBOX is a decentralized inbox web application that enables users to onboard with their wallet, register an ENS subname, and communicate securely using XMTP. The project is built with Next.js and leverages modern web3 technologies for seamless onboarding and messaging.

Features

  • Wallet Onboarding: Secure wallet connection using Privy SDK
  • ENS Subname Registration: Register a unique ENS subname via NameStone SDK
  • Inbox & Messaging: Decentralized messaging powered by XMTP (coming soon)
  • Notifications: Real-time notifications for new messages (planned)
  • Test Coverage: Comprehensive tests using Jest and React Testing Library
  • CI/CD: Automated testing and linting with GitHub Actions

Tech Stack

Getting Started

Prerequisites

  • Node.js (v18+ recommended)
  • npm or yarn

Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/inbox.git
    cd inbox/inbox-app
  2. Install dependencies:

    npm install
    # or
    yarn install
  3. Configure environment variables: Create a .env.local file in this folder with the following:

    NEXT_PUBLIC_NAMESTONE_ENS_DOMAIN=yourbrand.eth
    NAMESTONE_API_KEY=your-namestone-api-key
    NEXT_PUBLIC_PRIVY_APP_ID=your-privy-app-key

    Fill with your actual values

  4. Run the development server:

    npm run dev
    # or
    yarn dev

    The app will be available at http://localhost:3000

Running Tests

npm test
# or
yarn test

Project Structure

src/
  app/
    onboarding/           # Onboarding modal and logic
    api/namestone/        # API route for ENS registration (CORS proxy)
  ...
public/
.env.local               # Environment variables
...

Roadmap

  • Wallet onboarding (Privy)
  • ENS subname registration (NameStone)
  • Messaging and inbox (XMTP)
  • Notification system
  • Documentation and coverage

License

MIT


Built with ❤️ by the INBOX team.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published