Solana Gateway Setup

Get authorization header

In order to use Solana Gateway you need to Creating An Account and get Authorization Headers.

Installation

docker pull bloxroute/solana-gateway:latest

Startup

docker run --name bxgateway-solana -d \
  --network=host bloxroute/solana-gateway:latest \
  -auth-header=[AuthHeader] \
  -network-interface=eno1 \
  -tvu-port=8001 \
  -bdn-host=ny.solana-v2.blxrbdn.com \
  -bdn-grpc-port=5005 \
  -port=18888

Verify Gateway is running correctly

To verify that your Gateway is running correctly, monitor the stdout or logfile logs. Every minute it should report the amount of shreds it sends and receives.

The output should be similar to the following:

time="2024-11-19T12:23:00.001031" level="info" msg="stats: total shreds by source: [(199.254.199.35:8888, 218148), (10.142.0.47:0, 34005)] unseen shreds by source: [(199.254.199.35:8888, 217946), (10.142.0.47:0, 6460)]"

Note: The Gateway does not need to be restarted if your Solana node restarts.

Last updated