Beranames Docs
  • 🐻OVERVIEW
    • Introducing Beranames
    • Key Components
    • Get in Touch
  • 😎USING BERANAMES
    • Beranames Lifecycle
    • Registering a Beraname
    • Pricing
  • 🧠RESOLVERS
    • Forward Resolution
    • Reverse Resolution
    • Universal Resolver
    • Subdomains
  • Managing other addresses & Contract names
  • 🔨INTEGRATE
    • Contracts & Repositories
    • How to Mint
    • Configure Viem
    • Resolving
    • Listing Beranames on NFT Marketplaces
    • Use Beranames on Metamask
  • 📃RESOURCES
    • Audits
Powered by GitBook
On this page
  1. RESOLVERS

Universal Resolver

Beranames containing special chars like _ could not resolve correctly.

As for the forward resolution, the universal resolver can be used to resolve the reverse record in a single rpc call.

   universalResolver.reverse(bytes calldata name) external view returns (string, address, address, address)

where name is the dnsEncoded name to resolve.

returns: the resolved name, the resolved address, the reverse resolver address, and the resolver address.

PreviousReverse ResolutionNextSubdomains

Last updated 3 months ago

🧠