devtool

command
v0.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: MIT Imports: 10 Imported by: 0

README

devtool

An on-chain workflow testing tool that supports the following:

  • Automatically submitting the necessary setup transactions for each node type
  • Generating a Bash script with default CLI flags to start each node type

Prerequisites

Step 1: Set up a private ETH network with Livepeer protocol deployed

docker pull livepeer/geth-with-livepeer-protocol:confluence
docker run -p 8545:8545 -p 8546:8546 --name geth-with-livepeer-protocol livepeer/geth-with-livepeer-protocol:confluence

Step 2: Set up a broadcaster

go run cmd/devtool/devtool.go setup broadcaster

This command will submit the setup transactions for a broadcaster and generate the Bash script run_broadcaster_<ETH_ACCOUNT>.sh which can be used to start a broadcaster node.

Step 3: Set up a orchestrator/transcoder

go run cmd/devtool/devtool.go setup transcoder

This command will submit the setup transactions for an orchestrator/transcoder and generate the Bash scripts:

  • run_orchestrator_with_transcoder_<ETH_ACCOUNT>.sh which can be used to start an orchestrator node that contains a transcoder (combined OT)
  • run_orchestrator_standalone_<ETH_ACCOUNT>.sh and run_transcoder_<ETH_ACCOUNT>.sh which can be used to start separate orchestrator and transcoder nodes (split O/T)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL