Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Create a sample dApp to connect to Lisk Desktop through WalletConnect bridge server #185

Open
reyraa opened this issue Jul 20, 2022 · 1 comment
Assignees

Comments

@reyraa
Copy link
Contributor

reyraa commented Jul 20, 2022

As a part of "Implement blockchain application transaction signing" for Lisk Dekstop and Mobile, we should create a minimal dApp, running against the Postboard project to connect to Lisk Desktop though the WalletConnect bridge.

Before we start building the required code base for receiving events by Lisk Desktop, and acting accordingly, we need an application that initiates these events.

This will help us test the features in Lisk Desktop and Mobile. It'll also serve as a showcase on how to connect to Lisk Desktop for signing messages and transactions.

Said application must be able to:

  • Initiate a connection, and once established, receive the information from Lisk Desktop. If there’s an error, it should detect and display it. Although it doesn’t require a fancy design.
  • Send a transaction signature request, and similar to above, display the successful result or failure error.
  • Send a message signature request, and similar to previous tasks, display the successful result or failure error.

For the benefit of the community, we can add this application to the Lisk examples repository. We can choose from the existing tutorials, update it to Lisk SDK 6.0 and create the dApp to run against it.

Acceptance Criteria

  • Create a minimalist dApp to establish a connection with Lisk Desktop
    • Display result in JSON.
    • Display error in JSON.
    • Enable other action buttons if a connection is established.
  • Create a sign message form. It should:
    • Have a text input (No validation is required).
    • Have a submit button,
    • Display signed message in JSON.
    • Display user rejection error message in JSON.
  • Create a transaction signature request form. This form should:
    • Have required fields for submitting one of the custom transaction types available on the blockchain application (No validation is required).
    • Display result in JSON.
    • Display error in JSON.
  • Minimal/vital unit test coverage is appreciated.
@reyraa reyraa changed the title Create a minimal Desktop project to run against Postboard and connect to Lisk Desktop Create a sample dApp to connect to Lisk Desktop through WalletConnect bridge server Jul 20, 2022
@reyraa reyraa self-assigned this Jul 20, 2022
@amar-mesic
Copy link

Hey @reyraa, has there been any success on this front? I am building a dApp myself now, and I have been struggling with connecting the Lisk Desktop wallet to the dApp using walletconnect. The main setback is that walletconnect does not seem to directly support Lisk Desktop and/or vice versa.

Do you know where I can find a guide on how to accomplish that?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants