Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

[wallet-ui] Show a MetaMask notification when chan_proposeInstallVirtual is received #2144

Open
7 tasks
joelalejandro opened this issue Aug 7, 2019 · 0 comments
Assignees
Labels
🛑 Requirement 📦 Wallet UI code related to packages/wallet-ui
Milestone

Comments

@joelalejandro
Copy link
Contributor

When a user A runs a dapp and wants to interact with user B, a chan_proposeInstallVirtual is used to ask the counterparty if they want to use the dapp together.

The Wallet UI must trigger a notification for user B, ideally using MetaMask's notification system.

Task breakdown

  • Add listener for chan_proposeInstallVirtual
  • Add relay for chan_installVirtual
  • Add relay for chan_rejectInstall
  • Implement modal screen
  • Show modal when receiving a chan_proposeInstallVirtual message
  • Implement chan_installVirtual method call when clicking "Accept"
  • Implement chan_rejectInstall method call when clicking "Reject"
@joelalejandro joelalejandro added 🛑 Requirement 📦 Wallet UI code related to packages/wallet-ui labels Aug 7, 2019
@joelalejandro joelalejandro added this to the 👽 Grunty milestone Aug 7, 2019
@joelalejandro joelalejandro self-assigned this Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🛑 Requirement 📦 Wallet UI code related to packages/wallet-ui
Projects
None yet
Development

No branches or pull requests

1 participant