Skip to content

v3xlabs/use-enstate

Repository files navigation

use-enstate

Note

This project aims to make the functionality of enstate.rs accessible to React users,

Features

  • 🪝 React Hook for getting ENS Profiles

Documentation

For documentation. Stick to the Typescript Intellisense.

Installation

Install use-enstate and let the magic happen.

npm install use-enstate

Usage

This library thingiemajig contains the following bits and bobs:

⚛️🪝 Getting an Ethereum Profile

T

import { useProfile } from 'use-enstate';

export const ProfileComponent = () => {
    const { address } = useProfile({
        nameOrAddress: "luc.eth",
    });

    return <div></div>;
};

🛠️ ens-tools

For more cool bits and bobs for ENS, checkout ens-tools!

⚖️ License

LGPL-3.0 License