jito-labs/searcher-examples
À propos
Searcher Examples
Apprentissage et éducationProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalAbout
This repository contains a few examples on how to use a searcher.
Setup
- Install protoc to compile protobufs
- Follow instructions at: https://grpc.io/docs/protoc-installation/#install-pre-compiled-binaries-any-os
- Ensure that the rust toolchain is installed
$ curl https://sh.rustup.rs -sSf | sh
$ source $HOME/.cargo/env
- Clone the repo
$ git clone https://github.com/jito-labs/searcher-examples.git --recurse-submodules
$ cd searcher-examples
Infrastructure
You will need access to a few things before running these examples.
Local keypair
This is a locally generated wallet which you will use to sign transactions and pay for transaction fees and tips with.
Block Engine URLs
A list of our block engine URLs can be found here: https://docs.jito.wtf/lowlatencytxnsend/#api
Block Engine API Key
Please join our Discord server: https://discord.gg/jito
Then open a ticket: https://discord.com/channels/938287290806042626/1336799632898134037
Follow the prompts for a new JSON-RPC or gRPC user.
On-chain addresses
On-chain addresses for tip programs and tip accounts can be found here: https://jito-foundation.gitbook.io/mev/mev-payment-and-distribution/on-chain-addresses
Folders
cli
This is a rust program that exercises functionality inside the searcher API so you can explore the functionality. It provides an intuitive CLI-based interface for connecting to the block engine and sending test bundles.
jito_protos
An example on how to build the protobufs that define the messages and services one can use to talk to our block engine.
searcher_client
An example on how to authenticate with the block engine as a searcher. All users in the block engine need to perform a challenge-response
Disclaimer
Use this at your own risk.
Explorer des projets similaires
Chargement…