Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User interface #100

Open
benjiqq opened this issue Apr 28, 2024 · 0 comments
Open

User interface #100

benjiqq opened this issue Apr 28, 2024 · 0 comments

Comments

@benjiqq
Copy link

benjiqq commented Apr 28, 2024

Proposal how to build a UI. the bot and other components have to communicate with the frontend (client).

If the bot has a websocket endpoint can implement a protocol like this eg. Each messages has a topic and a content

  • 'info', logging info eg about pools
  • 'tx', buy/sell info
  • 'balances', info about wallet

client can be written in react and display in realtime information from the websocket endpoint.

Open questions

  • what features to integrate? bot logs and info about tokens?
  • how to make this modular and not bloat the codebase. plugins?
  • make client a separate repo?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant