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
- Node.js installed (tested with
^18.2.0
) - NPM installed (tested with
^9.5.0
)
git clone https://github.com/cyberconnecthq/cc-xmtp-chatapp && cd cc-xmtp-chatapp
cp .env.local.sample .env.local
NEXT_PUBLIC_INFURA_ID='YOUR_API_KEY'
NEXT_PUBLIC_XMTP_ENVIRONMENT='production'
npm install
npm run dev