Links

Solana Gateway Setup

Version 0.1.0 and later

Note that Solana Gateway version before 0.1.0 is not supported anymore

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.blxrbdn.com \
-bdn-port=8888 \
-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="2022-10-20T07:59:57.522051" level=debug msg="stats: ZERO shred from: 69.67.151.239:0 slot: 156330854 type: Code" time="2022-10-20T07:59:57.565827" level=debug msg="stats: ZERO shred from: 69.67.151.239:0 slot: 156330854 type: Raw" time="2022-10-20T07:59:57.893998" level=debug msg="stats: FIRST shred from: 69.67.151.239:0 slot: 156330855 index: 7 type: Code" time="2022-10-20T07:59:57.894155" level=debug msg="stats: FIRST shred from: 69.67.151.239:0 slot: 156330855 index: 5 type: Raw"
Note: The Gateway does not need to be restarted if your Solana node restarts.