-
Notifications
You must be signed in to change notification settings - Fork 304
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
SEP7 post messge callback #271
Comments
Probably not totally applicable, but this is the SEP-6 approach. One thing I regret about that design is that there's no capacity for both an HTTP and a |
@tomerweller SEP-0007 supports the My concern with a |
Mobile webviews (both IOS and Android) do support |
@orbitlens I'm wondering whether the advantages of having a On @tomerweller's initial point, I think this is an important question we should all consider: In which scenarios would a SEP-0007 link creator meet all four of these requirements:
I think in most cases requirement #3 would mandate requiring some backend infrastructure (lambda, etc.) and requirement #2 would only be set if #3 was also a requirement. Requirement #1 is one of the main purposes of a SEP-0007 request. The only case I can think of where the above assumption breaks down, i.e. where requirement #3 does not mandate requiring some backend infrastructure is when requirement #1 is violated. i.e. a web page that is isolated to the frontend and which updates the frontend based on your callback response. The action here (requirement #3 above) is the update to the frontend web page to display more information. There is no interaction with the Stellar network in this scenario, so requirement #1 is violated. Is there a category of use cases that meets all four of the above requirements? |
@nikhilsaraf Fully agree with you. The link should work on all clients regardless of the environment, so |
Yes, the category of client side webapps communicating with a browser extension. This is not a theoretical use case, it's what a a huge chunk of the ethereum ecosystem is built on (metamask). In our ecosystem such potential sep7 uri creators: account viewer, stellarterm, mystellar.tools. And probably more once client side apps don't have to worry about key storage and signatures. I'm not a fan of browser extensions being used in security sensitive places, but we have to acknowledge this category. |
@orbitlens sounds good, thanks!
can you give me an example of the action that these apps (account viewer, stellarterm, mystellar.tools) are taking as a result of SEP-0007 submission by the client wallet? |
No sabía soy nuevo en esto discúlpeme ahora lo borro |
SEP7 consumers will often be frontend applications and so will wallets that support SEP7 as delegated signers.
How can SEP7 callers receive callbacks from the SEP7 signers? Currently, the only supported callback protocol is http, which requires setting up additional back-end infrastructure.
Is there a way to generate
postMessage
URIs that will go directly back to the frontend app?@orbitlens, @morleyzhi, ideas?
The text was updated successfully, but these errors were encountered: