Type alias Address

Address: {
    pubkey: Uint8Array;
    siteId: string;
}

An opaque address uniquely identifying another peer on the Ditto mesh network.

IMPORTANT: You should not rely on the individual components of the address, those can change at any time. Please use addressToString() to compare individual addresses with each other.

Type declaration

  • pubkey: Uint8Array
  • siteId: string