Back to Simocracy

org.simocracy.accountSettings

Singleton record per user (rkey 'self') for Simocracy-specific account settings that do not belong in the ATProto profile record. The Ethereum wallet address is public data stored on the user's PDS; never store private keys or seed phrases here.

record · key literal:self

Singleton record per user (rkey 'self') for Simocracy-specific account settings that do not belong in the ATProto profile record. The Ethereum wallet address is public data stored on the user's PDS; never store private keys or seed phrases here.

ethereumWalletAddress

Optional public Ethereum wallet address for this Simocracy account. Clients must validate this as 0x followed by 40 hexadecimal characters before writing. When ethereumEnsName is present, this must be the address resolved from that ENS name. Omit the field to clear the address. Never store a private key or seed phrase.

string · max 42
ethereumEnsName

Optional ENS name the user entered for this account, normalized to lowercase. Clients resolve it before writing and store the resolved address in ethereumWalletAddress.

string · max 255
createdAt*

When these account settings were first created.

datetime
updatedAt

When these account settings were last updated.

datetime
Raw lexicon JSON
{
  "lexicon": 1,
  "id": "org.simocracy.accountSettings",
  "defs": {
    "main": {
      "type": "record",
      "description": "Singleton record per user (rkey 'self') for Simocracy-specific account settings that do not belong in the ATProto profile record. The Ethereum wallet address is public data stored on the user's PDS; never store private keys or seed phrases here.",
      "key": "literal:self",
      "record": {
        "type": "object",
        "required": [
          "createdAt"
        ],
        "properties": {
          "ethereumWalletAddress": {
            "type": "string",
            "maxLength": 42,
            "maxGraphemes": 42,
            "description": "Optional public Ethereum wallet address for this Simocracy account. Clients must validate this as 0x followed by 40 hexadecimal characters before writing. When ethereumEnsName is present, this must be the address resolved from that ENS name. Omit the field to clear the address. Never store a private key or seed phrase."
          },
          "ethereumEnsName": {
            "type": "string",
            "maxLength": 255,
            "maxGraphemes": 255,
            "description": "Optional ENS name the user entered for this account, normalized to lowercase. Clients resolve it before writing and store the resolved address in ethereumWalletAddress."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When these account settings were first created."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "When these account settings were last updated."
          }
        }
      }
    }
  }
}
org.simocracy.accountSettings