useAvaCloudWallet
The primary hook for handling authentication and basic wallet functionality.
Returns
isAuthenticated:boolean- Current authentication statusisLoading:boolean- Loading state of authenticationuser:User | null- User informationwallet:Wallet | null- Current wallet informationlogin:() => Promise- Trigger login flowlogout:() => Promise- Trigger logout flowaddAccount:() => Promise- Add a new account to the wallet
If you need more help, explore our other articles or reach out to our support team via chat or email [email protected]. All examples provided are for demonstration purposes only.
Learn More About AvaCloud | Download Case Studies | Schedule an AvaCloud Demo