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 Jupiter perps oracle #8050

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mariobern
Copy link
Contributor

gm llama sirs,

a small update on the oracle section of Jupiter perps

Jupiter perps currently leverages their own oracle (built with Edge) to update prices and open/close positions

However, Jupiter perps still relies on Pyth oracle:

  • As a reference price check (sanity check) against their oracle, ensuring that the deviation is not too big.
  • As a fallback price if their oracle's prices are stale.

In other words, if e.g. Jupiter's oracle price deviates too much from the Pyth oracle, there will be no trades executed on their perps

This signifies that the Pyth oracle is still a critical part of the Jupiter perps infrastructure as a supporting oracle

https://station.jup.ag/guides/perpetual-exchange/how-it-works#oracle

@realdealshaman
Copy link
Collaborator

Hey, @mariobern would the funds be at risk if Pyth reported an incorrect price?

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