A. Name Resolution Mechanism
How Name Resolution Works:
The core function of UNS is to translate a human-readable name (e.g., "user.uns") into machine-readable blockchain addresses. This process is managed through "resolver" smart contracts deployed on each supported blockchain. The resolver holds the logic for converting the registered UNS name into the corresponding wallet addresses or other linked data.
When a user initiates a transaction using a UNS name, the resolver contract queries the relevant mappings stored on the blockchain, retrieves the associated address, and routes the transaction accordingly. This is similar to how the Internet's Domain Name System (DNS) converts domain names into IP addresses.
Decentralized and On-Chain Resolution:
Unlike centralized identity services, the resolution of UNS names is entirely decentralized, meaning that the data linking a name to its respective addresses is stored on-chain. This ensures that name resolution remains transparent, tamper-proof, and resistant to censorship.
Users can update their linked addresses through interactions with the UNS resolver contract, and these updates are immediately reflected across the decentralized network. This flexibility allows users to adjust their digital identity as needed while retaining full control over their data.
Cross-Chain Resolution:
UNS supports resolving names across multiple blockchains. For example, if "user.uns" is linked to both an Ethereum and a Solana address, the UNS resolver can provide the correct address depending on the context of the transaction. This enables users to manage a single identity that spans different blockchain networks.
To achieve this, UNS deploys chain-specific resolvers that handle the unique data structures of each blockchain while maintaining a unified experience for the user. This cross-chain functionality ensures that users do not need to manage separate identities or addresses for each blockchain they interact with.
Last updated