> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# Prepare to Run a Livepeer Gateway

> Hardware, network, and software requirements for running a Livepeer Gateway. Choose off-chain or on-chain deployment and prepare your environment.

# &#x20;Prepare Your Environment

Before installing, confirm your system meets the requirements and choose a deployment mode. This page covers hardware, network, OS compatibility, and on-chain wallet setup.

**Deployment mode:**

* &#x20;**Off-chain** - direct Orchestrator connection, no blockchain interaction
* &#x20;**On-chain** - connects to the Livepeer protocol on Arbitrum

**Node type (workload):**

* {video()} transcoding
* {ai()} inference
* {dual()} both video and AI

> [!NOTE]
>
> Gateway nodes do not require NVIDIA GPU drivers. Driver setup is only required on systems running GPU workloads (Orchestrators or AI workers).

## Hardware Requirements

Gateways are lightweight routing nodes. Minimum specs are sufficient for development and low-traffic deployments.

<table>
  <tr>
    Component

    Minimum

    Recommended
  </tr>

  <tr>
    CPU

    2 cores

    4-8 cores
  </tr>

  <tr>
    RAM

    4 GB

    16-32 GB
  </tr>

  <tr>
    Storage

    20 GB SSD

    100 GB NVMe SSD
  </tr>

  <tr>
    Network

    50 Mbps symmetric

    1 Gbps symmetric
  </tr>
</table>

## Network Requirements

* Low-latency connectivity to Orchestrators
* Ability to handle high request throughput

For **on-chain production** deployments:

* Public HTTPS endpoint
* Static IP or domain name
* Multi-region deployment or failover (recommended)

## OS Compatibility

<table>
  <tr>
    OS

    Install Method

    Video Gateway

    AI / Dual Gateway

    Notes
  </tr>

  <tr>
    Linux (Ubuntu recommended)

    Docker or binary

    Yes

    Yes

    Recommended for all production deployments
  </tr>

  <tr>
    Windows (WSL2 + Docker)

    Docker via WSL2

    Yes

    Limited

    Linux in WSL2. NVIDIA + CUDA only for GPU workloads
  </tr>

  <tr>
    Windows (native)

    Pre-built binary

    Yes

    No

    Video only. No AI binary available for Windows
  </tr>

  <tr>
    macOS (Intel / Apple)

    Build from source

    Yes

    No

    Development and routing only. Docker often unreliable on macOS
  </tr>
</table>

