xmpp_p2p
    Preparing search index...

    Function writeDhtJson

    • Writes JSON to the DHT if the content routing API is available.

      Parameters

      • libp2p: Libp2p

        Active libp2p node.

      • key: Uint8Array

        DHT key to store.

      • value: unknown

        Serializable payload.

      Returns Promise<void>

      Nothing.