Skip to content

Example library for learning and fun

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

dao-xyz/peerbit-examples

Repository files navigation


Libraryn

Peerbit Example Library

Examples

How to run the examples

yarn
yarn lerna bootstrap
yarn build

Go into an example. If it is a frontend app, you can run it locally (if you have a node running (see below)) with

yarn start

and remotely on a test relay

yarn start-remote 

How to setup a local relay node

(This is just a basic libp2p-js node)

Install Node >= 16

Install CLI

npm install -g @peerbit/server
peerbit start

Ending with '&' to start a background process

For more complete instructions on how to run a node in a server center that can be accessed remotely see this.

About

Example library for learning and fun

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published