Skip to main content

useAuth

Using this hook, you can check whether you are connected to the wallet.

Usage

import { useAuth } from "ethylene/hooks";

function App() {

const auth = useAuth();

return (
...
);
}

API

type ReturnType = boolean;