mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-05 23:33:08 +00:00
Remove mention of Status in guide
Keep it in the code doc.
This commit is contained in:
parent
6d42c39298
commit
6ded9630b2
@ -82,7 +82,7 @@ function App() {
|
|||||||
# Connect to Other Peers
|
# Connect to Other Peers
|
||||||
|
|
||||||
The Waku instance needs to connect to other peers to communicate with the network.
|
The Waku instance needs to connect to other peers to communicate with the network.
|
||||||
First, create `bootstrapWaku` to connect to Waku bootstrap nodes (hosted by Status):
|
First, create `bootstrapWaku` to connect to Waku bootstrap nodes:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { getBootstrapNodes } from 'js-waku';
|
import { getBootstrapNodes } from 'js-waku';
|
||||||
|
|||||||
@ -41,7 +41,7 @@ import { Waku } from 'js-waku';
|
|||||||
const wakuNode = await Waku.create({ bootstrap: true });
|
const wakuNode = await Waku.create({ bootstrap: true });
|
||||||
```
|
```
|
||||||
|
|
||||||
Passing the `bootstrap` option will connect your node to predefined Waku nodes hosted by Status.
|
Passing the `bootstrap` option will connect your node to predefined Waku nodes.
|
||||||
If you want to bootstrap to your own nodes, you can pass an array of multiaddresses instead:
|
If you want to bootstrap to your own nodes, you can pass an array of multiaddresses instead:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user