Skip to content
/ dchat Public

A decentralized chat app built with React and Blockchain

Notifications You must be signed in to change notification settings

zicodeng/dchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DChat

A decentralized chat app built with React and Blockchain

Playground

CID: QmbLbDXumD3BPYLy6XGYXyCDisjYFr5QDLn6yESB123d9Z

Demo: https://ipfs.io/ipfs/QmbLbDXumD3BPYLy6XGYXyCDisjYFr5QDLn6yESB123d9Z

Development

yarn install

yarn start

Technologies

  • React
  • IPFS
  • P2P Network

Features to Experiment

  • 1-on-1 messaging
  • Group channels
  • Open channels
  • Typing indicators
  • Send and receive structured media
  • Chat history
  • Invitations
  • Read receipts
  • User precense
  • User-to-user blocking

Challenges

How to associate peer ID with user identity?

Similar to TCP 3-way handshake, I need other users to confirm that I have successfully joined the room first via peer joined event, then other users will broadcast this peer ID. If it happens to be my peer ID, that means I have successfully joined. Now, I can broadcast my identity to everyone in the room

About

A decentralized chat app built with React and Blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published