Add peer to address book, it will be auto-dialed in the background.
Dials to the provided peer.
The peer to dial
Waku protocols we expect from the peer; Default to Relay
Return the local multiaddr with peer id on which libp2p is listening.
Wait for a remote peer to be ready given the passed protocols. Useful when using the CreateOptions.bootstrap with Waku.create.
The protocols that need to be enabled by remote peers.
A timeout value in milliseconds..
A promise that resolves if all desired protocols are fulfilled by remote nodes, rejects if the timeoutMs is reached.
Create and start new waku node.
Generated using TypeDoc
Register a decryption key to attempt decryption of messages received via WakuRelay and WakuStore. This can either be a private key for asymmetric encryption or a symmetric key.
Strings must be in hex format.