mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-04-25 10:32:14 +00:00
docs: update noise package name in instructions (#1383)
libp2p-noise has been moved to @chainsafe/libp2p-noise
This commit is contained in:
parent
a4ac534252
commit
a11260c753
@ -69,7 +69,7 @@ Encryption is an important part of communicating on the libp2p network. Every co
|
|||||||
There are a growing number of Crypto modules being developed for libp2p. As those are released they will be tracked in the [Connection Encryption section of the configuration readme](./CONFIGURATION.md#connection-encryption). For now, we are going to configure our node to use the `libp2p-noise` module.
|
There are a growing number of Crypto modules being developed for libp2p. As those are released they will be tracked in the [Connection Encryption section of the configuration readme](./CONFIGURATION.md#connection-encryption). For now, we are going to configure our node to use the `libp2p-noise` module.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install libp2p-noise
|
npm install @chainsafe/libp2p-noise
|
||||||
```
|
```
|
||||||
|
|
||||||
With `libp2p-noise` installed, we can add it to our existing configuration by importing it and adding it to the `modules.connEncryption` array:
|
With `libp2p-noise` installed, we can add it to our existing configuration by importing it and adding it to the `modules.connEncryption` array:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user