Solana — Yellowstone Geyser plugin

Jesse
Coinmonks
1 min readJun 9, 2024

--

How to setup the Yellowstone Geyser plugin on your RPC?

Clone the github repo

git clone https://github.com/rpcpool/yellowstone-grpc
cd yellowstone-grpc

When you are in the yellowstone-grpc folder retrieve the available git tags to find the correct version.

git tags

This will return a list like this

v1.14.0+solana.1.18.9
v1.14.1+solana.1.17.25
v1.14.1+solana.1.17.28
v1.14.1+solana.1.17.31
v1.14.1+solana.1.17.33
v1.14.1+solana.1.18.11
v1.14.1+solana.1.18.12
v1.14.1+solana.1.18.9
v1.14.2+solana.1.17.33
v1.14.2+solana.1.18.13
v1.14.2+solana.1.18.14
v1.14.3+solana.1.18.15

Checkout the correct tag for your Solana version, for example using 1.18.15

git checkout v1.14.3+solana.1.18.15

Once checked out, install packages and build the yellowstone plugin

cargo install
cargo build --release

Once built it will save the binary to target/release/ folder

The Yellowstone plugin is now ready to be used, only thing left to do is create a yellowstone geyser config file.

{
"libpath": "/root/yellowstone-grpc/target/release/libyellowstone_grpc_geyser.so",
"log": {
"level": "debug"
},
"grpc": {
"address": "0.0.0.0:10000",
"max_decoding_message_size": "4_194_304",
"channel_capacity": "100_000",
"unary_concurrency_limit": 100,
"unary_disabled": false
},
"block_fail_action": "log"
}
// Change libpath to your yellowstone-grpc folder
// Change "address": "0.0.0.0:10000" to the port you want yellowstone grpc to listen to.

Once saved you can now add the config file to your validator.sh

--geyser-plugin-config /root/yellowstone-config.json

That’s it, once started you should now be able to connect to your Yellowstone GRPC endpoint on the port you selected.

Need help or need a high performance prebuilt Solana RPC node?

https://www.solanatracker.io/solana-rpc

--

--

Jesse
Coinmonks

Developer, built PolarisAIO, YZYLAB and now Solana Tracker