Перейти к содержанию

kaspeak-sdk


kaspeak-sdk / Peer

Class: Peer

Defined in: crypto/peer.ts:6

Constructors

Constructor

new Peer(address, payload, isOwn, privateKey): Peer

Defined in: crypto/peer.ts:16

Parameters

address

string

payload

Payload

isOwn

boolean

privateKey

bigint

Returns

Peer

Properties

address

readonly address: string

Defined in: crypto/peer.ts:7


isOwn

readonly isOwn: boolean

Defined in: crypto/peer.ts:10

Accessors

chainKey

Get Signature

get chainKey(): bigint

Defined in: crypto/peer.ts:42

Returns

bigint


publicKey

Get Signature

get publicKey(): Uint8Array

Defined in: crypto/peer.ts:24

Returns

Uint8Array


sharedSecret

Get Signature

get sharedSecret(): Uint8Array

Defined in: crypto/peer.ts:37

Returns

Uint8Array


signature

Get Signature

get signature(): Uint8Array

Defined in: crypto/peer.ts:28

Returns

Uint8Array