Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adlrocha/libp2p-boilerplate

Set of code snippets to get you started fast with your libp2p project.
https://github.com/adlrocha/libp2p-boilerplate

golang ipfs libp2p

Last synced: 26 days ago
JSON representation

Set of code snippets to get you started fast with your libp2p project.

Awesome Lists containing this project

README

        

# libp2p-boilerplate 🍜

This repo includes a set of examples for the exchange of different
message formats, and sample protocols over libp2p.
The examples included are widely in different
project and can come pretty handy as a boilerplate for new protocols and projects.

Do not expect production-ready code, but a bunch of dirty code snippets that can help you
get started fast with your libp2p protocol without having to remember all the details from
scratch.

### Current examples.
- [Generation and exchange of CBOR messages over libp2p](./cbnor-example)
- [Basic structure of a simple request response protocol over lib2p](req-resp-example)

# Contributions 🤗
Do you have an example that you want to contribute to the project? Is there something
that you've come across over and over again and that you feel it could become a cool
example for the repo and the community? PR and Issues are WIDE OPEN!! 🙌