Integrate Basenames into your onchain app, in just a few steps.
New to OnchainKit?
Already using OnchainKit?
<Avatar>
and <Name>
<Avatar>
and <Name>
components to display Basenames associated with Ethereum addresses.
The chain
prop is optional and setting to Base, it’s what makes the components switch from ENS to Basenames.
useAvatar
and useName
useAvatar
and useName
hooks to get Basenames associated with Ethereum addresses.
The hooks are incredibly useful for building custom components while leveraging OnchainKit for efficient data fetching.
getAvatar
and getName
getAvatar
and getName
functions to get Basenames associated with Ethereum addresses.
Being pure functions, it seamlessly integrates into any TypeScript project, including Vue, Angular, Svelte, or Node.js.