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

Integrate Jupiter adapter #4

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Integrate Jupiter adapter #4

wants to merge 21 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 19, 2022

This update will support Jupiter protocol in Gateway program, so that all the state can be stored on chain and provide better user experience to check the asset flow in Activity pages. See more details below.

  • Add wrap transactions through gateway
  • Update @jup-ag/core to latest version 4.0.0-beta.4
  • Add new parameters in gateway state: swapIndex, swapAmountConfig, swapRouteConfig
  • Support two-hop swap, currently can't support three-hop swap due to CPI instruction size constraint.
    Once Solana update the feature then we can active it.

Will also update these repo to make all functions works:
gateway-programs
adapter-programs

@ghost ghost force-pushed the jupiter-adapter branch 2 times, most recently from 92dd859 to 6a5f593 Compare November 29, 2022 06:01
@ironaddicteddog ironaddicteddog force-pushed the master branch 5 times, most recently from 7654df6 to aea3442 Compare December 4, 2022 05:53
@ghost ghost force-pushed the jupiter-adapter branch from 6a5f593 to 6481673 Compare January 4, 2023 14:11
@ghost ghost changed the title wip: integrate Jupiter adapter Integrate Jupiter adapter Jan 4, 2023
@ghost ghost force-pushed the jupiter-adapter branch from 44eae46 to 7f92b3c Compare February 1, 2023 15:58
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.

1 participant