• Creates a decoder that decode messages without Waku level encryption.

    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!IReceiver.subscribe to automatically decode incoming messages.

    Parameters

    • contentTopic: string

      The resulting decoder will only decode messages with this content topic.

    • Optional pubsubTopicShardInfo: string | SingleShardInfo

    Returns Decoder