git clone https://github.com/SolanaCore/solana-geyser-plugin.git
cd solana-geyser-plugin/plugin
cargo build --release
solana-test-validator --geyser-plugin-config geyser.json
// config.json
{
"redis_url": "redis://default:password@redis.railway.internal:6379",
"target_program_ids": [
"BPFLoaderUpgradeab1e11111111111111111111111",
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"MetaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s",
"So11111111111111111111111111111111111111111"
]
}
{ "name": "solan-geyser-plugin", "libpath": "target/release/libplugin.so"}