Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Launching the Miner Technical

themandalore edited this page Aug 21, 2019 · 19 revisions

How to launch the miner

This instructions describe how to install the miner to a clean AWS Ubuntu/Linux box that is at minimum a t2.small (or you will run into data limitations).

You will be creating 7 files using the nano command and copying and pasting the code included below for each file.

  • Open a terminal connected to your AWS instance and run the following commands:
wget https://github.com/tellor-io/TellorMiner/releases/latest/download/TellorMiner 

Create and update the following three variables within the config.json file:

  • node_url: (enter your own infura / node address)
  • publicAddress: (note no “0x” prefix)
  • privateKey: (note no “0x” prefix)

https://github.com/tellor-io/TellorMiner/blob/master/config.json

*Download the most recent PSR.json file https://github.com/tellor-io/TellorMiner/blob/master/psr.json

Now you can run the miner:

./TellorMiner -miner -dataServer -psrPath=./psr.json -config=./config.json -logConfig=./loggingconfig.json

Required Flags

  • -psrPath
  • -config

Optional Flags

  • -miner
  • -dataServer
  • -transfer -toAddress -amount
  • -deposit
  • -logConfig

``

  • To update Tellor miner run:
wget https://github.com/tellor-io/TellorMiner/releases/latest/download/TellorMiner