This PR adds a ConnectToWalletButton component to the Header.
The button shows when window.ethereum is active and is hidden otherwise
So far the button only connects to the wallet and updates its text based on window.ethereum.selectedAddress and window.ethereum.on('accountsChanged', ...)
This should pave the way for a UI that uses the Ethereum identity provider. This can happen in this PR or the next.
This PR adds a
ConnectToWalletButton
component to theHeader
.window.ethereum
is active and is hidden otherwisewindow.ethereum.selectedAddress
andwindow.ethereum.on('accountsChanged', ...)
This should pave the way for a UI that uses the Ethereum identity provider. This can happen in this PR or the next.