Describe the bug
Frame creates a success transition when a transaction is broadcast, and it is extremely similar to the one on the Aragon client, resulting in a pretty awkward moment when using the product.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Detect if the client is not using MetaMask or is using Frame, and don't show the success panel.
@bpierre can we detect when Frame is used instead of MetaMask?
@jounih This is somewhat difficult to do right now (see https://github.com/aragon/aragon/issues/621), but once we figure out how to do this we can disable this panel for frame.
Alternatively we could whitelist providers, like Metamask, and only the panel if they're connected.
This and #621 are now possible with web3.eth.getNodeInfo() in newer versions of web3.js (still undocumented).
I believe this should be detectable now, if the user uses frame without its extension.
Most helpful comment
This and #621 are now possible with
web3.eth.getNodeInfo()in newer versions of web3.js (still undocumented).