Skip to content

ens:set-resolver

Set the resolver contract of an ENS name.

Supports runtime fields inside smart blocks. Use explicit @helper! expressions or captured outputs; other fields are evaluated at build time.

ens:set-resolver <name> <resolver>
NameTypeEvaluationDescription
namestringBuild timeENS name (e.g. mydao.eth)
resolveraddressRuntime in smart blocksResolver 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).