When users want to obtain a domain for the first time, they must interact with a registrar. Registrars are smart contracts that own a domain, and have a defined process for handing out subdomains. The registrar a user needs to interact with depends on the domain they want to obtain; for instance, a user wanting a .dfi name will have to interact with the .dfi registrar. Each registrar defines its own API for name registrations.

At present, there are no libraries for interacting with registrars; DApps wishing to do so must interact with the registrar contract using a generic Ethereum/EVM library. See the Contract API Reference for details on each registrar's interface.

Deployed Registrars

Last updated