Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 557 Bytes

README.md

File metadata and controls

42 lines (26 loc) · 557 Bytes

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