Published on April 1, 2018 by

Peer to peer chat without using a server? We can do this using Ethereum’s whisper library. This is a chat protocol that lets nodes chat with each other directly, no need for a central server. It doesn’t even use a centralized routing source to let nodes discover each other like BitTorrent does with trackers, instead it uses a distributed hash table as a tool for decentralized peer discovery. Yes its not completely real-time, but the trade-off allows for true private chat. I’m going to explain how it works and code the demo at the end.

Code for this video:
https://github.com/llSourcell/Decentralized_Chat

Please Subscribe! And like. And comment. That’s what keeps me going.

Want more education? Connect with me here:
Twitter: https://twitter.com/sirajraval
Facebook: https://www.facebook.com/sirajology
instagram: https://www.instagram.com/sirajraval

Join us in the Wizards Slack channel:
http://wizards.herokuapp.com/

And please support me on Patreon:
https://www.patreon.com/user?u=3191693

Category Tag