ens:set-resolver
Set the resolver contract of an ENS name.
Syntax
Section titled “Syntax”ens:set-resolver <name> <resolver>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
name |
string |
ENS name (e.g. mydao.eth) |
resolver |
address |
Resolver address |
Examples
Section titled “Examples”load ens
# Switch mydao.eth to the latest public resolverens:set-resolver mydao.eth 0xF29100983E058B709F3D539b0c765937B804AC15- Wrapped names are handled automatically (the action goes through the NameWrapper instead of the registry).
See Also
Section titled “See Also”- @ens.resolver — read the current resolver