Skip to main content

peerTopic

@totemsdk/omnia


@totemsdk/omnia / peerTopic

Function: peerTopic()

peerTopic(pubkey): Buffer

Derive a 32-byte Hyperswarm topic Buffer for peer-to-peer rendezvous.

Parameters​

pubkey​

string

Returns​

Buffer