Automatic Error Handling
Last updated
Last updated
In the event a user does not have a wallet attached when visiting your site (for example, in a mobile browser) the Connect Widget will display as 'Install Wallet' automatically.
If the user's wallet is connected to a different blockchain than the one you've configured via the data-network prop, the Connect Widget will display as 'Wrong Network' automatically.
If a configuration error occurs, like passing in a fallback provider without specifying a network, the Connect Widget will display as 'Config Error' automatically.