app.certified.link.evm

A verifiable link between an ATProto DID and an EVM wallet address, proven via a cryptographic signature. Currently supports EOA wallets via EIP-712 typed data signatures; the proof field is an open union to allow future signature methods.

Repository @certified.app did:plc:apun3uo5jqm34pxzqq6on754 namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritylink.certified.app
Indexed
cid bafyreidp5lfeg6gumocw5czysjgbigaefyebkvhxspvamhhjrh7aw5nkx4

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "eip712Message": {
      "description": "The EIP-712 typed data message that was signed by the wallet. Contains the fields binding an ATProto DID to an EVM address on a specific chain.",
      "properties": {
        "chainId": {
          "description": "EVM chain ID as string (bigint serialized). Identifies which chain was used for signing; for EOA wallets the identity link applies across all EVM-compatible chains.",
          "maxLength": 78,
          "minLength": 1,
          "type": "string"
        },
        "did": {
          "description": "The ATProto DID being linked to the EVM address.",
          "format": "did",
          "maxLength": 256,
          "type": "string"
        },
        "evmAddress": {
          "description": "The EVM wallet address (must match the top-level address field).",
          "maxLength": 42,
          "minLength": 42,
          "type": "string"
        },
        "nonce": {
          "description": "Replay-protection nonce (bigint serialized).",
          "maxLength": 78,
          "minLength": 1,
          "type": "string"
        },
        "timestamp": {
          "description": "Unix timestamp when the attestation was created (bigint serialized).",
          "maxLength": 78,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "did",
        "evmAddress",
        "chainId",
        "timestamp",
        "nonce"
      ],
      "type": "object"
    },
    "eip712Proof": {
      "description": "EOA wallet ownership proof via EIP-712 typed data signature. Contains both the structured message that was signed and the resulting signature.",
      "properties": {
        "message": {
          "description": "The EIP-712 structured message fields that were signed.",
          "ref": "#eip712Message",
          "type": "ref"
        },
        "signature": {
          "description": "ECDSA signature over the EIP-712 hash (hex-encoded with 0x prefix, 64 or 65 bytes).",
          "maxLength": 132,
          "minLength": 130,
          "type": "string"
        }
      },
      "required": [
        "signature",
        "message"
      ],
      "type": "object"
    },
    "main": {
      "description": "A verifiable link between an ATProto DID and an EVM wallet address, proven via a cryptographic signature. Currently supports EOA wallets via EIP-712 typed data signatures; the proof field is an open union to allow future signature methods.",
      "key": "any",
      "record": {
        "properties": {
          "address": {
            "description": "EVM wallet address (0x-prefixed, with EIP-55 checksum recommended).",
            "maxLength": 42,
            "minLength": 42,
            "type": "string"
          },
          "createdAt": {
            "description": "Client-declared timestamp when this record was originally created.",
            "format": "datetime",
            "type": "string"
          },
          "proof": {
            "description": "Cryptographic proof of wallet ownership. The union is open to allow future proof methods (e.g. ERC-1271, ERC-6492). Each variant bundles its signature with the corresponding message format.",
            "refs": [
              "#eip712Proof"
            ],
            "type": "union"
          },
          "signatures": {
            "description": "Optional cryptographic signatures attesting to this record's content. The EIP-712 `proof` field proves wallet consent (orthogonal trust statement); `signatures` proves record provenance (e.g. that a platform UI minted this record).",
            "ref": "app.certified.signature.defs#list",
            "type": "ref"
          }
        },
        "required": [
          "address",
          "proof",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.certified.link.evm",
  "lexicon": 1
}