1.0.0 • Published 4 years ago

noise-p2p v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

noise-p2p

Just an experiment

Usage

var { Server, Client } = require('noise-p2p')

Examples

To run the examples, populate the following environment variables:

TOPIC=        # 32 bytes = 64 hex chars
SERVER_KEY=   # server public key
CLIENT_KEYS=  # comma separated list of client public keys

# Keypairs; you can generate these with `node example/keygen`
SERVER_PUBLIC_KEY=
SERVER_SECRET_KEY=

CLIENT_PUBLIC_KEY=
CLIENT_SECRET_KEY=

API

Install

npm install noise-p2p

License

ISC