DOMAIN

const val DOMAIN: String

The domain-separation prefix. Versioned so the scheme can change without a silent signature-meaning shift, and deliberately longer than a 32-byte transaction hash (38 bytes) so signingBytes can never be one.

Interop-critical: this constant is byte-for-byte identical across the Kotlin and Swift SDKs. A shared golden vector (testdata/dapp/ signmessage.json) pins it so the two cannot drift; a wallet on one platform and a dApp on the other must agree on it exactly.