Creates a decoder that decrypts messages using ECIES, using the given private key as defined in 26/WAKU2-PAYLOAD.
A decoder is used to decode messages from the 14/WAKU2-MESSAGE format when received from the Waku network. The resulting decoder can then be pass to @waku/interfaces.Filter.subscribe or @waku/interfaces.Relay.subscribe to automatically decrypt and decode incoming messages.
The resulting decoder will only decode messages with this content topic.
The private key used to decrypt the message.
Generated using TypeDoc
Creates a decoder that decrypts messages using ECIES, using the given private key as defined in 26/WAKU2-PAYLOAD.
A decoder is used to decode messages from the 14/WAKU2-MESSAGE format when received from the Waku network. The resulting decoder can then be pass to @waku/interfaces.Filter.subscribe or @waku/interfaces.Relay.subscribe to automatically decrypt and decode incoming messages.