Skip to content

Conversation

@jadonamite
Copy link

Overview

This PR adds a "CLI Quick Start" section to the README.md.

It provides a copy-pasteable example of how to resolve a Basename (e.g., jesse.base.eth) directly from the command line using cast.

Motivation & Context

The Problem:
Currently, the repository documents the smart contracts well but lacks a simple "Hello World" entry point for developers. To resolve a name manually, a developer must currently:

  1. Dig through the codebase to find the L2 Resolver deployment address.
  2. Manually construct the calldata.

The Solution:
By providing a pre-built cast command with the correct Mainnet L2 Resolver address (0xC6d5...3BCD), we significantly improve the Developer Experience (DX). This allows users to verify names and query the registry without writing any Solidity or JS code.

Changes

  • Added ### CLI Resolution Example to the Usage section of README.md.
  • Verified the L2 Resolver address (0xC6d566A56A1aFf6508b41f6c90ff131615583BCD) against the official deployments.

Checklist

  • Documentation updated.
  • Command verified on Base Mainnet.

Added CLI resolution example for resolving a Basename to an address using Foundry.
@cb-heimdall
Copy link
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Copy link

@jadonsunshine jadonsunshine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolving a Basename directly from the CLI using Foundry.

@cb-heimdall
Copy link
Collaborator

Review Error for jadonsunshine @ 2025-12-29 01:34:15 UTC
User failed mfa authentication, either user does not exist or public email is not set on your github profile. \ see go/mfa-help

Copy link

@jadonsunshine jadonsunshine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolving a Basename directly from the CLI using Foundry.

@cb-heimdall
Copy link
Collaborator

Review Error for jadonsunshine @ 2025-12-29 01:34:56 UTC
User failed mfa authentication, either user does not exist or public email is not set on your github profile. \ see go/mfa-help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants