Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mxinden/libp2p-workshop


https://github.com/mxinden/libp2p-workshop

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

README

        

# libp2p-workshop

Hi there,

Welcome to the libp2p workshop.

We will build a peer-to-peer decentralized chat app using libp2p. Our
application will allow anyone with internet access across the globe to
communicate without depending on any central infrastructure. The workshop will
give hands-on experience on how to build peer-to-peer vs. client-to-server.

## Before the workshop

1. Install git.

https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

2. Install Rust Programming Language.

https://www.rust-lang.org/tools/install

3. Install Protoc, the Protobuf compiler.

- https://github.com/protocolbuffers/protobuf#protocol-compiler-installation
- Linux / MacOS:
- Windows:

4. Clone this repository.

```sh
$ git clone https://github.com/mxinden/libp2p-workshop.git
```

5. Make sure you can compile the _hello world_ program in this repository on the
`main` branch.

```sh
$ cargo run

Finished dev [unoptimized + debuginfo] target(s) in 0.04s
Running `target/debug/libp2p-workshop-node`
Hello, world!
```

Done? Great. You are all set for the workshop.

## Workshop

Let's start with the [first iteration](
https://github.com/mxinden/libp2p-workshop/blob/iteration-1/README.md#iteration-1).

## Additional Resources

Below are a couple of resources for those interested in reading more about
the stack used in this workshop.
**No knowledge is required in order to participate in the workshop!**

### Libp2p

Libp2p is a modular network stack that enables the development of peer-to-peer network applications.

- Introduction to Libp2p:
- Tutorial for getting started with rust-libp2p:
- Libp2p Specs:

### Rust Programming Language

In this workshop we are using the Rust implementation of the libp2p networking stack.

- Rust Getting started:
- The Rust Book: