go-libp2p
Install the latest go-libp2p binary
Table of contents
- Prequisites - InstructionsInstall
$ 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 buildgo-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
```js
export const API_TOKEN = '... token here ...'
```
Instructions
- Run makefile
```console
$ make all
```
- Upload new versions
```console
$ make upload
```
- Open a PR to this repo with changes made to
src/versions.json
If anything goes wrong:
$ make clean
License
Licensed under either of- Apache 2.0, (LICENSE-APACHE / )
- MIT (LICENSE-MIT / )