Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jito-ts-c

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jito-ts-c

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

  • 4.1.1-fix.0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
0
Weekly downloads
 
Created
Source

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.

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

Please request access to geyser by emailing support@jito.wtf

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

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

FAQs

Package last updated on 24 Sep 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc