Skip to content

Conversation

@tomiiide
Copy link
Contributor

@tomiiide tomiiide commented Nov 26, 2025

Which Jira task is linked to this PR?

https://lifi.atlassian.net/browse/LF-16736

Why was it implemented this way?

Explain the reasoning behind the implementation. Were there alternative approaches? Why was this solution chosen?

This PR adds support for Jito bundles to enable more complex transactions on the Solana network

Key changes

  • Adds JitoConnection class extending Solana's Connection with bundle-specific methods (simulateBundle, sendBundle, getTipAccounts)
  • Adds automatic detection of rpcs with jito support by checking for getTipAccounts method availability.
  • Adds sendAndConfirmBundle with parallel sending and polling support like the existing sendAndConfirmTransaction
  • Updates solanaStepExecutor to handle bundles and single transaction depending on the sdk config and transactions

Visual showcase (Screenshots or Videos)

If applicable, attach screenshots, GIFs, or videos to showcase the functionality, UI changes, or bug fixes.

An example bundle -> https://explorer.jito.wtf/bundle/4b63086c8da6af20e5e715e9b5dc3278abb4d99442a6a64deea285f3b6cf1a34

Checklist before requesting a review

  • I have performed a self-review and testing of my code.
  • This pull request is focused and addresses a single problem.
  • If this PR modifies the SDK API or adds new features that require documentation, I have updated the documentation in the public-docs repository.

@tomiiide tomiiide changed the title Add jito bundles feat: add support for jito bundles Nov 26, 2025
@tomiiide tomiiide marked this pull request as ready for review November 28, 2025 13:05
@tomiiide tomiiide changed the title feat: add support for jito bundles feat(v3-solana): add support for jito bundles Nov 28, 2025
@tomiiide tomiiide self-assigned this Nov 28, 2025
@tomiiide tomiiide requested a review from chybisov December 3, 2025 14:31
@tomiiide tomiiide requested a review from effie-ms December 3, 2025 14:31
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