matthias pfp
matthias
@iammatthias
From a smart contract on Base, how can you look up an ENS onchain for a given address?
3 replies
0 recast
5 reactions

Steve pfp
Steve
@stevedylandev.eth
Like a Basename? I think you could do that through the Resolver on Base. If you're trying to bridge an ENS on mainnet you might need an offchain gateway
1 reply
0 recast
0 reaction

matthias pfp
matthias
@iammatthias
Hoping for both. ENS, with a graceful fallback to Basename, then address. fname might be a better option for this
1 reply
0 recast
1 reaction

Steve pfp
Steve
@stevedylandev.eth
You can definitely make it happen by following some resolver examples, but it would require some offchain API work to bridge Base with Mainnet. That's what we had to do with Orbiter, and it's technically what Base does with Basenames to a point
1 reply
0 recast
1 reaction