WalletConnect / web3modal-vanilla-js-example

An example application how to use Web3modal from vanilla JavaScript
https://web3modal.com/
173 stars 147 forks source link

Cache provider on page reload #1

Closed damland closed 4 years ago

damland commented 4 years ago

Hello, to be able to cache the provider I had to move web3Modal.providerController.cachedProvider = null; from onConnect() into onDisconnect()

miohtama commented 4 years ago

This has been now merged.