wallet-connect-web-examples/wallets/react-wallet-chat
Celine Sarafa 1ccf19fb2a
Update chat client and adapt api (#114)
* Update chat client and adapt api

* Fix package json
2023-02-16 12:48:41 +03:00
..
public chore: rename react-wallet-v2-chat -> react-wallet-chat 2022-10-28 11:14:20 +02:00
src Update chat client and adapt api (#114) 2023-02-16 12:48:41 +03:00
.env.local.example chore: rename react-wallet-v2-chat -> react-wallet-chat 2022-10-28 11:14:20 +02:00
.eslintrc.json chore: rename react-wallet-v2-chat -> react-wallet-chat 2022-10-28 11:14:20 +02:00
.gitignore chore: rename react-wallet-v2-chat -> react-wallet-chat 2022-10-28 11:14:20 +02:00
.prettierrc.json chore: rename react-wallet-v2-chat -> react-wallet-chat 2022-10-28 11:14:20 +02:00
next-env.d.ts chore: rename react-wallet-v2-chat -> react-wallet-chat 2022-10-28 11:14:20 +02:00
next.config.js chore: rename react-wallet-v2-chat -> react-wallet-chat 2022-10-28 11:14:20 +02:00
package.json Update chat client and adapt api (#114) 2023-02-16 12:48:41 +03:00
README.md chore(chat): update deployment links to *.walletconnect.com 2022-10-28 16:27:42 +02:00
tsconfig.json chore: rename react-wallet-v2-chat -> react-wallet-chat 2022-10-28 11:14:20 +02:00
yarn.lock Update chat client and adapt api (#114) 2023-02-16 12:48:41 +03:00

Chat Wallet Example (React, Typescript, Ethers, NextJS)

This example aims to demonstrate use cases enabled by the WalletConnect Chat Alpha. Please only use this for reference and development purposes, otherwise you are at risk of losing your funds.

Useful links

🔗 Chat Wallet Deployment - https://react-wallet-chat.walletconnect.com/
🔗 Chat Wallet Peer Deployment - https://react-wallet-chat-peer.walletconnect.com/
📚 WalletConnect docs - https://docs.walletconnect.com/2.0

Getting started

The example is built atop of NextJS in order to abstract complexity of setting up bundlers, routing etc. So there are few steps you need to follow in order to set everything up

  1. Go to WalletConnect Cloud and obtain a project id

  2. Install dependencies via yarn

  3. Setup your environment variables

cp .env.local.example .env.local

Your .env.local now contains the following environment variables:

  1. Run yarn dev to start local development