Skip to content

feature: Bulk trade price pusher#3458

Draft
Dewyer wants to merge 1 commit intomainfrom
feature/lazer-pusher-bulk-trade
Draft

feature: Bulk trade price pusher#3458
Dewyer wants to merge 1 commit intomainfrom
feature/lazer-pusher-bulk-trade

Conversation

@Dewyer
Copy link
Contributor

@Dewyer Dewyer commented Feb 11, 2026

Summary

Add Bulk Trade Price Pusher

Adds a new service that pushes Pyth Lazer price feeds to Bulk Trade validators via WebSocket.

Components

Binaries:

  • bulk-pusher - Main pusher service that subscribes to Lazer and pushes prices to validators
  • bulk-trade-cli - TUI monitor and Ed25519 key management utilities
  • bulk-trade-mock-validator - Mock validator for local testing

Libraries:

  • pusher-base - Shared Lazer client, feed config, and base metrics
  • pusher-utils - Runtime utilities (graceful shutdown with task tracking)
  • websocket-delivery - Multi-endpoint WebSocket client with auto-reconnect

Features

  • Subscribes to Pyth Lazer price feeds via WebSocket
  • Pushes signed price updates to multiple Bulk Trade validators
  • Ed25519 signing using bulk-keychain crate
  • HA support: multiple pushers share oracle account with different signing keys
  • Graceful shutdown with configurable timeout
  • Prometheus metrics for monitoring
  • Health endpoints (liveness + readiness)
  • Tilt-based local development environment

Local Development
cd apps/pyth-lazer-pusher/tilt/bulk && tilt up

Rationale

Allows us to use this inverted flow for supplying oracle prices for the bulk trade validators.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

@vercel
Copy link

vercel bot commented Feb 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
api-reference Ready Ready Preview, Comment Feb 11, 2026 2:40pm
component-library Ready Ready Preview, Comment Feb 11, 2026 2:40pm
developer-hub Ready Ready Preview, Comment Feb 11, 2026 2:40pm
entropy-explorer Ready Ready Preview, Comment Feb 11, 2026 2:40pm
insights Ready Ready Preview, Comment Feb 11, 2026 2:40pm
proposals Ready Ready Preview, Comment Feb 11, 2026 2:40pm
staking Ready Ready Preview, Comment Feb 11, 2026 2:40pm

Request Review

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

Successfully merging this pull request may close these issues.

1 participant