Skip to content

DOMAIN

const DOMAIN: object

Defined in: derive.ts:47

Sparse EIP-712 message block to be signed by the root wallet. Note: Deliberately carries neither chainId nor verifyingContract as out primary concern is long-term access to the stored pieces, no matter what chain or contract they were initially associated with.

Never add a field here, and never zero-fill one. The separator is hashed over the fields that are present, so {name, version} and {name, version, chainId: 0, verifyingContract: 0x00…} are different domains, different signatures, and different keys. Any change orphans every key ever derived, with no migration path.

readonly name: "FOC Encryption" = 'FOC Encryption'

readonly version: "1" = '1'