0.10.0 • Published 3 months ago

@ts-drp/node v0.10.0

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

DRP Node

This package provides the implementation of a DRP Node, which is a node in a network that can be connected to other nodes and exchange messages with them. The DRP Node is the entrypoint for interacting with the DRP protocol in the network.

Usage

DRP Node can be used using the CLI or integrated into an existing application.

CLI

The CLI provides a simple way to start a DRP Node and connect it to other nodes in the network. For more information on what are the commands available, run:

pnpm cli --help

Running a bootstrap node

You can run a bootstrap node using the following command:

pnpm cli -m bootstrap --config configs/bootstrap.json

Integration

To integrate the DRP Node into an existing application, you can install it using:

pnpm install @ts-drp/node

Then, you can import the DRP Node class and create a new instance:

import { DRPNode } from "@ts-drp/node";

const node = new DRPNode();

// Start the node
node.start();
0.10.0

3 months ago

0.9.2

3 months ago

0.9.1

3 months ago

0.8.5

4 months ago

0.8.4

4 months ago

0.8.1

4 months ago

0.8.3

4 months ago

0.8.2

4 months ago

0.7.0

5 months ago

0.5.3

5 months ago

0.6.1

5 months ago

0.5.2

5 months ago

0.6.0

5 months ago

0.5.1

5 months ago

0.5.0

5 months ago

0.4.4

6 months ago

0.4.3

6 months ago

0.4.2

6 months ago

0.4.1

6 months ago

0.4.0

6 months ago

0.4.0-2

6 months ago

0.4.0-1

6 months ago

0.4.0-0

6 months ago