Skip to content

matchesCommitment

matchesCommitment(groupKey, recorded): boolean

Defined in: derive.ts:280

Verifies that groupKey is the key you expect: the right root wallet and the right group key. Check this before using any key received in a grant.

Parameter Type
groupKey Uint8Array
recorded string

boolean

If the recorded value is not a commitment in this format.