Connect to Arbitrum
go-livepeer
requires access to the Arbitrum network
for typical usage.
There are two ways you can connect to the Arbitrum network: via a hosted API service or via your own self-hosted node. Connecting to a hosted API service is recommended for users that are getting started and you always have the option to switch to your own node later on.
Hosted API services
Hosted API services run Arbitrum nodes on behalf of their users. Popular
services include Infura and
Alchemy. Be aware that these services have their own
pricing plans. That being said, the latest versions of livepeer
should be able
to stay within the request limit for Infura’s free tier at least for a single
node.
The following examples describe the required flags to connect to an EVM-compatible network via Infura (all other flags omitted):
To connect to Arbitrum mainnet:
Self-hosted Arbitrum nodes
If you want to run your own Arbitrum node, set one up using the instructions from Offchain Labs.
Once your node is synced, connect livepeer
to the node with the following
flags (all other flags omitted):
Supported networks
livepeer
supports the networks listed below. The required flags for connecting
to a network are described (all other flags are omitted).
Arbitrum One
Arbitrum One is the production public network.
Private Network
Custom private networks where the Livepeer smart contracts are deployed can be used for development purposes.
Offchain
Offchain networks that do not require interaction with the Livepeer smart contracts can be used for development purposes.
Was this page helpful?