Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Implementing basic MetaMask provider communicating with iframe #7217
I'm developing a browser which is early based on sandboxed iframe. I know there is webview and browserwindow, but this is a experiment implementation of which level a iframe-based browser can achieve till I implement a better approach.
iframes and the main page can exchange messages. When a DApp inside iframe tries to communicate with MetaMask extension, the main page get it as message from iframe and repasses it to a basic MetaMask implementation. This basic implementation would have only these basic functions: ethereum.enable(), sign message, ethereum.send(options).
I'm not asking any MetaMask developer to do it for me.