Skip to content

[Playground] Integration of the wallet extension and playground #719

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

Open
ukorvl opened this issue Apr 1, 2025 · 4 comments
Open

[Playground] Integration of the wallet extension and playground #719

ukorvl opened this issue Apr 1, 2025 · 4 comments
Assignees
Labels
playground Related to playground interface

Comments

@ukorvl
Copy link
Member

ukorvl commented Apr 1, 2025

Right now we are able to use only built-in wallet in the playground.
Motivation - usage of external wallet extension would be very beneficial for developers on nil and users, allowing them to use one wallet in different projects and environments.

This is a large issue, including several tasks

  • A basic way of connecting wallet extension and react application. We already have an example in academy
  • Change of business logic layer in playground app
  • Ensure extension works with playground and tutorials also
  • Add a convenient way of switching between built-in and extension wallets
  • Small adjustments to design.
    • When user don't have a created built-in wallet and extension is not connected we should show a button which will allow to choose wallet to connect.
    • When one of the wallets is connected there should be probably a button-icon near the wallet panel allowing to switch between wallets
@ukorvl ukorvl added the playground Related to playground interface label Apr 1, 2025
@ukorvl
Copy link
Member Author

ukorvl commented Apr 1, 2025

Small adjustments to design.
When user don't have a created built-in wallet and extension is not connected we should show a button which will allow to choose wallet to connect.
When one of the wallets is connected there should be probably a button-icon near the wallet panel allowing to switch between wallets

@mdaria17 what do you think about this part, is it correct from the UX POV?

@ukorvl ukorvl removed their assignment Apr 1, 2025
@mdaria17
Copy link
Collaborator

mdaria17 commented Apr 8, 2025

Hey! Here is a link to the Figma file with the flow

Plus, I attached a video with the explanation of how it is supposed to work

Smart.account.and.wallet.extension.switching.mov

@ukorvl
Copy link
Member Author

ukorvl commented Apr 8, 2025

@gitshreevatsa here is a video with demo of extension wallet connection and switching!

@khannanov-nil
Copy link
Collaborator

khannanov-nil commented Apr 9, 2025

Relates to #777. Me and @gitshreevatsa chose to proceed as was originally planned. @gitshreevatsa will handle the entire wallet integration flow including the relevant UI changes in the account pane. I will handle all other UI changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
playground Related to playground interface
Projects
None yet
Development

No branches or pull requests

4 participants