Jito Relayer acts as a transaction processing unit (TPU) proxy for Solana validators.
# pull submodules to get protobuffers required to connect to Block Engine and validator
$ git submodule update -i -r
# build from source
$ cargo b --release
We opt to use cargo workspaces for making releases.
First, install cargo workspaces by running: cargo install cargo-workspaces
.
Next, check out the master branch of the jito-relayer repo and
ensure you're on the latest commit.
In the master branch, run the following command and follow the instructions:
$ ./release
This will bump all the versions of the packages in your repo, push to master and tag a new commit.
There are two options for running the relayer from releases:
- Download the most recent release on the releases page.
- (Not recommended for production): One can download and run Docker containers from the Docker registry.
See https://jito-foundation.gitbook.io/mev/jito-relayer/running-a-relayer for setup and usage instructions.