Skip to content

BeeKEMWelcomeV2

Defined in: packages/core/src/beekem/types.ts:99

Generation-bearing Welcome required by the BeeKEM Welcome v2 protocol.

generation: number

Defined in: packages/core/src/beekem/types.ts:115

Sender generation.


leafIndex: number

Defined in: packages/core/src/beekem/types.ts:101

The new member’s leaf index.


numLeaves: number

Defined in: packages/core/src/beekem/types.ts:117

Exact leaf count.


pathKeys: WelcomePathKey[]

Defined in: packages/core/src/beekem/types.ts:103

Path keys from the new leaf to root, sealed to the new member.


treeHash: Uint8Array

Defined in: packages/core/src/beekem/types.ts:111

Serialized tree state hash for verification.


treeNodePublicKeys: WelcomeNodePublicKey[]

Defined in: packages/core/src/beekem/types.ts:109

Public keys for all tree nodes not covered by pathKeys or the new member’s own leaf. Includes peer leaves and internal nodes so the joiner can reconstruct the full tree for hash verification and future path updates.


version: 2

Defined in: packages/core/src/beekem/types.ts:113

Explicit protocol version.