A fully decentralized, real-time chat platform built on the Base network. OnChat combines on-chain messaging with Farcaster profile integration for a seamless Web3 social experience.
This repository is organized as a monorepo:
contracts/: Smart contracts for the OnChat protocol, including channel management, messaging, and reward systems. Built with Hardhat.web/: A modern React-based frontend for interacting with the OnChat protocol. Built with Next.js, Wagmi, and Tailwind CSS.
To explore or deploy the contracts:
cd contracts
npm install
npx hardhat testFor more details, see the contracts documentation.
To run the frontend locally:
cd web
npm install
npm run devFor more details, see the web documentation.
- Blockchain: Base Network (Ethereum Layer 2)
- Smart Contracts: Solidity, Hardhat, OpenZeppelin
- Frontend: Next.js (App Router), React, TypeScript
- Web3 Libraries: Wagmi, Viem, Reown AppKit
- Styling: Tailwind CSS