You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To enable blockchain application to establish a connection with Lisk Desktop, Lisk Desktop should be able to receive such events, and act accordingly. Lisk Desktop uses the WalletConnect public bridge served here.
Acceptance Criteria
Lisk Desktop should:
Be able to receive connection requests from blockchain application implemented according to the WalletConnect protocol.
Provide users with sufficient information to assess the correctness/genuinity of the connection.
Provide users with options to approve and reject the connection.
Send a connection approval event to the blockchain application, should the user approve the connection.
Send a rejection event to the blockchain application, should the user reject the connection.
The implementation should match the WalletConnect protocol, and the event schemas defined in the TECH proposal document.
Reasonable unit test coverage is required.
E2e test coverage is required.
Additional information
Request
WalletConnect client API provides a method to request a connection.
Approval
Lisk Desktop in turn can use another method to approve the connection request.
Rejection
If the user chooses to decline the request, Lisk Desktop can inform the blockchain application using the reject method.
Update
In the event that the user switches to another account, Lisk Desktop can update the session using the update method.
Termination
And finally, if the user decides to actively terminate the session, Lisk Desktop can handle this using the kill method.
The text was updated successfully, but these errors were encountered:
ManuGowda
changed the title
Enable users to receive and respond to connection request from dApps
Enable users to receive and respond to connection request from blockchain application
Aug 10, 2022
…ation - Closes#4415 (#4440)
* Add sample chain config
* Add connectionCreator utils
* Create custom hooks for managing the state
* Create connection manager
* Add the wcm lib to Lisk Desktop
* Update dependencies
* Use context to transfer information
* Add features to reuse existing components
* Abstract BlockchainAppDetailsWrapper out of BlockchainApplicationDetails
* Update connection summary and success views according to the design guides
* Apply designs to the Connection Proposal view
* Implement the design of the pairings list view
* Cleanup code and remove logs
* Move navigations outside wcm
* Break constants into lifeCycle and permissions
* Store session data in context object as "session"
* Make use of the useSession hook
* Fix breaking session request page
* Fix default icons
* Fix select all accounts
* Add unit test coverage to wcm
* Add unit test coverage to blockchain application components
* Fix failing unit tests
* Add missing unit test coverage
* Improve tests
* Apply peer-review requested changes
Description
To enable blockchain application to establish a connection with Lisk Desktop, Lisk Desktop should be able to receive such events, and act accordingly. Lisk Desktop uses the WalletConnect public bridge served here.
Acceptance Criteria
Lisk Desktop should:
Be able to receive connection requests from blockchain application implemented according to the WalletConnect protocol.
Provide users with sufficient information to assess the correctness/genuinity of the connection.
Provide users with options to approve and reject the connection.
Send a connection approval event to the blockchain application, should the user approve the connection.
Send a rejection event to the blockchain application, should the user reject the connection.
The implementation should match the WalletConnect protocol, and the event schemas defined in the TECH proposal document.
Reasonable unit test coverage is required.
E2e test coverage is required.
Additional information
Request
WalletConnect client API provides a method to request a connection.
Approval
Lisk Desktop in turn can use another method to approve the connection request.
Rejection
If the user chooses to decline the request, Lisk Desktop can inform the blockchain application using the reject method.
Update
In the event that the user switches to another account, Lisk Desktop can update the session using the update method.
Termination
And finally, if the user decides to actively terminate the session, Lisk Desktop can handle this using the kill method.
The text was updated successfully, but these errors were encountered: