Skip to content

Implements AMM trait for Phoenix markets to be compatible with Jupiter Aggregator

Notifications You must be signed in to change notification settings

Ellipsis-Labs/jupiter-phoenix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Implements AMM trait for Phoenix markets to be compatible with Jupiter Aggregator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages