# jito-ts

> [![Discord](https://img.shields.io/discord/938287290806042626?label=Discord&logo=discord&style=flat&color=7289DA)](https://discord.gg/jTSmEzaR) [![NPM Version](https://img.shields.io/npm/v/jito-ts)](https://www.npmjs.com/package/jito-ts)

Latest version **4.2.1** (published 2025-09-10) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install jito-ts
pnpm add jito-ts
yarn add jito-ts
bun add jito-ts
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.2.1 |
| Published | 2025-09-10 |
| First published | 2023-01-31 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 11 |
| Unpacked size | 1.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jito Team |
| Maintainers | segfaultdoctor, jito_service |

## Links

- npm: https://www.npmjs.com/package/jito-ts
- npm.io page: https://npm.io/package/jito-ts

## Dependencies (11)

- [bs58](https://npm.io/package/bs58.md) ^6.0.0
- [dotenv](https://npm.io/package/dotenv.md) ^16.0.3
- [jayson](https://npm.io/package/jayson.md) ^4.0.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.7
- [@types/bs58](https://npm.io/package/@types/bs58.md) ^4.0.4
- [superstruct](https://npm.io/package/superstruct.md) ^1.0.3
- [@grpc/grpc-js](https://npm.io/package/@grpc/grpc-js.md) ^1.8.13
- [@noble/ed25519](https://npm.io/package/@noble/ed25519.md) ^1.7.1
- [agentkeepalive](https://npm.io/package/agentkeepalive.md) ^4.3.0
- [rpc-websockets](https://npm.io/package/rpc-websockets.md) 7.10.0
- [@solana/web3.js](https://npm.io/package/@solana/web3.js.md) ~1.77.3

## Recent versions

- 4.2.1 (latest) — 2025-09-10
- 4.2.0 — 2024-12-10
- 4.1.2 — 2024-11-20
- 4.1.1 — 2024-07-10
- 4.1.0 — 2024-07-02
- 4.0.1 — 2024-05-18
- 3.0.1 — 2024-01-14
- 3.0.0 — 2023-12-21
- 2.2.0 — 2023-06-14
- 2.1.0 — 2023-03-28
- 2.0.1 — 2023-02-21
- 2.0.0 — 2023-02-15
- 1.1.0 — 2023-02-15
- 1.0.0 — 2023-02-08
- 0.2.1 — 2023-02-08
- … 2 more at https://npm.io/package/jito-ts/versions

## README

# jito-ts

[![Discord](https://img.shields.io/discord/938287290806042626?label=Discord&logo=discord&style=flat&color=7289DA)](https://discord.gg/jTSmEzaR)
[![NPM Version](https://img.shields.io/npm/v/jito-ts)](https://www.npmjs.com/package/jito-ts)

Welcome to the Jito Typescript SDK repository! Use this to interact with the block-engine, relayer and future Jito APIs.

## Setup
Use with yarn `1.22`+ and Node 20.
```bash
yarn
```

### Building Protos
The generated proto files have been committed for convenience, but if there's ever a change you'll need to re-generate.
Steps to regenerate:
* Make sure you have protoc installed on your system
* If any new `.proto` files were added, update the appropriate `./scripts/gen-*-protos` script to include it.
* Run the appropriate `yarn gen-* ${PATH_TO_PROTOS}` and commit!

### Geyser

**Note:** Mac users may run into an error to the effect of "protoc-gen-js: program not found or is not executable";
if this is thrown, run:
* `brew install protobuf@3`
* `brew link --overwrite protobuf@3`
* `yarn gen-block-engine ${PATH_TO_BLOCK_ENGINE_PROTOS}`
* `yarn gen-geyser ${PATH_TO_GEYSER_PROTOS}`

## Usage

```bash
export RPC_URL="https://MY_RPC_URL"
export BLOCK_ENGINE_URL=mainnet.block-engine.jito.wtf
export AUTH_KEYPAIR_PATH=MY_AUTH_KEYPAIR.json
export BUNDLE_TRANSACTION_LIMIT=5

yarn run:simple_bundle
```

See other commands in `package.json`

---
_Source: https://npm.io/package/jito-ts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
