JS Pkarr bindings
Wasm-pack wrap of pkarr client.
How To Build/Test the NPM Package
- Create a binary to run a testnet mainline DHT and Pkarr relay. Go to the root
folder and run
cargo build -p pkarr-relay --features testnet
- Go to
bindings/js/pkg
- Run
npm run build
- Run tests with
npm run test
- EXTRA: If you want to run example,
npm run example