The firedancer/fd-yellowstone repository (https://github.com/firedancer-io/fd-yellowstone) is a sample geyser implementation for the full firedancer client. It is meant to mimic https://github.com/rpcpool/yellowstone-grpc.git .
To build:
- Clone the repo under src/app in the firedancer source tree. For example:
- cd firedancer/src/app
- git clone https://github.com/firedancer-io/fd-yellowstone
- Install grpc (https://github.com/grpc/grpc) somewhere.
- Tweak the PKG variable in Local.mk and Makefile to correspond to your grpc installation.
- Build firedancer normally. You should see a new executable fd_grpc_geyser in the bin directory.
- Run the firedancer full client. Wait until it is processing blocks.
- In another window, run "fd_grpc_geyser". The --port flag can specify the service port.
- Try the unit test (unit-test/test_geyser_client) The --target flag specifies host:port.