Implements

Constructors

Properties

connectionManager: waku.ConnectionManager
filter?: IFilterSDK
libp2p: Libp2p
lightPush?: ILightPushSDK
pubsubTopics: string[]
relay?: IRelay
store?: IStoreSDK

Methods

  • Dials to the provided peer.

    Parameters

    • peer: PeerId | MultiaddrInput

      The peer to dial

    • Optional protocols: Protocols[]

      Waku protocols we expect from the peer; Defaults to mounted protocols

    Returns Promise<Stream>

  • Return the local multiaddr with peer id on which libp2p is listening.

    Returns string

    Throws

    if libp2p is not listening on localhost.

Generated using TypeDoc