-
Notifications
You must be signed in to change notification settings - Fork 36
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
Feat/jupiter #452
Conversation
@bryzettler Do you plan to add swapping to pay for location assertion fees? |
@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? |
Nothing necessarily. I was just thinking we could allow them to pay the re-assert fee with IOT, MOBILE, or HNT. Right now it will only burn HNT (if needed).
… On Sep 11, 2023, at 3:01 PM, Bryan ***@***.***> wrote:
@matthewcarlreetz <https://github.com/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?
—
Reply to this email directly, view it on GitHub <#452 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AANN4NM7QIODNLLFDQCT6X3XZ5UY5ANCNFSM6AAAAAA4Q7MX6A>.
You are receiving this because you were mentioned.
|
} | ||
}, [inputMint, outputMint, validOutputMints]) | ||
|
||
useEffect(() => { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
Pulls in all tokens from your visible tokens list and shows swaps based on that.