mirror of
https://github.com/status-im/wakuconnect-chat-sdk.git
synced 2025-01-15 14:44:43 +00:00
030a33f95a
* Rename DappConnect to Waku Connect * Remove redundant qualifier on CommunityChat * Rename `Chat` to `ChatRoom` There are two components: - `CommunityChatRoom` (prev. `Chat`) contains the chat room, channels, members. -`CommunityChat` wrap `ChatRoom` is the various provider. A consumer would most likely use `CommunityChat` directly. If they want to swap a provider, they'd use `CommunityChatRoom` * Rename `GroupChat` to `GroupChatRoom` * Rename `DappConnectGroupChat` to `GroupChat` There are two components: - `GroupChatRoom` (prev. `GroupChat`) contains the chat room, members. - `GroupChat` wrap `GroupChatRoom` is the various provider. A consumer would most likely use `GroupChat` directly. If they want to swap a provider, they'd use `GroupChatRoom`. * Remove DappConnect qualifier
#React chat example
##How to run example
-
First you need to
yarn && yarn build
in main repo folder -
set two environment libraries ENV and COMMUNITY_KEY
export ENV=test
to use waku test fleetexport ENV=prod
to use waku prod fleetexport COMMUNITY_KEY=0x038ff8c6539ff268e024d07534a362ef69f7b13b056fcf19177fb6282b4d547bc8
to set a key to community -
run
yarn start
inpackages/react-chat-example
folder.