useLoginWithAbstract
hook to prompt users to sign up or sign into your application using Abstract Global Wallet
and optionally sign out once connected.
It uses the following hooks from wagmi under the hood:
login
: useConnect.logout
: useDisconnect.
Import
Usage
Returns
Opens the signup/login modal to prompt the user to connect to the application
using Abstract Global Wallet.
Disconnects the user’s wallet from the application.
Demo
View the live demo to see Abstract Global Wallet in action. If the user does not have an Abstract Global Wallet, they will be prompted to create one:
