Skip to content

feat(v4-solana): add support for jito bundles (#329)#343

Merged
chybisov merged 9 commits intomainfrom
sync-jito-v4
Feb 3, 2026
Merged

feat(v4-solana): add support for jito bundles (#329)#343
chybisov merged 9 commits intomainfrom
sync-jito-v4

Conversation

@tomiiide
Copy link
Copy Markdown
Contributor

@tomiiide tomiiide commented Jan 13, 2026

Why was it implemented this way?

Sync #329 with v4

Adds support for submitting Solana transactions as Jito bundles, enabling MEV-protected atomic transaction execution.

Changes

** Connection -> RPC **

  • Replaced the connection nomenclature to rpc

Jito RPC Client

  • Created a @solana/kit Jito RPC client with bundle-specific methods:
    • sendBundle - Submit transaction bundles
    • getBundleStatuses - Check bundle confirmation status
    • getTipAccounts - Get Jito tip accounts
    • simulateBundle - Simulate bundle execution
  • Extended Jito RPC to include standard Solana RPC methods

RPC Management

  • Added RPC registry that automatically detects and categorizes Jito vs standard Solana RPCs
  • RPCs are detected by checking support for getTipAccounts method

Bundle Submission

  • Implemented sendAndConfirmBundle action that:
    • Submits transaction bundles to multiple Jito RPCs in parallel
    • Polls for bundle confirmation with blockhash expiry handling
    • Returns bundle ID, transaction signatures, and confirmation results

SDK updates

  • Added jitoBundle flag to route options - when enabled, step transaction requests include the flag so the API returns Jito-compatible transaction data
  • Updated SolanaStepExecutor to handle bundle transactions with proper signing and submission flow

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 self-assigned this Jan 13, 2026
@tomiiide tomiiide force-pushed the sync-jito-v4 branch 2 times, most recently from 025def3 to f6efab1 Compare January 30, 2026 16:07
@tomiiide tomiiide marked this pull request as ready for review January 30, 2026 16:20
@tomiiide tomiiide requested review from chybisov and effie-ms February 2, 2026 10:06
@tomiiide
Copy link
Copy Markdown
Contributor Author

tomiiide commented Feb 2, 2026

Don't add changes from main to this branch as it contains status manager that breaks the widget.

@chybisov @effie-ms

@tomiiide
Copy link
Copy Markdown
Contributor Author

tomiiide commented Feb 2, 2026

Breaking changes on the widget has been fixed here -> lifinance/widget#649

@chybisov chybisov merged commit fe3ca5e into main Feb 3, 2026
3 checks passed
@chybisov chybisov deleted the sync-jito-v4 branch February 3, 2026 10:06
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