Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 2.17 KB

README.md

File metadata and controls

58 lines (37 loc) · 2.17 KB

libp2p-protocol-adventure

libp2p.io Discuss codecov CI

A workshop for learning about custom protocol streams in libp2p

protocol-adventure

Requirements

  1. Node.js install
  2. A working knowledge of JavaScript, Node.js
  3. 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

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.