Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 901 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 901 Bytes

jito-ts

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

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}