wrap_name
Wrap an ENS name to enable fuse permissions and protected subnames, converting ERC-721 to ERC-1155. Returns approve+wrap transactions.
Instructions
Wrap an unwrapped .eth name into the ENS NameWrapper contract.
Wrapping converts the name from an ERC-721 token (BaseRegistrar) to an ERC-1155 token (NameWrapper). This enables:
Fuse permissions (restrict what can be done with the name)
Protected subnames (subnames with guaranteed permissions)
ERC-1155 compatibility for marketplaces and protocols
Returns a two-step transaction recipe: approve + wrap.
Available fuses (all IRREVERSIBLE once burned):
CANNOT_UNWRAP — prevents unwrapping back to BaseRegistrar
CANNOT_BURN_FUSES — prevents burning additional fuses
CANNOT_TRANSFER — prevents transfers
CANNOT_SET_RESOLVER — prevents resolver changes
CANNOT_SET_TTL — prevents TTL changes
CANNOT_CREATE_SUBDOMAIN — prevents new subnames
CANNOT_APPROVE — prevents approving operators
CANNOT_UNWRAP must be burned before any other fuses can be burned.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"owner": "<owner>"
},
"name": "wrap_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ENS name to wrap (e.g. "coffee.eth") | |
| fuses | No | Optional fuses to burn on wrap (e.g. ["CANNOT_UNWRAP"]). WARNING: irreversible. | |
| owner | Yes | Address of the current name owner (must own the BaseRegistrar token) |