Contracts for Degen Domain Name Service
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

739 B

TLD Factories

Factories are contracts that produce new TLD contracts. Each factory can produce any number of TLDs. In order to avoid TLD name collisions, factories coordinate through the DegenForbiddenTlds contract, which holds a list of all existing TLDs and TLDs that are used by other services (ENS & UD).

Each factory contains a TLD template that needs to follow standard TLD methods (see IBaseDegenTLD interface), but it can implement them in a different way or add new methods.

The first factory to launch was the standard factory, followed by the flexi factory a couple of months later.

In order to easily resolve domains without being aware of all existing factories, use the unified resolver called DegenResolver.