1

I was wondering if I can replace the Metamask pop-up with my own pop-up/user interface.

Example: Currently on my dApp a user clicks "Buy Token" and a Metamask modal pops up and says the usual confirm/reject. Instead of this pop-up with the Metamask UI/logo is it possible when the user clicks "Buy Token" my own company branded personal pop-up happens instead?

Essentially I want to have the pop-up be re-branded to my own logo and add some information explaining what's happening.

Thanks for any clarification!

4

I assume that you are connecting your DApp with the blockchain using the browser web3 instance, which is provided by metamask. The alternative is to use Infure or your own node and change the web3 provider, then metamask will not pop-up and you can implement your own logic when someone click on a button to send a transaction, but then it is more complicated.

|improve this answer|||||
  • Yes, you're correct. Interesting, yea that would be more complex. Thanks though! – savard Jul 17 '19 at 20:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.