go-libp2p
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

go-libp2p

libp2p.io Discuss codecov CI

Install the latest go-libp2p binary

Table of contents

Install

$ npm i go-libp2p
# Install globally
> npm install -g go-libp2p
> libp2p version
libp2p version v0.7.0

# Install locally
> npm install go-libp2p
> ./node_modules/.bin/libp2p
libp2p version v0.7.0

Publishing new versions

The makefile in this repo will build go-libp2p-daemon for every supported platform, archive the binaries and upload them to web3.storage.

Prequisites

  • Install go 1.20 or later
  • Create a w3storage account
  • Generate an API token and store it in ./scripts/.config.js
    export const API_TOKEN = '... token here ...'

Instructions

  1. Run makefile
    $ make all
  2. Upload new versions
    $ make upload
  3. Open a PR to this repo with changes made to src/versions.json

If anything goes wrong:

$ make clean

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Readme

Keywords

Package Sidebar

Install

npm i go-libp2p

Weekly Downloads

455

Version

1.1.1

License

Apache-2.0 OR MIT

Unpacked Size

18.9 kB

Total Files

17

Last publish

Collaborators

  • achingbrain