set_primary_name
Set the primary ENS name (reverse resolution) for a wallet address.
This controls what name is displayed when someone looks up your Ethereum address. For example, instead of seeing "0x1234...abcd", they'd see "myname.eth".
Requirements:
You must own or control the ENS name
The name's ETH address record must point to your wallet
Only the wallet owner can set their own primary name
When a user says "set my primary name" / "make X my primary", JUST call this tool — it bundles BOTH transactions (set the ETH address record + set the reverse record) into a single sign-card. Do NOT also call set_ens_records separately for this. After the user signs, verify it landed with get_primary_name.
Only one primary name per address — setting a new one replaces the previous.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ENS name to set as primary (e.g. "myname.eth") | |
| walletAddress | Yes | Wallet address to set the primary name for (must sign the transaction) |