Skip to content

Duplicate Wallet Notifications via Websocket #11

@brann-dev

Description

@brann-dev

Currently post trade, the server wallet will sync its server balances from Solana on chain and then emit the fresh updated balances via the emit system, which is picked up by the bot and sent to the front end via the connected websocket.

This provides real time wallet balance updates.

When manually trading via the API:

  • you will currently get a duplicate server wallet update notification from the websocket

When copy trading:

  • You will get the duplicate notification, as you do when API trading.
  • In addition, there is an extra refresh and emit of the server wallet balances occurring prior to the copy trade execution with pre trade values (useless info)
  • Need to track down what is triggering the extra refresh.

NOTE: This does not affect usability of the app, its just noisier than it needs to be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions