Skip to content

ens:wrap

Wrap an ENS name in the NameWrapper.

⚗️ Experimental — available at next.evmcrispr.com.

ens:wrap <name>
NameTypeDescription
namestringENS name (e.g. mydao.eth)
NameTypeDescription
--resolveraddressResolver of the wrapped name
--fusesnumberOwner-controlled fuses to burn while wrapping (.eth second-level names only; use @ens:fuses)
load ens
# Wrap a .eth second-level name (single transaction, no approval needed)
ens:wrap mydao.eth
# Wrap and burn fuses in one go
ens:wrap mydao.eth --fuses @ens:fuses("cannot-unwrap" "cannot-transfer")
# Wrap a subname (approves the NameWrapper, then wraps)
ens:wrap vault.mydao.eth
  • Wrapping a .eth second-level name automatically burns parent-cannot-control.
  • --fuses only applies to .eth second-level names; for subnames burn fuses afterwards with ens:set-fuses.