1

Can a contract own an ENS name? That would make it possibly to lock names for a period of time, making them immutable, so that the name can be trusted to continue to point to a certain contract.

2 Answers 2

2

Yes, an Ethereum Contract can have an ENS address.

From the ENS documentation:

The owner of a domain may be either an external account (a user) or a smart contract. A registrar is simply a smart contract that owns a domain, and issues subdomains of that domain to users that follow some set of rules defined in the contract.

0

Yes it can - I looked into this when i was learning about creating subdomains. The smart contract can own the ens, and it will also expire in the same way as it would if owned by a normal wallet address.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.