Skip to content

Conversation

youssefea
Copy link
Contributor

What changed? Why?

Basenames are ENSIP-19 compliant which makes the integration with wagmi/viem simple and straightforward. We added a guide to reflect this.

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Sep 10, 2025

🟡 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


## Wagmi

Before starting, make sure you have [set up Wagmi](/base-account/framework-integrations/wagmi/setup).

Choose a reason for hiding this comment

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

Include required version here


[Learn more about useEnsName →](https://wagmi.sh/react/api/hooks/useEnsName)

## Viem

Choose a reason for hiding this comment

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

Include required version here too

Comment on lines +23 to +31
import { useEnsName } from 'wagmi'
import { base } from 'wagmi/chains'

function App() {
const result = useEnsName({
address: '0xd2135CfB216b74109775236E36d4b433F1DF507B',
chainId: base.id,
})
}

Choose a reason for hiding this comment

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

have you run this to verify it works? I haven't tried the wagmi setup

import { base } from 'viem/chains'

const client = createPublicClient({
chain: base,

Choose a reason for hiding this comment

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

This HAS to be mainnet. All ENS requests start on mainnet. Under the hood, this makes sense since we don't know if a User on Base is using a domain that lives on Optimism. So the ENS infrastructure routes resolutions requests from mainnet to the correct chain.

@cb-heimdall
Copy link
Collaborator

Review Error for stevieraykatz @ 2025-09-11 17:11:25 UTC
User failed mfa authentication, 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