Skip to content

A terminal UI for one of Solana's highest volume DEXs

Notifications You must be signed in to change notification settings

patapan/phoenix-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Terminal UI for Phoenix DEX

Phoenix is one of the largest DEX's on Solana. This repo provides functionality to:

  • View the orderbook for a particular Phoenix market
  • View the recent trade list

screenshot

Design choices

The program interfaces with Solana via a websocket connection initialised on startup. From there, when the user requests to view a token pair, it subscribes to accountSubscribe changes on the account representing the token pair on Phoenix, and logsSubscribe to get transactions. It then polls a RPC http endpoint to get the full transaction.

To deserialise the on-chain data the program has a dependency on phoenix-sdk. Similarly, to print the orderbook it uses the phoenix-v1 crate.

About

A terminal UI for one of Solana's highest volume DEXs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages