Skip to content

clawd800/onchat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

214 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OnChat

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.

Project Structure

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.

Getting Started

Smart Contracts

To explore or deploy the contracts:

cd contracts
npm install
npx hardhat test

For more details, see the contracts documentation.

Web Application

To run the frontend locally:

cd web
npm install
npm run dev

For more details, see the web documentation.

Technology Stack

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 85.2%
  • Solidity 9.4%
  • CSS 3.8%
  • Other 1.6%