Hello everyone!
During the weekend I wrote an initial EIP draft attempting to standardize the URL structure to link into a web3 browser (like Status, TrustWallet, Coinbase Wallet, imToken, MetaMask. etc…).
I’ve seen dApps detecting mobile browsers and asking you to download X browser and sometimes using deferred deeplinking (which is great) but I feel like we’re gonna get into a lot of vendor specific url schemes soon and that sucks.
In order to make the experience more seamless, dApps should still be able to recommend a specific mobile web3 browser via deferred deeplinking but by having a standard url format, if the user already has a web3 browser installed that implements this standard, it will be automatically linked to it.
Additional context: I’ve tried to keep this compatible with EIP-831 using ethereum:
and the dapp
prefix, which is making the urls a somehow ugly or complex.
For ex. in order to link here: https://peepeth.com/brunobar79?utm_source=twitter
the url would look like this: ethereum:dapp-https/peepeth.com/brunobar79?chain_id=1&utm_source=twitter
There’s a couple of problems with that:
-
Mobile wallets that don’t have a browser and registered the
ethereum:
scheme might be chosen by the OS to handle those links and they won’t be able to do anything with it.
In my opinion I think it would be much better if we just agree on the dapp://
protocol and we shouldn’t have to deal with any of those issues I’ve mentioned before, so let’s discuss what’s the best solution!
Here’s the draft: https://github.com/brunobar79/EIPs/blob/master/url-format-web3-browsers.md
Tagging some people to get feedback and primarily to discuss the viability of choosing the dapp://
url scheme.
@drwasho @pedrouid @pete @mandrigin @DmitryBespalov
If you guys know anyone else that should be involved please ping them!
Thanks!