Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update code to use ENV vars for Jupiter swap api #77

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zer0cache
Copy link

@zer0cache zer0cache commented Mar 4, 2024

Allows for the Jupiter V6 Swap API url to be configured via an environment variable while defaulting to the original hardcoded value and document the use of it. This should be helpful for cases where customers run into rate limits with the public API or are looking for lower latency with self/paid hosted installations.

Changes:

  • Makes the Jupiter Swap V6 API base URL configurable.
  • Changes default URL to public.jupiterapi.com with higher rate limits. (see jupiterapi.com)
  • Updates the README.

@abunsen
Copy link

abunsen commented Oct 1, 2024

Hi @mfycheng would love a review here.

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.

2 participants