Skip to main content

jito-sdk-python

Discord Python PyPI Documentation

The Jito JSON-RPC Python SDK provides an interface for interacting with Jito's enhanced Solana infrastructure. This SDK supports methods for managing bundles and transactions, offering improved performance and additional features while interacting with the Block Engine.

Features

Bundles

  • get_inflight_bundle_statuses: Retrieve the status of in-flight bundles.
  • get_bundle_statuses: Fetch the statuses of submitted bundles.
  • get_tip_accounts: Get accounts eligible for tips.
  • send_bundle: Submit bundles to the Jito Block Engine.

Transactions

  • send_transaction: Submit transactions with enhanced priority and speed.

Installation

Prerequisites

This project requires Python 3.8 or higher. If you haven't installed Python yet, follow these steps:

  1. Install Python: Download and install Python from python.org

  2. Verify the installation:

    python --version
    
  3. (Optional but recommended) Set up a virtual environment:

    python -m venv jito-env
    source jito-env/bin/activate  # On Windows use `jito-env\Scripts\activate`
    

Installing jito-sdk-python

Install the SDK using pip:

pip install jito-py-rpc

Usage Examples

Basic Transaction Example

To run the basic transaction example:

  1. Ensure your environment is set up in basic_txn.py:

    # Load the sender's keypair
    wallet_path = "/path/to/wallet.json"
    
    # Set up receiver pubkey
    receiver = Pubkey.from_string("YOUR_RECEIVER_KEY")
    
  2. Run the example:

    python basic_txn.py
    

Basic Bundle Example

To run the basic bundle example:

  1. Ensure your environment is set up in basic_bundle.py:

    # Load the sender's keypair
    wallet_path = "/path/to/wallet.json"
    
    # Set up receiver pubkey
    receiver = Pubkey.from_string("YOUR_RECEIVER_KEY")
    
  2. Run the example:

    python basic_bundle.py
    

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For support, please join our Discord community.

Metadata

Release files for jito-py-rpc 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jito-py-rpc 0.1.5
File Size Uploaded Provenance Actions
jito_py_rpc-0.1.5.tar.gz 8.2 kB Without provenance Details for jito_py_rpc-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jito-py-rpc 0.1.5
File Interpreter ABI Platform Actions
jito_py_rpc-0.1.5-py3-none-any.whl Python 3 none any Details for jito_py_rpc-0.1.5-py3-none-any.whl

Total release size: 16.5 kB

Release files / jito_py_rpc-0.1.5.tar.gz

Download URL jito_py_rpc-0.1.5.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e752fbbea8a171bd5fd86f1a2d586190adc48fa6f0f62316f00ea11eb80a82a6
BLAKE2b-256 checksum
How to use checksums
1971b56285417de9b53a7fbf24d8e7b1bb857bcf475136a9ca275783230b0d50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / jito_py_rpc-0.1.5-py3-none-any.whl

Download URL jito_py_rpc-0.1.5-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
965e98fef0f68173e8dfe49f2432a782dd3def21d5f7918f7e5071c1937f8b7f
BLAKE2b-256 checksum
How to use checksums
5000a2338ce84ff4d168cee9815958ddbd4f1fc9f7ec42c5528f5bae39f1edd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Security for jito-py-rpc 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page