I'm building a Chrome extension which is supposed to able able:
a) insert custom button on a website, depending on some condtion
b) a button will have to invoke MetaMask, or any other browser-based wallet. But primarilty MetaMask
c) pass some data to it -- "an amount of a payment required for a user to pay"
How can a browser extension activate MetaMask? If at all.
Otherwise, what would be other options?