New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

jito-js-rpc

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jito-js-rpc

JavaScript RPC client for Jito

latest
Source
npmnpm
Version
0.2.2
Version published
Weekly downloads
1K
-36.84%
Maintainers
1
Weekly downloads
 
Created
Source

jito-js-rpc

Discord JavaScript npm

The Jito JSON-RPC JavaScript 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

  • getInflightBundleStatuses: Retrieve the status of in-flight bundles.
  • getBundleStatuses: Fetch the statuses of submitted bundles.
  • getTipAccounts: Get accounts eligible for tips.
  • sendBundle: Submit bundles to the Jito Block Engine.

Transactions

  • sendTransaction: Submit transactions with enhanced priority and speed.

Installation

Prerequisites

This project requires Node.js and npm (Node Package Manager) for development. If you haven't installed Node.js yet, you can download it from nodejs.org.

Adding jito-js-rpc to Your Project

You can install the package using npm:

npm install

Or if you prefer using yarn:

yarn add jito-js-rpc

Usage Examples

Basic Transaction Example

To run the basic transaction example:

  • Ensure your environment is set up in examples/basic-transaction.js:

    // Load the sender's keypair
    const sender = loadKeypair("/path/to/wallet.json");
    
    // Set up receiver pubkey
    const receiver = new PublicKey("YOUR_RECEIVER_PUBKEY");
    
  • Run the example:

    node examples/basic_txn.js
    

Basic Bundle Example

To run the basic bundle example:

  • Set up your environment in examples/basic-bundle.js:

    // Load the sender's keypair
    const sender = loadKeypair("/path/to/wallet.json");
    
    // Set up receiver pubkey
    const receiver = new PublicKey("YOUR_RECEIVER_PUBKEY");
    
  • Run the example:

    node examples/basic_bundle.js
    

Contributing

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

Support

For support, please join our Discord community.

Keywords

jito

FAQs

Package last updated on 15 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts