Add basenames page to wagmi section#320
Conversation
✅ Heimdall Review Status
|
|
|
||
| ## Wagmi | ||
|
|
||
| Before starting, make sure you have [set up Wagmi](/base-account/framework-integrations/wagmi/setup). |
There was a problem hiding this comment.
Include required version here
| import { useEnsName } from 'wagmi' | ||
| import { base } from 'wagmi/chains' | ||
|
|
||
| function App() { | ||
| const result = useEnsName({ | ||
| address: '0xd2135CfB216b74109775236E36d4b433F1DF507B', | ||
| chainId: base.id, | ||
| }) | ||
| } |
There was a problem hiding this comment.
have you run this to verify it works? I haven't tried the wagmi setup
There was a problem hiding this comment.
It does not work for now, I removed it and kept viem only
| import { base } from 'viem/chains' | ||
|
|
||
| const client = createPublicClient({ | ||
| chain: base, |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
| chain: base, | |
| chain: mainnet, |
|
Review Error for stevieraykatz @ 2025-09-11 17:11:25 UTC |
Co-authored-by: katzman <steve@solkat.xyz>
| import { base } from 'viem/chains' | ||
|
|
||
| const client = createPublicClient({ | ||
| chain: base, |
|
Review Error for stevieraykatz @ 2025-09-23 17:22:41 UTC |
Co-authored-by: Amie <amie.corso@coinbase.com>
Co-authored-by: Amie <amie.corso@coinbase.com>
Co-authored-by: Amie <amie.corso@coinbase.com>
…ase#320) Adding doc pages to create Feed, user profiles, conversation threads, etc. via Neynar <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces information about `Neynar`, a third-party service that provides various APIs and tools for developers working with `Farcaster`. It updates documentation to include an overview and links to relevant resources. ### Detailed summary - Added a link to `Neynar` in `docs/reference/index.md`. - Introduced a new section for `Third party services` in `docs/.vitepress/config.mts`. - Created a new `Neynar` documentation page in `docs/reference/third-party/neynar/index.md` detailing services such as: - Hosted hubs - REST APIs - Signer management - New account creation - Webhooks - Data ingestion pipelines > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
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.