ens-primary-name

Set a primary ENS name with reverse resolution using the Bankr CLI.

Updated Jun 11, 2026
One-click install
npx skills add https://github.com/dnzengou/agentbot-opensource --skill ens-primary-name-dnzengou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ens-primary-name
Source: https://github.com/dnzengou/agentbot-opensource/tree/main/skills/ens-primary-name
Command: npx skills add https://github.com/dnzengou/agentbot-opensource --skill ens-primary-name-dnzengou

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @bankr/cli, viem, node, and includes scripts (resource) components.

What problem does it solve?

This Skill solves the issue of setting a primary ENS name and configuring reverse resolution on Base and other L2 chains, making it easier for users to manage their ENS identities.

Core Features & Use Cases

  • Primary ENS Name Setting: Configure your primary ENS name across multiple chains.
  • Reverse Resolution: Create a bi-directional link between your ENS name and wallet address.
  • Supported Chains: Base, Arbitrum, Optimism, and Ethereum mainnet.
  • Use Case: For users who want to set their primary ENS name, configure reverse resolution, or make their address resolve to an ENS name.

Quick Start

Set your primary ENS name by running the command: ./scripts/set-primary.sh myname.eth

Frequently Asked Questions about ens-primary-name

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set my primary ENS name on Base or Arbitrum?

Yes, ENS reverse resolution works on Base, Arbitrum, Optimism, and Ethereum mainnet. This allows you to create a bi-directional link between your wallet address and ENS name across these specific networks.

Do I need forward resolution configured before setting a primary ENS name?

Yes, forward resolution must be set before configuring your primary ENS name. Forward resolution ensures your ENS name points to your wallet address, which is required before establishing the reverse link.

What do I need to run the ENS primary name setup script?

You need Node.js, the Bankr CLI, and the viem library to run the ENS primary name setup script. You also need native tokens in your wallet to pay for gas fees during the reverse resolution transaction.

Why is my ENS reverse resolution not working on L2 chains?

ENS reverse resolution fails if forward resolution is not set or if your wallet lacks native tokens for gas. Ensure your ENS name points to your address and you have sufficient gas tokens on the target L2.