this is a simple chatapp based on lotion and awesome tendermint
it is mostly based on this repo: https://github.com/devslopes/blockchat
Getting Started
- install dependencies
npm install
-
switch to branch "master" on machine A
-
switch to branch "raysnode" on machine B
-
switch to branch "ocean" on machine C
-
put the ips of each node in config.js
-
run node chat-node.js on all both machines
-
copy the ips of all nodes and populate the config.toml seeds with nodeid@ip:46656 ( example:"9e86c44bf1c08bd9f0a437e49c176483a23066b3@138.201.93.202:46656"
-
use browserify chat-browserclient.js -o bundle.js to make changes to the front end
-
open index.html with your browser of choice and start chatting!
Note: only branch master with 1 node works currently