Validator Registry
Validator Registry
The Validator Registry is a core component of the Fabrica ecosystem that maps each validator's contract address to a human-readable name, so applications can display a token's validator by name instead of a raw address.
Name Resolution
A property token stores its validator as a contract address. The registry resolves that address to a human-readable name via its name(address) function, providing several benefits:
- Improved Readability: Applications can show a validator's name rather than its cryptographic address
- Stable Display: The on-chain validator name travels with the token as a trait, resolved from the address
- Cross-Chain Compatibility: The registry on each chain resolves that chain's validator addresses to names
Registry Structure
The Validator Registry maintains the following information for each validator:
- Name: Human-readable identifier (e.g., "fabrica-us-validator")
- Address: Contract address on each supported blockchain
- Metadata: Additional information about the validator's capabilities
- Status: Active, deprecated, or pending status
Validator Resolution Process
When a property token needs to interact with its validator:
- The token stores its validator's contract address (set via
updateValidator) - An application reads that address and calls the registry's
name(address)function - The registry returns the validator's human-readable name, which the token also exposes as an onchain trait
Supported Validators
The registry currently includes the following validators:
| Name | Description | Supported Networks |
|---|---|---|
| fabrica-us-validator | Primary validator for US properties | Ethereum Mainnet, Sepolia, Base Sepolia |
