An example chat app using libp2p
- Install the modules in the libp2p root directory,
npm install
andnpm run build
. - Open 2 terminal windows in the
./examples/chat/src
directory.
- Run the listener in window 1,
node listener.js
- Run the dialer in window 2,
node dialer.js
- Type a message in either window and hit enter
- Tell yourself secrets to your hearts content!
Licensed under either of
- Apache 2.0, (LICENSE-APACHE / http://www.apache.org/licenses/LICENSE-2.0)
- MIT (LICENSE-MIT / http://opensource.org/licenses/MIT)
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.