libp2p-interop

0.7.1 • Public • Published

Interoperability Tests for libp2p

Discourse posts

Interoperability tests for libp2p Implementations

This repository will be used for interop tests.

Lead Maintainer

Vasco Santos

Usage

Install

> git clone git@github.com:libp2p/interop.git
> cd interop
> npm install

Run the tests

> npm test

Testing local daemons

It is possible to test local versions of the go and js daemons exporting the respective path before running the tests.

Specifying the go-libp2p daemon See the go-libp2p-daemon install instructions for building the local binary.

$ LIBP2P_GO_BIN=$GOPATH/bin/p2pd npm run test

Specifying the js-libp2p daemon From the js-libp2p-daemon local repo checkout you can perform an npm link to create a binary, jsp2pd in the global npm space.

$ LIBP2P_JS_BIN=$(which jsp2pd) npm run test

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

License

MIT

/libp2p-interop/

    Package Sidebar

    Install

    npm i libp2p-interop

    Weekly Downloads

    1

    Version

    0.7.1

    License

    MIT

    Unpacked Size

    48.3 kB

    Total Files

    60

    Last publish

    Collaborators

    • achingbrain