Page is under construction. Feedback Welcome!
Video Only
Latest go-livepeer version: (dynamically fetched)
This guide covers installing the Livepeer Gateway from source binary on Windows.
This is a Linux distribution operating in WSL2
Prerequisites
Install WSL2 (Windows host) wsl --install
# Reboot when prompted.
wsl --status
# Output: Version: WSL 2
# Output:Default distro: Ubuntu
Download & Unzip Binary
Download and unzip the Livepeer binary https://github.com/livepeer/go-livepeer/releases/download/v0.7.7/livepeer-windows-amd64.zip
Show >_ In case of version fetch issues
In case of fetch issues: Replace with the latest go-livepeer release number https://github.com/livepeer/go-livepeer/releases/download/ <VERSION>/livepeer-windows-amd64.zip
Create .bat File
Create a bat file to launch Livepeer. Create a file named gateway.bat: Use the following as a template, adding your personal info where needed (on-chain) and save a .bat file
in the same directory as the Livepeer executable. livepeer.exe -network=offchain -gateway -cliAddr=127.0.0.1:5935 -monitor=true -v=6 -rtmpAddr=0.0.0.0:1935 -httpAddr=0.0.0.0:8935
PAUSE
livepeer.exe -network=arbitrum-one-mainnet -ethUrl= < YOUR_ARB_RPC_URL > -ethAcctAddr= < YOUR_ETH_ADDRESS > -ethPassword= < YOUR_PASSWORD > -ethKeystorePath= < KEYSTORE_PATH > -gateway -cliAddr=127.0.0.1:5935 -rtmpAddr=0.0.0.0:1935 -httpAddr=0.0.0.0:8935 -maxPricePerUnit=300 -monitor=true -v=6
PAUSE
Required On-Chain Parameters Network Configuration
-network: Must be set to the blockchain network arbitrum-one-mainnet
Ethereum Configuration
-ethUrl: Ethereum JSON-RPC URL (required for on-chain)
-ethAcctAddr: Your Ethereum account address
-ethPassword: Password for your ETH account or path to password file
-ethKeystorePath: Path to your keystore directory or keyfile
Start Gateway
Start the Livepeer Gateway Start the Livepeer Gateway using the .bat file. livepeer_cli.exe -host 127.0.0.1 -http 5935
Tip: Start with Windows
If you’d like the Gateway to start with Windows you can create a System service
using NSSM or the Windows Task Scheduler.
Next Step: Configure the Gateway Open the Livepeer CLI, then Jump to Configuration
Options to finish
configuring the Gateway
Show OLD DOCS ITEMS (move to config)
Run Gateway When prompted enter and confirm a password. This password is used to decrypt the keystore file and access the private key.
Make sure to never share or lose access to either the password or the keystore
file
After confirming your password close the terminal.
Configure Gateway Create a file containing your Gateway Ethereum password In C:\Users\YOUR_USER_NAME\.lpData create a txt file named ethsecret.txt
with the password you created in the previous step. Add the -ethPassword flag to your .bat file Add -ethPassword=C:\Users\YOUR_USER_NAME\.lpData\ethsecret.txt to the
previously created .bat file