0.0.2 • Published 2 years ago
@cryc/use-ens-profile v0.0.2
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)