A workshop for learning about custom protocol streams in libp2p
- Node.js install
- A working knowledge of JavaScript, Node.js
- Some time and a pot of coffee
$ npm install -g @libp2p/protocol-adventure
That didn't work.
$ sudo npm install -g @libp2p/protocol-adventure
Okay.
After installing, start the workshop and follow the instructions:
$ protocol-adventure
Yes you can, but due to complications around everyone's preferred TypeScript setup, please compile your solutions yourself and verify the compiled code:
$ tsc my-solution.ts
$ protocol-adventure verify ./build/my-solution.js
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.