docs: update noise package name in instructions (#1383)

libp2p-noise has been moved to @chainsafe/libp2p-noise
This commit is contained in:
Christoph Müller 2022-09-22 19:36:55 +02:00 committed by GitHub
parent a4ac534252
commit a11260c753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
```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: