You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a proposal for a tutorial to follow the current "Getting Started" tutorials based on what I would have found useful as I've been getting to know libp2p in the last week or so.
The tutorial would be called "Implementing a Protocol" and would cover:
Defining a protocol ID and setting a stream handler
Reading and writing protocol data
Defining a set of structured messages that make up the protocol
Encoding / decoding protocol messages
Handling different types of messages
Handling an async request / response flow
Handling protocol upgrades (i.e. version bumps, semver matching)
Rather than making up a protocol, I suggest using an existing, simple protocol that's easy to understand and doesn't distract from the point of the tutorial, perhaps JSON-RPC over libp2p?
@yusefnapora WDYT? I'd be happy to draft a Go version of this if you think it would be useful? I always like sharing my learning experience to make it easier for others 😄
The text was updated successfully, but these errors were encountered:
This is a proposal for a tutorial to follow the current "Getting Started" tutorials based on what I would have found useful as I've been getting to know libp2p in the last week or so.
The tutorial would be called "Implementing a Protocol" and would cover:
Rather than making up a protocol, I suggest using an existing, simple protocol that's easy to understand and doesn't distract from the point of the tutorial, perhaps JSON-RPC over libp2p?
@yusefnapora WDYT? I'd be happy to draft a Go version of this if you think it would be useful? I always like sharing my learning experience to make it easier for others 😄
The text was updated successfully, but these errors were encountered: