25 Oct 2022
In this tutorial, you will learn how to exchange between two libp2p nodes using protocol handlers.
This content is created as part of Protocol Labs' Launchpad program at https://curriculum.pl-launchpad.io/
Apply now to come learn & work at Protocol Labs
Resources:
Check out the code: https://github.com/protocol/launchpad-tutorials/tree/main/libp2p-go-handlers
Check out the written tutorial: https://curriculum.pl-launchpad.io/curriculum/libp2p/handlers-tutorial/
The Go implementation of libp2p: https://github.com/libp2p/go-libp2p
00:00 Start
01:20 Prerequisites
01:39 Instructions
01:56 Review the "main" Function
02:22 Implement the Target Node
04:31 Implement the Source Node
05:47 Test the Application
This content is created as part of Protocol Labs' Launchpad program at https://curriculum.pl-launchpad.io/
Apply now to come learn & work at Protocol Labs
Resources:
Check out the code: https://github.com/protocol/launchpad-tutorials/tree/main/libp2p-go-handlers
Check out the written tutorial: https://curriculum.pl-launchpad.io/curriculum/libp2p/handlers-tutorial/
The Go implementation of libp2p: https://github.com/libp2p/go-libp2p
00:00 Start
01:20 Prerequisites
01:39 Instructions
01:56 Review the "main" Function
02:22 Implement the Target Node
04:31 Implement the Source Node
05:47 Test the Application
- 1 participant
- 6 minutes
4 Oct 2022
In this tutorial, you will learn how to create a simple libp2p application using Go.
This content is created as part of Protocol Labs' Launchpad program at https://curriculum.pl-launchpad.io/. Apply now to come learn & work at Protocol Labs
Resources:
Check out the code: https://github.com/protocol/launchpad-tutorials/tree/main/libp2p-go-simple-node
Check out the written tutorial: https://curriculum.pl-launchpad.io/curriculum/libp2p/creating-simple-node/
The Go implementation of libp2p: https://github.com/libp2p/go-libp2p
00:00 Start
00:42 What Will We Do in This Tutorial?
01:06 Prerequisites
01:24 Instructions
01:49 Review the "main" Function
02:13 Create the Source Node
02:48 Create the Target Node
03:24 Connect the Nodes
04:00 Count the Number of Peers of the Source Node
04:36 Run the Program
This content is created as part of Protocol Labs' Launchpad program at https://curriculum.pl-launchpad.io/. Apply now to come learn & work at Protocol Labs
Resources:
Check out the code: https://github.com/protocol/launchpad-tutorials/tree/main/libp2p-go-simple-node
Check out the written tutorial: https://curriculum.pl-launchpad.io/curriculum/libp2p/creating-simple-node/
The Go implementation of libp2p: https://github.com/libp2p/go-libp2p
00:00 Start
00:42 What Will We Do in This Tutorial?
01:06 Prerequisites
01:24 Instructions
01:49 Review the "main" Function
02:13 Create the Source Node
02:48 Create the Target Node
03:24 Connect the Nodes
04:00 Count the Number of Peers of the Source Node
04:36 Run the Program
- 1 participant
- 5 minutes