Skip to content

feat: add direct Base L2 support for Basenames (*.base.eth)#20

Open
vickcharles wants to merge 3 commits intoethlimo:mainfrom
vickcharles:feature/basenames-support
Open

feat: add direct Base L2 support for Basenames (*.base.eth)#20
vickcharles wants to merge 3 commits intoethlimo:mainfrom
vickcharles:feature/basenames-support

Conversation

@vickcharles
Copy link
Copy Markdown

Summary

  • Adds native support for resolving contenthash records from Basenames (*.base.eth)
  • Queries Base L2 resolver directly, bypassing Coinbase CCIP gateway which doesn't return contenthash

Changes

  • Add BasenamesService to query Base L2 resolver at 0xC6d566A56A1aFf6508b41f6c90ff131615583BCD
  • Add IConfigurationBase interface for Base RPC configuration
  • Update NameServiceFactory to route *.base.eth to BasenamesService
  • Add BASE_RPC_ENDPOINT environment variable (defaults to https://mainnet.base.org)

Context

Coinbase's CCIP gateway at api.coinbase.com/api/v1/domain/resolver/resolveDomain doesn't return contenthash records for Basenames, preventing dwebsites from loading via eth.limo. This PR adds direct L2 resolution as a workaround.

Test plan

  • Tested locally with vickler.base.eth - successfully resolves contenthash to ipfs://bafybeifoze5lboyc7nxlqv2bfbd4irrxk3jj5qi7udsm2gklv3uq7qosde
  • Build passes

This adds native support for resolving contenthash records from
Basenames (*.base.eth) by querying the Base L2 resolver directly,
bypassing the Coinbase CCIP gateway which doesn't return contenthash.

Changes:
- Add BasenamesService to query Base L2 resolver at 0xC6d566A56A1aFf6508b41f6c90ff131615583BCD
- Add IConfigurationBase interface for Base RPC configuration
- Update NameServiceFactory to route *.base.eth to BasenamesService
- Add BASE_RPC_ENDPOINT environment variable (defaults to https://mainnet.base.org)
@vickcharles vickcharles requested a review from eth-limo as a code owner January 8, 2026 13:19
@eth-limo
Copy link
Copy Markdown
Member

eth-limo commented Jan 13, 2026

Hi @vickcharles thank you for your submission. Our team will review this.

Were any LLM tools used for this commit?

Would you also please add the necessary test cases and specify the new environment variables in README.md?

@eth-limo eth-limo self-assigned this Jan 13, 2026
@eth-limo eth-limo added the enhancement New feature or request label Jan 13, 2026
vickcharles and others added 2 commits February 9, 2026 16:59
Add test cases for example.base.eth and norecord.base.eth, wire up
testBasenamesService in the integration test harness, and document
the BASE_RPC_ENDPOINT environment variable in README.
@vickcharles
Copy link
Copy Markdown
Author

Hi @vickcharles thank you for your submission. Our team will review this.

Were any LLM tools used for this commit?

Would you also please add the necessary test cases and specify the new environment variables in README.md?

Hi @eth-limo! Thanks for the review.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants