vegaprotocol / vegawallet-desktop

Desktop application for Vega Protocol's wallet
MIT License
15 stars 12 forks source link

Handle new interaction session for re-instated connections #675

Closed mattrussell36 closed 1 year ago

mattrussell36 commented 1 year ago

The Chore

Integrate the changes made in the backend to support the the surviving connections.

Tasks

  1. Update the vega dep to the latest develop
  2. Adapt DW backend to match the wallet core backend
  3. Integrate the new interaction sessions type
    1. Ensure the frontend can handle multiple interaction sessions for a given trace ID.
    2. Ensure the UX is correct.

Additional details / background info

Set the wallet in the session recovery mode

  1. Create a session using the client.connect_wallet
  2. Keep the token
  3. Restart the app
  4. Call client.list_keys with the token got from step 2.
  5. It should ask to reinstate the connection.