Skip to content

cyberconnecthq/cc-xmtp-chatapp

Repository files navigation

CyberConnect & XMTP Integration Demo App

This demo gives an overview of how to combine CyberConnect’s decentralized social network with XMTP’s open protocol for private Web3 messaging.

For a full walkthrough of the repo please check our blog on hashnode

xmtp-x-cyberconnect-logo.png

Prerequisites

  • Node.js installed (tested with ^18.2.0)
  • NPM installed (tested with ^9.5.0)

Getting started

git clone https://github.com/cyberconnecthq/cc-xmtp-chatapp && cd cc-xmtp-chatapp

Setup Environment

cp .env.local.sample .env.local

Input your Infura API Key

NEXT_PUBLIC_INFURA_ID='YOUR_API_KEY'
NEXT_PUBLIC_XMTP_ENVIRONMENT='production'

Install the package

npm install

Run the development server

npm run dev

Preview of deployed app

xmtp_cyberconnect_recording


ORIGINAL README

x-red-sm