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

Demo WebSocket communication #178

Open
statictype opened this issue May 16, 2023 · 2 comments
Open

Demo WebSocket communication #178

statictype opened this issue May 16, 2023 · 2 comments

Comments

@statictype
Copy link
Contributor

statictype commented May 16, 2023

Have a demo of client - server comms via WebSockets

  • how to communicate via channels
  • how to query data from preact
  • define messages (new transaction, etc.)
  • what should be done with WS / what should be done with REST

related to #140

@peetzweg
Copy link
Member

A rough flow is demonstrated here:
https://github.com/paritytech/capi-multisig-app/pull/181/files#diff-48a207189b06f0a62ab05a05f02a5f3259b1e28254666b61a078422dde2a1d24R54-R104

@ryanleecode could you maybe give a draft description how you expect the flow and channels be structured?
What channels, which messages, in which order you had in mind?

@peetzweg
Copy link
Member

Probably outdated and can be removed?

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