Skip to content

Document the WebSocket event protocol as a standalone reference #138

Description

@james2177

Description

The /ws event types (connected, snapshot, intent_created, intent_accepted, intent_filled, intent_cancelled, intent_expired) are currently only discoverable by reading scripts/solver-bot.ts's switch statement or IntentsGateway/IntentsController source directly — there's no dedicated protocol doc.

Requirements and context

Suggested execution

  1. Fork the repo and create a branch
    git checkout -b docs/websocket-protocol-reference
    
  2. Implement changes
    Relevant files:
  • docs/websocket-protocol.md
  1. Test and commit

    • Run npm run lint && npm run typecheck && npm test && npm run test:e2e
    • Include test output / screenshots or logs demonstrating the fix in the PR

    Example commit message:

    docs: document the WebSocket event protocol
    

Guidelines

  • Assignment required before starting — comment to claim this issue
  • PR description must include: Closes #[this issue's number]
  • Timeframe: 96 hours from assignment
  • Complexity: High (200 points)

Part of the Drips Wave for vortex-backend.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions