Skip to content

mvines/rust-jup-ag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jup-ag

Jupiter Aggregator API bindings for Rust.

Basic usage examples can be found in the examples directory.

Usage

Examples

To run the examples:

$ cargo run --example <EXAMPLE_NAME>

Using Self-hosted APIs

You can set custom API endpoints via environment variables to use any self-hosted Jupiter APIs. Like the self-hosted V6 Swap API or paid hosted APIs. Here are the ENV vars:

QUOTE_API_URL=https://hosted.api
PRICE_API_URL=https://price.jup.ag/v1

About

Jupiter Aggregator API Binding for Rust

Resources

License

Stars

Watchers

Forks

Languages