Base is building with a great vigor towards consumer apps. Basenames is one such great app with the portfolio and the profile page! We would love to see more accessibility in managing basenames.
The motivation extends to an audience larger than India here and the premise is to allow a better user experience while creating BaseName profiles and buying BaseNames!
ENS has done a wonderful job by expanding to Base. And with the 100+ L2s we live with, you may forget where your ETH is lying to buy that lucrative Basename.
Trying to get funds in the right place is a HUUUGEE task. And did we forget bootstrapping gas on Base?
Well. That's what SuperBaseNames solves!
SuperBaseNames provides you with the comfort to buy basenames with any tokens on any chain!
We provide an interface where users can forget about bridging their ETH and just focus on which Basenames they want to HODL.
We use the Cross-chain Intents Framework built by Router Protocol to enable the entire flow. Users can bridge their funds and buy the domain in a single interaction! We can thus enable chain abstracted experiences for the users.
A brief walkthrough of how SuperBaseNames work:
(Back pain.)
Figuring out how the basenames contracts work took a while without the docs for L2 specific actions. We used Tenderly and the ENS Github repo to figure out how we can buy names from a contract adapter.
Another huge blocker was to figure out reverse quotes for the bridging requests. The support to request for quotes with destination token amount is extremely sparse. We've created a workaround for that during this hack which needs a little bit of extra slippage. Though this extra amount is always returned to the user as ETH on Base. And this step also helps to bootstrap some gas for the second step of setting the name as a primary name for the address.
Setting reverse configuration for some different address is not possible. And this really took a bunch of our time, trying to hack around the contracts and testing the deployments. As a final solution, now we require users to do another transaction to set a BaseName as their primary one.
The intents framework is built by Router Protocol. SuperBaseNames is an adapter that fits into this ecosystem.
The only work carried forward from Router Protocol is the open source BatchTransaction handler contracts and open source API.
All Basename related developments are recent and no older than 10th October 2024.
We've worked on the following tasks to create SuperBaseNames:
Technologies used
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
Discussion