Universal Name Service
  • 🧰introduction
    • Executive Summary
    • Background
      • Competitive Landscape
    • Introduction
  • 🛞How It Works
    • Multi-Chain Registration
    • Seamless Transfers
    • Integrated Token Swap
    • Automatic Bridging
    • Contract Registration
  • ⚙️Technical Architecture
    • Smart Contract Architecture
      • A. ERC-721-Based Name Ownership
      • B. Custom Smart Contracts for Non-EVM Chains
      • C. Resolver Contracts
      • D. Integration with Decentralized Identity (DID) Standards
    • Name Resolution and Identity Management
      • A. Name Resolution Mechanism
      • B. Identity Management through Decentralized Ownership
      • C. Integration with Decentralized Identity Protocols
  • 💰Tokenomics
    • Tokenomics
      • Utility of $UNS
      • Token Allocation
  • 🚩Roadmap
    • Roadmap
Powered by GitBook
On this page
  1. Technical Architecture
  2. Smart Contract Architecture

A. ERC-721-Based Name Ownership

  • Utilizing ERC-721 Standard:

For EVM-compatible blockchains like Ethereum, Base, and BNB Chain, UNS uses the ERC-721 non-fungible token (NFT) standard to register and manage names. Each UNS name (e.g., "user.uns") is represented as a unique NFT, providing a decentralized proof of ownership.

This NFT-based registration system ensures that users have verifiable ownership of their names, allowing them to transfer, sell, or modify their name registration just as they would with any other NFT.

The ERC-721 standard also makes it easy for third-party DApps and platforms to integrate with UNS, as the standard is widely supported across the EVM ecosystem.

  • Smart Contract Functions:

The primary smart contract for UNS includes functions for minting new names, updating address mappings, and transferring ownership of the name NFTs. These functions are accessible through a user-friendly interface but execute entirely on-chain, ensuring transparency and immutability.

The contract also includes mechanisms for managing subdomains, allowing users to create custom subdomains (e.g., "store.user.uns") under their primary UNS name. This capability extends the utility of each registered name, making it adaptable for both individual and organizational use cases.

PreviousSmart Contract ArchitectureNextB. Custom Smart Contracts for Non-EVM Chains

Last updated 4 months ago

⚙️