0.10.0 • Published 4 months ago

@ts-drp/network v0.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

DRP Network Stack

This package contains the network middleware to abstract libp2p for the DRP protocol.

To do so, we define a DRPNetworkNode where we can pass the configs that we want and it "magically" configures libp2p and gives connectivity to the DRP Network.

Usage

This package is intended to be used as a dependency for the DRP protocol. However, you can use it as a standalone package. For that, you can install it using:

pnpm install @ts-drp/network

Build

To build the package, you can run:

pnpm build

Tests

To run the tests, you can run:

pnpm test