Skip to content

matchesCommitment

matchesCommitment(kk, recorded): boolean

Defined in: derive.ts:190

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

ParameterType
kkUint8Array
recordedstring

boolean

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