Implementation of Paper | Slides
- npm modules:
- For peer: bows, dht-id, eventemitter2, simple-peer, socket.io-client,
- For Boot strap server: dht-id, hapi, socket.io, config, socket.io-client
- Other requirements: browserify
- Peer (
./peer
)peer.js
contains the main code for a peer in the asynchronous chord network.channel-manager.js
andnode-details.js
are its components which it uses to contact with bootstrap server and other peers in the network
browserify main.js > bundle.js
for compiling changes made to peer code- open
createPeer.html
in any web browser (chrome/firefox recommended) for creating a new peer. Open console for getting output and issuing commands to peers.
- Boot Strap server (
./bootstrap
)nodejs boostrap.js
for starting the server