Docker container option
Installation
To pull the latest gateway version, run the following command:
docker pull bloxroute/bloxroute-gateway-go:latest
Running your gateway
To run your gateway, copy the command below and modify it as needed.
A full list of start up arguments is available in the Startup Arguments page.
docker run --name bxgateway-go -d \
-v /home/ubuntu/gateway_log:/app/bloxroute/logs \
-v /home/ubuntu/ssl:/app/bloxroute/ssl \
-p 1801:1801 -p 28333:28333 bloxroute/bloxroute-gateway-go:latest \
--blockchain-network Mainnet \
--ws --port 1801 \
--enodes enode://<BLOCKCHAIN_NODE_PUBLIC_KEY>@<NODE_IP>:<NODE_PORT> \
--multiaddr /ip4/<IPv4_NETWORK_ADDRESS>/tcp/<LISTENING_PORT>/p2p/<NODE_ID> \
--private-key <YOUR_PRIVATE_KEY> \
--eth-ws-uri ws://<ETH node IP address>:8546