Skip to content

jito-labs/mev-protos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b74a23f · Aug 2, 2024

History

50 Commits
Jan 19, 2024
Jan 19, 2024
Jan 3, 2023
Mar 18, 2022
Jan 31, 2023
Jun 12, 2023
Aug 2, 2024
Jul 16, 2022
Jun 25, 2024
Jul 16, 2022
Jan 4, 2023
Mar 15, 2023

Repository files navigation

Schemas

This repository contains schemas for grpc and json rpc endpoints for Jito Lab's MEV system.

grpc

The below explains how to use the public protobuf definitions for Jito Lab's MEV system.

Usage

Add this repo as a git submodule to your repo. Here's an example file tree in a Rust codebase:

your-rust-repo/
├─ src/
│  ├─ gm/
│  │  ├─ lib.rs
│  ├─ jito-protos/
│  │  ├─ protos/
│  │  │  ├─ *.proto
|  |  |─ src/
|  |  |  |─ lib.rs
|  |  |─ build.rs
/// lib.rs

pub mod proto_package {
    tonic::include_proto!("proto_package.proto");
}
/// build.rs

use tonic_build::configure;

fn main() {
    configure()
        .compile(
            &[
                "protos/proto_package.proto",
            ],
            &["protos"],
        )
        .unwrap();
}

If you are looking for inspiration, a sample client can be found at searcher examples

json rpc

json rpc schema explains how to use json rpc for Jito Lab's MEV system.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published