Options
All
  • Public
  • Public/Protected
  • All
Menu

js-waku

Index

References

Re-exports DefaultPubSubTopic
Re-exports LightPushCodec
Re-exports PageDirection
Re-exports PushResponse
Re-exports RelayCodecs
Re-exports StoreCodec
Re-exports Waku
Re-exports WakuLightPush
Re-exports WakuMessage
Re-exports WakuRelay
Re-exports WakuStore

Functions

  • generatePrivateKey(): Uint8Array
  • generateSymmetricKey(): Uint8Array
  • getNodesFromHostedJson(path?: string[], url?: string, wantedNumber?: number): Promise<Multiaddr[]>
  • Parameters

    • path: string[] = ...
    • url: string = 'https://fleets.status.im/'
    • wantedNumber: number = DefaultWantedNumber

    Returns Promise<Multiaddr[]>

  • getPublicKey(privateKey: Uint8Array | Buffer): Uint8Array
  • Return the public key for the given private key, to be used for asymmetric encryption.

    Parameters

    • privateKey: Uint8Array | Buffer

    Returns Uint8Array

Generated using TypeDoc