!! Work In Progress !!
HyperPath implements a secure channel between two peers, on top of [undecided]. This is going to replace TelePath and is currently work in progress.
This repository can be found on github and git-ssb.
- Initial setup:
yarn
- Unit tests:
yarn test
oryarn test:watch
- Building:
yarn build
- Running demo:
yarn demo
- Running signal server:
yarn server
There is a crude demo included in this repo. This demo requires a WebRTC signalling server to run on localhost:9090, which you can start by running:
yarn server
Then you can run the demo:
yarn demo
You can then open the demo in two different browser windows (Chromium and Chrome work for sure). The first window will act as your listener, the other one as the dialer. First, hit the "Listen" button in the listener window. As a result, a channel id will be generated in the listener window, and it will be put into the channel id field in the dialer window as well. Now you can click the "Dial" button in the dialer window and "it should work".
Tip: extended logging of big part of the libp2p stack can be enabled by typing this in the browser console (and reloading the page afterwards):
localStorage.debug = '*'