Skip to content

ens:set-resolver

Set the resolver contract of an ENS name.

ens:set-resolver <name> <resolver>
NameTypeDescription
namestringENS name (e.g. mydao.eth)
resolveraddressResolver address
load ens
# Switch mydao.eth to the latest public resolver
ens:set-resolver mydao.eth 0xF29100983E058B709F3D539b0c765937B804AC15
  • Wrapped names are handled automatically (the action goes through the NameWrapper instead of the registry).