Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.14 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.14 KB

Getting Started with Hyper swarm chat app

Running the code:

Do npm run build to create react build Use npm run electron to start the electron app; To start in dev mode change the isDev flag in index.js file in root folder to true;

Using the chat app:

  • The chat app initially connects the peer to common swarm wherein the user can discover multiple peers connected to the swarm by their public key.
  • User can select a specific peer by clicking on the connection in connections tab
  • The connection would be highlighted in green and user can chat with the specific peer through the swarm.
  • To use the app both the peers should be connected.

image

Pending tasks:

  • Bug fixes
    • Sometimes previous messages array gets replaced by current received message
  • Error states
  • Redux state management can be added
  • Error handling
  • Message states
  • Optimization
  • Code clean up / Refactoring
  • Styling