Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Followed up with Nick Reynolds via slack. Here's their use case and why we should support it: @masoudahg00 @masoudleyli: #12504

Open
masoudahg00 opened this issue Dec 2, 2024 · 1 comment
Labels
external-contributor INVALID-ISSUE-TEMPLATE Issue's body doesn't match any issue template.

Comments

@masoudahg00
Copy link

          Followed up with Nick Reynolds via slack. Here's their use case and why we should support it:

so there's 2 reasons for our dapp requiring web3 in iframes
kirby: our dapp connects web3 wallets using a framework known as kirby (https://blog.joincivil.com/kirby-and-the-birth-of-wall-apps-bd6ce396e229) . Kirby works by sending messages from a parent app to a child app using postMessage, and the child iframe needs web3 injected in order to connect to MetaMask.
embedded components: we're building components for microtipping that newsrooms will embed via iframes in their articles. these embedded components need web3
for context, it appears that Coinbase Wallet injects web3 into iframes (haven't quite gotten it to work, actually, but the iframe is aware of Coinbase Wallet's web3). And of course, this flow works on desktop with MetaMask extension since that injects web3 into iframes.
this is all in service of our goal to build tools for publishers that have no experience in this area. using iframes provides a much quicker time to market than directly integrating with their application

Originally posted by @brunobar79 in #1154 (comment)

@metamaskbot metamaskbot added external-contributor INVALID-ISSUE-TEMPLATE Issue's body doesn't match any issue template. labels Dec 2, 2024
@masoudahg00
Copy link
Author

          Followed up with Nick Reynolds via slack. Here's their use case and why we should support it:

so there's 2 reasons for our dapp requiring web3 in iframes
kirby: our dapp connects web3 wallets using a framework known as kirby (https://blog.joincivil.com/kirby-and-the-birth-of-wall-apps-bd6ce396e229) . Kirby works by sending messages from a parent app to a child app using postMessage, and the child iframe needs web3 injected in order to connect to MetaMask.
embedded components: we're building components for microtipping that newsrooms will embed via iframes in their articles. these embedded components need web3
for context, it appears that Coinbase Wallet injects web3 into iframes (haven't quite gotten it to work, actually, but the iframe is aware of Coinbase Wallet's web3). And of course, this flow works on desktop with MetaMask extension since that injects web3 into iframes.
this is all in service of our goal to build tools for publishers that have no experience in this area. using iframes provides a much quicker time to market than directly integrating with their application
@metamaskbot @masoudahg00
Originally posted by @brunobar79 in #1154 (comment) @masoudahg00

@masoudahg00 @metamaskbot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external-contributor INVALID-ISSUE-TEMPLATE Issue's body doesn't match any issue template.
Projects
None yet
Development

No branches or pull requests

2 participants