TerminologyThe term “validator” is used in the code and corresponding explanation due to historical reasons, but refers to the community RPC providers.
Use cases
- Tools want to present public metadata supplied by a validator or validator group as part of a list of candidate groups, or a list of current elected validators.
- Community RPC providers register their public RPC URL as a claim; see Registering the Node URL.
- Governance Explorer UIs may want to present public metadata about the creators of governance proposals.
Accounts smart contract, any account can register a URL under which their metadata file is available. The metadata file contains an unordered list of claims, signed by the account.
Types of claim
The following types of claim are supported:- Name Claim - An account can claim a human-readable name. This claim is not verifiable.
- Keybase User Claim - Accounts can make claims on Keybase usernames. This claim is verifiable by signing a message with the account and hosting it on the publicly accessible path of the Keybase file system.
- Domain Claim - Accounts can make claims on domain names. This claim is verifiable by signing a message with the account and embedding it in a TXT record.
- RPC URL Claim - Community RPC providers claim the public HTTPS URL their node serves. See Registering a community RPC provider.
Handling metadata
You can interact with metadata files through the CLI. Most commands require an RPC node to make view calls, and to modify metadata files, you’ll need the relevant account to be unlocked to sign the files. You can create an empty metadata file with:Accounts smart contract by running:
Related
- Registering a community RPC provider - the RPC URL claim in the registration flow
- Validator groups - why groups publish identity claims
- celocli account commands - the full command reference