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

Feat/jupiter #452

Closed
wants to merge 10 commits into from
Closed

Feat/jupiter #452

wants to merge 10 commits into from

Conversation

bryzettler
Copy link
Contributor

@bryzettler bryzettler commented Sep 8, 2023

Pulls in all tokens from your visible tokens list and shows swaps based on that.

jupiter

@matthewcarlreetz
Copy link
Contributor

@bryzettler Do you plan to add swapping to pay for location assertion fees?

@bryzettler
Copy link
Contributor Author

@matthewcarlreetz not that I know of. This was just to add Jupiter as the main means for the SwapsScreen. What needs to be done for location assertion?

@bryzettler bryzettler marked this pull request as ready for review September 11, 2023 20:02
@bryzettler bryzettler requested a review from a team as a code owner September 11, 2023 20:02
@bryzettler bryzettler requested review from allenan, tyler-whitman, Perronef5, ChewingGlass and matthewcarlreetz and removed request for a team September 11, 2023 20:02
@matthewcarlreetz
Copy link
Contributor

matthewcarlreetz commented Sep 11, 2023 via email

src/features/swaps/SwapScreen.tsx Outdated Show resolved Hide resolved
}
}, [inputMint, outputMint, validOutputMints])

useEffect(() => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to useAsync here and catch/display errors?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we're fine, this is just pulling the first validOutputMint and setting it as the default selected value.

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.

3 participants