OwnershipProof
@totemsdk/root-identity / OwnershipProof
Interface: OwnershipProof
Ownership proof demonstrating that a root key controls a set of child addresses.
The root key signs a canonical JSON message that includes all child public keys and a timestamp, allowing third parties to verify the claim without any interaction with the blockchain.
Verification steps:
- Rebuild the canonical message from
rootAddress,childPublicKeys, andtimestamp. - Verify
rootProof.signatureover that message withrootProof.publicKey. - For each
(childPublicKeys[i], childAddresses[i])pair confirm the address is correctly derived from the public key.
Properties
childAddresses
childAddresses:
string[]
childPublicKeys
childPublicKeys:
string[]
rootAddress
rootAddress:
string
rootProof
rootProof:
WotsProof
rootPublicKey
rootPublicKey:
string
timestamp
timestamp:
string