# HiveOS Custom miner

**URL:** <https://forum.livepeer.org/t/hiveos-custom-miner/1940>\
**Category:** Transcoders\
**Created:** [October 16, 2022, 6:29pm UTC](https://forum.livepeer.org/t/hiveos-custom-miner/1940 "2022-10-16T18:29:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MozComputing](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.livepeer.org/mozcomputing/32/1122_2.png) [@MozComputing](https://forum.livepeer.org/u/MozComputing)\
**Post date:** [October 16, 2022, 6:29pm UTC](https://forum.livepeer.org/t/hiveos-custom-miner/1940/1 "2022-10-16T18:29:33Z")

</div>

I worked on a custom miner implementation for HiveOS.  
You can find the “miner” here: [GitHub - MozComputing/Livepeer-HiveOS](https://github.com/MozComputing/Livepeer-HiveOS)

**Usage**

Only extra config arguments are used by livepeer, other are purely informational.

- Coin `ETH` (Can choose something else)
- Miner Name `livepeer`
- Installation URL `https://github.com/MozComputing/Livepeer-HiveOS/releases/download/v1.0.0/livepeer.tar.gz`
- Hash Algorithm `----`
- Wallet and worker template `%WAL%`
- Pool url `null`
- Pass `x`
- Extra config arguments: See at [Configuration | Livepeer Docs](https://docs.livepeer.org/video-miners/reference/configuration)

Example for standalone transcoder: `-transcoder -orchAddr <IP_ORCHESTRATOR>:<PORT_ORCHESTRATOR> -orchSecret <SECRET_ORCHESTRATOR>`

- `-orchAddr` is used to specify the publicly accessible address that the orchestrator is receiving transcoder registration requests at
- The value for `-orchSecret` should be the same as the value used for your orchestrator

Example for combined orchestrator/transcoder: `-orchestrator -transcoder -network arbitrum-one-mainnet -ethUrl https://arbitrum-mainnet.infura.io/v3/<PROJECT_ID> -pricePerUnit <PRICE_PER_UNIT> -serviceAddr <SERVICE_ADDR>`

- Use both the `-orchestrator` and `-transcoder` flags to configure the node to be an orchestrator and a transcoder; it will receive video from broadcasters, transcode the video itself, and return the transcoded results to the broadcasters
- `-pricePerUnit` is used to specify the price (wei per pixel) for transcoding. The flag is required on startup, but the value can be changed later
- `-serviceAddr` is used to specify the publicly accessible address that the orchestrator should receive requests at. Changing this requires a blockchain transaction, so it’s preferable to use a hostname for a domain you own, not an IP address that may change

**Update miner**

This miner automatically checks the new version and update at each restart.

The current version is saved on a file version. If you want to reinstall you can delete this file: `rm /hive/miners/custom/livepeer/version`

---

<div class="post-metadata">

**Author:** ![MozComputing](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.livepeer.org/mozcomputing/32/1122_2.png) [@MozComputing](https://forum.livepeer.org/u/MozComputing)\
**Post date:** [March 20, 2023, 11:00pm UTC](https://forum.livepeer.org/t/hiveos-custom-miner/1940/2 "2023-03-20T23:00:56Z")

</div>

Version 1.1.0

> **[Release v1.1.0 · MozComputing/Livepeer-HiveOS](https://github.com/MozComputing/Livepeer-HiveOS/releases/tag/v1.1.0)**
>
> Update README.md

- Downloading and patching your driver before launching transcoding
- Pool URL field can be use to set orchestrator URI
- Password field can be use to set orchestrator secret
- Default parameters (-transcoder and -nvidia all) if not set
- Secret set into file to not getting print into logs
