libp2p-workshop icon indicating copy to clipboard operation
libp2p-workshop copied to clipboard

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.

  4. Clone this repository.

    $ 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.

    $ 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.

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.

Rust Programming Language

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