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
- Docker
- Go
- Go-livepeer build from source (see the docs).
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
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.
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
andrun_transcoder_<ETH_ACCOUNT>.sh
which can be used to start separate orchestrator and transcoder nodes (split O/T)
Some helpful scripts are provided in the scripts
directory.