Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 454 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 454 Bytes

Jupiter Phoenix Integration

This module implements the Amm trait defined here.

To test, simply run:

cargo test -- --nocapture

This will print out a quote for selling 1000 USDC against the Phoenix devnet SOL/USDC market. Sample output:

Getting quote for selling 1000 SOL
Quote result: 13652.531384
Getting quote for buying SOL with 13652.531384 USDC
Quote result: 990.215999999