Coder Social home page Coder Social logo

tmchat's Introduction

TMChat

TMChat is a simple chat-demonstration using the Tendermint-Blockchain as a means to broadcast messages from one user to another.

alt text

How to run

This project is handled by Maven and thus can be build as such. (You will need to have maven installed)

git clone https://github.com/wolfposd/TMChat.git
cd TMChat
mvn package

You will then find a runnable JAR in the target-directory, start it as follows:

java -jar TMChat-0.0.1-SNAPSHOT.jar user1 user2 ... userX

Where user1 - userX are the chatwindows you would like to open.

The example screenshot was created using:

java -jar TMChat-0.0.1-SNAPSHOT.jar Left Middle Right

Introduction

This demo is meant to be a very easy to understand application for tendermint.

architecture

The project is seperated into two parts. We have the NodeCommunication, which connects to the tendermint-node via TMSP to handle all the Tendermint messages like AppendTX, CheckTx and Commit. It also connects via Websocket to the tendermint-node to broadcast TXs it received from its connected clients.

The Frontend is connected to the NodeCommunication. It can send Messages to it (which will be relayed as TXs to the node) and can register for receiving messages (which are converted from TXs).

tmchat's People

Contributors

smueller-ponton avatar wolfposd avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.