All Gateways install the [go-livepeer](https://github.com/livepeer/go-livepeer) software. Root or sudo access is required.

## Choose Deployment Mode

> [tab] Off-Chain
>
> Off-chain mode connects directly to Orchestrators without blockchain interaction. No wallet, RPC, or ETH required.
>
> **You will need:**
>
> * An Orchestrator node address to connect to (local or remote)
> * A CPU-only Orchestrator is sufficient for basic jobs
> * AI inference requires a GPU-equipped Orchestrator
>
> Off-chain mode is ideal for:
>
> * Local development and testing
>
> * Learning Gateway functionality
>
> * Prototyping without financial commitments
>
> * Running private transcoding infrastructure
>
> > [card] [Next Step: Install go-livepeer](/v2/gateways/setup/install.md)
> >
> > No further preparation needed for off-chain mode

> [tab] On-Chain
>
> On-chain mode connects to the Livepeer protocol on Arbitrum One. Required for production Gateways.
>
> **You will need:**
>
> * An Arbitrum One RPC URL
> * A funded Ethereum account (wallet) with ETH for gas and deposits
>
> On-chain mode is for:
>
> * Public production Gateways
> * Running a business on the Livepeer network
>
> Complete the on-chain setup steps below before proceeding to install.
>
> ### RPC URL
>
> The Gateway requires an Arbitrum One RPC URL (`-ethUrl` flag) to interact with Livepeer smart contracts.
>
> **Quick start (rate-limited, suitable for testing):**
>
> ```bash theme={null}
> -ethUrl=https://arb1.arbitrum.io/rpc
> ```
>
> > [accordion] See all RPC options
> >
> > > [tab] Public RPCs
> > >
> > > Free-tier public RPCs are sufficient for a single Gateway.
> > >
> > > Chainlist provides a full list of public Arbitrum One RPCs:
> > >
> > > * [Chainlist](https://chainlist.org/chain/42161)
> > > * [Arbitrum RPC Reference](/v2/gateways/resources/compendium/arbitrum-rpc.md)
> > >
> > > **Chainlist Arbitrum One RPC List**
> >
> > > [tab] Paid Providers
> > >
> > > For production or multiple Gateways, use a paid RPC provider:
> > >
> > > | Provider | Arbitrum One | Websocket | Notes |
> > > | - | - | - | - |
> > > | [Alchemy](https://www.alchemy.com) | Yes | Yes | Free tier available |
> > > | [Infura](https://www.infura.io) | Yes | Yes | Free tier available |
> > > | [Ankr](https://www.ankr.com) | Yes | Yes | |
> > > | [Chainstack](https://chainstack.com) | Yes | Yes | |
> > > | [Quicknode](https://www.quicknode.com) | Yes | Yes | |
> >
> > > [tab] Self-Hosted
> > >
> > > Self-host an Arbitrum node for maximum reliability and no rate limits.
> > >
> > > See the [Arbitrum Full Node Guide](https://docs.arbitrum.io/node-running/how-tos/running-a-full-node).
>
> ### ETH Account and Keystore
>
> The Gateway needs an Ethereum account to sign transactions on Arbitrum.
>
> > [!TIP]
> >
> > Livepeer auto-generates a wallet and keystore on first run if no existing account is provided. Run the Gateway once with empty account flags and follow the prompts.
>
> > [accordion] Account setup options
> >
> > > [tab] Auto-Generate (Recommended)
> > >
> > > Run go-livepeer with empty account flags. The software creates a new wallet and keystore, then prompts for a password:
> > >
> > > ```bash theme={null}
> > > livepeer -gateway \
> > >   -network arbitrum-one-mainnet \
> > >   -ethUrl=https://arb1.arbitrum.io/rpc \
> > >   -ethAcctAddr="" \
> > >   -ethKeystorePath="" \
> > >   -ethPassword=""
> > > ```
> > >
> > > The keystore is created in `~/.lpData/arbitrum-one-mainnet/keystore/`.
> >
> > > [tab] Existing Wallet
> > >
> > > Use any Ethereum wallet that can transact on Arbitrum One. Provide the public address:
> > >
> > > ```bash theme={null}
> > > livepeer -gateway \
> > >   -network arbitrum-one-mainnet \
> > >   -ethUrl=https://arb1.arbitrum.io/rpc \
> > >   -ethAcctAddr=<YOUR_WALLET_ADDRESS> \
> > >   -ethKeystorePath=~/.lpData/keystore \
> > >   -ethPassword=/path/to/password.txt
> > > ```
> > >
> > > Wallet guides for reference:
> > >
> > > * [MetaMask](https://support.metamask.io/configure/accounts/how-to-view-your-account-details-and-public-address)
> > > * [Ledger](https://support.ledger.com/article/8978919811485-zd)
> > > * [Trezor](https://support.trezor.io/en/articles/360018565096-trezor-faq)
>
> > [!CAUTION]
> >
> > Use ONLY your **public** wallet address in `-ethAcctAddr`. Never use your private key. A public address is like a bank account number. A private key is like your PIN.
>
> **Keystore default locations:**
>
> | Environment | Path |
> | - | - |
> | Linux / macOS | `~/.lpData/arbitrum-one-mainnet/keystore/` |
> | Docker (inside container) | `/root/.lpData/arbitrum-one-mainnet/keystore/` |
> | Docker (host volume mount) | `./data/gateway/arbitrum-one-mainnet/keystore/` |
> | Windows | `%USERPROFILE%\.lpData\arbitrum-one-mainnet\keystore\` |
>
> ### Fund the Account
>
> Add ETH to the account on Arbitrum One for gas fees and Gateway deposits.
>
> * Minimum recommended to start: **0.1 ETH**
>
> * Bridge option: [Arbitrum Bridge](https://bridge.arbitrum.io/)
>
> * Exchange options: [Arbitrum Exchanges](/v2/gateways/resources/compendium/arbitrum-exchanges.md)
>
> > [card] [Fund Your Gateway](/v2/gateways/guides/payments-and-pricing/fund-gateway.md)
> >
> > Deposit and reserve setup via livepeer\_cli
>
> ### Required On-Chain Flags
>
> <table>
>   <tr>
>     Flag
>
>     Purpose
>
>     Example
>   </tr>
>
>   <tr>
>     `-network`
>
>     Blockchain network
>
>     `arbitrum-one-mainnet`
>   </tr>
>
>   <tr>
>     `-ethUrl`
>
>     Arbitrum One RPC URL
>
>     `https://arb1.arbitrum.io/rpc`
>   </tr>
>
>   <tr>
>     `-ethAcctAddr`
>
>     Ethereum wallet address (0x prefix optional)
>
>     `0xYOUR_ADDRESS`
>   </tr>
>
>   <tr>
>     `-ethPassword`
>
>     Password or path to password file
>
>     `/path/to/password.txt`
>   </tr>
>
>   <tr>
>     `-ethKeystorePath`
>
>     Path to keystore directory or file
>
>     `~/.lpData/keystore`
>   </tr>
> </table>
>
> > [!WARNING]
> >
> > Never share keystore files. They contain encrypted private keys. Use strong passwords and back up keystore files securely. If the password is lost, the account cannot be recovered.
>
> > [card] [Next Step: Install go-livepeer](/v2/gateways/setup/install.md)
> >
> > On-chain preparation complete - proceed to installation


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.