Skip to content

JUP-setup jupiter program to swap solana tokens and added functionali…#41

Open
i-contemplator wants to merge 20 commits into
skynetcap:mainfrom
Crypto-Contemplations:JUP-swap-functionality
Open

JUP-setup jupiter program to swap solana tokens and added functionali…#41
i-contemplator wants to merge 20 commits into
skynetcap:mainfrom
Crypto-Contemplations:JUP-swap-functionality

Conversation

@i-contemplator

Copy link
Copy Markdown

…ty to deserialize transactions

@i-contemplator i-contemplator force-pushed the JUP-swap-functionality branch from f196779 to 2d4f179 Compare August 13, 2024 23:40
@skynetcap skynetcap self-assigned this Sep 1, 2024

@skynetcap skynetcap left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Looks good. Will approve the merge once the conflicts are resolved.

Thank you again for the contribution.


public static String swapToken(RpcClient rpcClient, Account account, URI quoteUri) {
JsonNode quote = getJupiterQuote(quoteUri);
return swapToken(rpcClient, account, quote);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why is this recursion here?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

That is actually calling a different method. I have changed the local variable name to be not confusing.

@slaverda

Copy link
Copy Markdown

Could someone to fix thesse conflicts, a lot of ppl are waiting for this feature.

@i-contemplator

Copy link
Copy Markdown
Author

Could someone to fix thesse conflicts, a lot of ppl are waiting for this feature.

I will take a look today and fix this.

@i-contemplator

Copy link
Copy Markdown
Author

Ok. I have fixed the merge conflict. Please let me know if this looks good. For now, I have not added tests but will add them in coming days.

@i-contemplator

Copy link
Copy Markdown
Author

Ok, I messed up in my previous commit and removed the commit that actually fixed the conflict. Now, it is fixed and have fixed the conflict.

@i-contemplator

Copy link
Copy Markdown
Author

Waiting for the feedback or approval. Thanks!

@i-contemplator

Copy link
Copy Markdown
Author

Could someone to fix thesse conflicts, a lot of ppl are waiting for this feature.

Done.

@slaverda

Copy link
Copy Markdown

Hey guys, any movement here?

@i-contemplator

Copy link
Copy Markdown
Author

@slaverda waiting for the approval so can be merged

@i-contemplator

Copy link
Copy Markdown
Author

@slaverda conflict has been resolved and you can start using it, but you will have to pull the changes from my branch and build it yourself.

@xbodnar

xbodnar commented Jan 8, 2025

Copy link
Copy Markdown

@i-contemplator Hi there, are there any blockers on this? The PR seems to be approved, so I was wondering if you’ve had a chance to finalize and merge it. Thanks!

@i-contemplator

Copy link
Copy Markdown
Author

@i-contemplator Hi there, are there any blockers on this? The PR seems to be approved, so I was wondering if you’ve had a chance to finalize and merge it. Thanks!

Hey, sorry. I fixed the conflict earlier and was waiting on the merge as I don't have perms to merge. Between then and now, there is another merge conflict that occurred. Let me get it done now.

@i-contemplator i-contemplator force-pushed the JUP-swap-functionality branch from 72a7ad4 to bff7f38 Compare January 8, 2025 22:38
@i-contemplator

Copy link
Copy Markdown
Author

@skynetcap @xbodnar i have fixed the merge conflict. Please let me know if it is good and feel free to merge it.

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.

4 participants