keep-starknet-strange / zkramp

MIT License
27 stars 26 forks source link

[EXTENSION] webpage connection #7

Open 0xChqrles opened 3 months ago

0xChqrles commented 3 months ago

Implement a connection logic, similar to the one available with extensions wallets. This way the extension should be able to read the current webpage, and the webpage should have a access to some specific data the extension is making public.

HumbertoTM10 commented 3 months ago

Hey @0xChqrles, I would like to work on this one!

onlydustapp[bot] commented 3 months ago

Hey @HumbertoTM10! Thanks for showing interest. We've created an application for you to contribute to Zkramp. Go check it out on OnlyDust!

0xChqrles commented 3 months ago

Hey ! Sorry I forgot to mention that #6 should be solved first in order to start working on this one. And please provide more details about yourself and the way you want to solve the issue by filling the OnlyDust application next time :)

BryanBorck commented 3 months ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

I would like to work on this one. I worked in the project called Zap in the HH Brussels Starknet and I already did the same logic for Zap, which uses TLSN to perform the same flow in Revolut. Morevoer, I am computer engineering in the blockchain ecossystem since 2022, I won some hackathons and I am starting in this journey of OnlyDust

How I plan on tackling this issue

Basically I will create a client in the content part of the extension (which handles the logic between desktop webpage and extension) and then I will send an action to open an Approval Page in the PopUp, then the client will choose to approve or reject the connection, and send back a response. Once the connection is established, I can create another function in the client (on the content.tsx) to send an action to the background to retrive some data from the extension or handle some webpages inputs to perform an action in the extension. Opening, for example, the side bar to perform all the notarization in the Revolut page.

onlydustapp[bot] commented 3 months ago

Hey @BryanBorck! Thanks for showing interest. We've created an application for you to contribute to Zkramp. Go check it out on OnlyDust!

0xChqrles commented 3 months ago

Hey @BryanBorck ! Thank you for your very detailed message !! Glad that the Zap team is willing to contribute ! I'm assign you to the issue rn 🫡