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.
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.
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.
Optional ENS name the user entered for this account, normalized to lowercase. Clients resolve it before writing and store the resolved address in ethereumWalletAddress.
When these account settings were first created.
When these account settings were last updated.
▸ 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."
}
}
}
}
}
}