Contract test dapp improvements (#7587)
* Add Get Accounts button This button calls `eth_accounts`. This button is always enabled, even when not connected. * Disable account buttons by default The buttons that require you to have first connected have been disabled by default. Previously they would be enabled until the JavaScript finished initializing the page, at which point they'd be disabled. This resulted in a distracting flash as the page loaded and the buttons changed. The `signTypedData` button was added to the accounts button set as well, rather than being left enabled regardless of connected status. * Allow connect button to become re-enabled The Connect button was broken previously in that after being disabled, it would stay disabled even if the dapp lost access to MetaMask. The button will now be enabled whenever not connected. * Stringify signTypedData results * Defer metamask onboarding bundle to speed up page loadfeature/default_network_editable
parent
29da5cc7e8
commit
812c546acd
Loading…
Reference in new issue