@libp2p/protocol-adventure
v1.0.1
Published
Learn how to develop custom protocols with libp2p
Downloads
147
Keywords
Readme
libp2p-protocol-adventure
A workshop for learning about custom protocol streams in libp2p
Requirements
- Node.js install
- A working knowledge of JavaScript, Node.js
- Some time and a pot of coffee
Installation
$ npm install -g @libp2p/protocol-adventure
That didn't work.
$ sudo npm install -g @libp2p/protocol-adventure
Okay.
Usage
After installing, start the workshop and follow the instructions:
$ protocol-adventure
Can I use TypeScript?
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
License
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)
Contribution
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.