Type Alias Address

Address: {
    pubkey: Uint8Array;
    siteId: number | BigInt;
}

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.

Use peerKeyString to identify a peer, accessible via Peer, Connection, and ConnectionRequest.