Skip to content

forkoooor/PingGate

 
 

Repository files navigation

image

MIT License Version

Chat privately with wallet to wallet encryption. Monetize your inbox or talk with experts
Platform powered by XMTP, Farcaster & Base

PingGate logo

💬 What is PingGate?

PingGate is a decentralized chat app where users can get paid to receive messages by offering services.
Creators, mentors, and experts can define access tiers (plans) for DMs, consultations, or services, all managed through smart contracts on Base and powered by XMTP in the messaging side.


🚀 Features

  • Farcaster & Coinbase Miniapp, also available on desktop
  • Wallet-to-wallet communication: Via XMTP, wallet to wallet, end2end encryption... start owning your conversations!
  • Monetize your Inbox: If you start offering a service, people will have to pay to contact you.
  • Custom plans: Experts define services (e.g., consulting, support, review) if you don't, anyone can contact you completely free.
  • Social integration: Farcaster accounts, names, feed integration, conversation and profile links.
  • Review system: Buyers can rate and leave feedback.

🔧 Tech Stack

  • Frontend: Next · React · TypeScript · Tailwind CSS
  • Smart Contract: Solidity ^0.8.20 · Hardhat · OpenZeppelin
  • Wallet Integration: Onchainkit · wagmi · viem
  • Messaging: XMTP
  • Social: Farcaster (Notifications, feed integrations)

🏗️ Getting Started

Prerequisites

  • Node.js v16+
  • Yarn or npm

Installation

# Clone the repo
git clone https://github.com/lopezonchain/PingGate.git
cd pinggate

# Install dependencies
npm install   # or yarn install

# Start the dev server
npm run dev

# Open in browser
# http://localhost:3000

📈 Usage

  • Inbox: View and reply to conversations.
  • Pay-to-Ping: Start conversations with experts that started services by selecting a paid plan. Payment unlocks direct chat access.
  • My Services: Create and manage your own service offerings (consulting, support, feedback).
  • Explore: Browse other users' profiles and plans. Pay and start chatting instantly.
  • Farcaster Identity: Link your FID to build trust and visibility in the decentralized social space.

🤝 Contributing

We ❤️ contributions! Please follow these steps:

  1. Fork the repo
  2. Create a branch:
    git checkout -b feature/your-feature
  3. Commit your changes:
    git commit -m "Add awesome feature"
  4. Push to branch:
    git push origin feature/your-feature
  5. Open a Pull Request

Feel free to open issues for bugs, feature requests, or general feedback.

📜 License

Distributed under the MIT License.
See LICENSE for details.

Created using MiniKit Template

This is a Next.js project bootstrapped with create-onchain --mini, configured with:

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.4%
  • CSS 2.3%
  • JavaScript 0.3%