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:

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

    Want more education? Connect with me here:
    Twitter:
    Facebook:
    instagram:

    More learning resources:

    Join us in the Wizards Slack channel:

    And please support me on Patreon:

    Signup for my newsletter for exciting updates in the field of AI:

    Hit the Join button above to sign up to become a member of my channel for access to exclusive content!

    Comments are closed.

    Share via