@cryc/use-ens-profile
v0.0.2
Published
React hook to get ens data
Downloads
2
Readme
use-ens-profile
React hook to get ens data. Automatically update name Use inside a web3-react provider.
const { name, avatarUrl } = useEnsProfile()
name
is either a trimmed address0x1234...5678
or an ens domainhello.eth
avatarUrl
is either an http url pointing to the ens image or a metamask identicon (jazzicon)