Chat-Messela-Blockchain-Messenger icon indicating copy to clipboard operation
Chat-Messela-Blockchain-Messenger copied to clipboard

Chat Message La - A Blockchain implementation for ultra-secure (just kidding!) messaging in Java

Chat-Messela-Blockchain-Messenger

A Blockchain implementation of Chat Messaging in Java


Image

The Gui is made using Java Fx (requires Oracle JDK)

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer

Running The Program from Chat-Messela-Blockchain-Messenger folder

$ javac Main.java Controller.java
$ java Main

  • 2 Modes:
  1. Miner Mode
    Updates blockchain of all users whenever a new Messages is created
    Updates public keys of all users whenver a new user joins
    Note: First a miner should be running then only any user can join
    To run as a miner: In Main.java, uncomment Miner lines i.e. Miner pro = new Miner("pro",1111); pro.start(); and comment out launch(args); System.exit(0);
  2. User Mode
    Chat with other users
    View Received Messages
    When running as User, first enter your name and press get keys which will generate your public and private keys and broadcast them. You will get a msg USER CREATED!!! HAPPY CHATTING. After that, enter your text in this text area and the receiver name below and press Send button.

NOTE: All systems should be connected to same Wi-Fi network


Collaboration With:

  1. Nischay Mamidi (@Nischay-Pro)
  2. Aditya Kumar (@addy007-icy)
  3. Dipika Badri (@anonchic)
  4. Kriti Goyal (@KG16)