We’ve added a feature to WAX Cloud Wallet that allows dApp customers to automatically log in to their favorite WAX dApps, making it even faster and easier to start using applications that run on the WAX Blockchain.
With the WaxJS quickstart, developers can run a simple, secure check that will let customers automatically sign into the dApp any time they access it.
Before you can start signing transactions from your dApp, a customer must be logged in. WaxJS includes an isAutoLoginAvailable function that:
- Securely checks for WAX Cloud Wallet credentials
- Checks to see if your dApp is whitelisted
If both conditions are true, a customer’s userAccount and public keys are set in your WaxJS object, and you don’t need to call the login() function. You’ll also have access to wax.userAccount and wax.pubKeys.
Customers save clicks and time, so they can start using your dApp in just seconds.
Want to see how it works? See the autologin feature in action here.
Visit the WAX Developer Hive for all our developer resources, and join our communities to stay up to date on WAX developments: