noise-p2p

Just an experiment

Usage no npm install needed!

<script type="module">
  import noiseP2p from 'https://cdn.skypack.dev/noise-p2p';
</script>

README

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