libp2p comes to ProtoSchool
by Teri Chadbourne on 2021-02-17
The ProtoSchool team is pleased to announce the launch of a shiny new multiple-choice tutorial introducing libp2p, the modular peer-to-peer networking stack that spun out of IPFS into its own first-class project and a dependency of IPFS itself. Today, IPFS focuses on content addressing (i.e., finding, fetching and authenticating any piece of content in the web) while libp2p focuses on process addressing (i.e., finding, connecting and authenticating any data transfer processes in the network).
Historically, companies that produced peer-to-peer applications like Skype or BitTorrent created their own protocols to support them. Those protocols made a lot of assumptions about the environments they’d run in and the needs they’d meet, making them incredibly hard to upgrade or adapt to new environments. libp2p, however, has been extracted from its original implementation as the networking stack of IPFS, and can now serve a broad variety of use cases. While everyone building on IPFS or Filecoin is using libp2p as a dependency, many folks are using libp2p independently or embedded in other projects such as Ethereum 2.0, Polkadot, and Status.im.
libp2p takes a modular approach to addressing the many components that can make up a network stack, from transports to multiplexing and beyond. A user can choose the specific pieces they need and compose their own configuration, tailored for their use cases. All of those pieces have very well defined interfaces that enable interoperability and easy upgrades, creating a future-proof networking stack. This ecosystem of interoperable modules is key to libp2p’s versatility across multiple environments.
Learn more in our code-free Introduction to libp2p tutorial, or view our full IPFS course on ProtoSchool for intros to fundamental DWeb concepts, hands-on coding challenges with the js-ipfs APIs, and more.
More on libp2p
Help us improve ProtoSchool
ProtoSchool is a team effort, and we depend on folks in the IPFS and dweb community to outline new content, add new features, fix bugs, catch typos, and test-drive new tutorials like this one. There are many ways to contribute to the project, no matter your background, and our new multiple-choice format makes it super easy to create new tutorials without any coding experience. In fact, the awesome José Bateira, who created our latest tutorial, built it with the help of our user-friendly ProtoWizard CLI!
One of the easiest ways to help is by sharing your feedback as you explore our tutorials. You’ll find a link at the bottom of every lesson to help you submit your suggestions.
We can’t wait to hear what you think of the new libp2p tutorial!