Initializing the Yellowstone Client
Getting started with Solana gRPCs - initializing the Solana Yellowstone gRPC client
Last updated
Was this helpful?
Getting started with Solana gRPCs - initializing the Solana Yellowstone gRPC client
Last updated
Was this helpful?
The Yellowstone client is used to connect to gRPC on Solana, sending subscribe requests and receive data from stream. The gRPC streams and RPC calls are supported through Solana's Geyser interface. To initialize a new Yellowstone client in typescript, you need to install the following package.
Once done, we need two parameters to initialize the client, the gRPC endpoint, and the x-token, both of which is available in the Shyft dashboard once you unlock gRPC. You can find out more about here.
Please note that some gRPC connections only take in the endpoint parameter to make a connection, in those cases, IP whitelisting is required to authenticate your connection. Find out more about making a connection in our docs .