Skip to main content

How to run a feed relay


If running a single node, there is no need to run a feed relay. When running more that one node, it is strongly suggested to run a single feed relay per datacenter, which will reduce ingress fees and improve stability.


Feed endpoints will soon require compression with a custom dictionary, so if connecting to feed with anything other than a standard node, it is strongly suggested to run a local feed relay which will provide an uncompressed feed by default.

The feed relay is in the same docker image as the Nitro node.

  • Here is an example of how to run the feed relay for Arbitrum One:
    docker run --rm -it  -p --entrypoint relay offchainlabs/nitro-node:v2.3.0-3e14543 --node.feed.output.addr= --node.feed.input.url=wss://
  • Here is an example of how to run nitro-node for Arbitrum One with custom relay:
    docker run --rm -it  -v /some/local/dir/arbitrum:/home/user/.arbitrum -p -p offchainlabs/nitro-node:v2.3.0-3e14543 --parent-chain.connection.url=https://l1-mainnet-node:8545 --http.api=net,web3,eth --http.corsdomain=* --http.addr= --http.vhosts=* --node.feed.input.url=ws://local-relay-address:9642

Note that Arbitrum classic does not communicate with Nitro sequencer, so classic relay is no longer used.

Helm charts (Kubernetes)

If you are using Kubernetes to run your feed relay, a helm chart is available at ArtifactHUB. It supports running a Nitro relay by providing the feed input URL. Find more information in the OCL community Helm charts repository.