This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Launching the Miner Technical
themandalore edited this page Aug 21, 2019
·
19 revisions
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
- -psrPath (path to your PSR file)
- -config (path to your config file)
- -miner (indicates to run the miner)
- -dataServer (indicates to run the dataServer)
- -transfer -toAddress -amount (do not run these with miner/dataServer)(indicates transfer, toAddress is Ethereum address and amount is number of Tributes (note 18 decimals))
- -deposit (do not run these with miner/dataServer)(indicates to deposit 1000 tokens in the contract (note you must have 1000 Tributes in your account))
- -logConfig (path to loggingConfig file if you want to save log output)
``
- To update Tellor miner run:
wget https://github.com/tellor-io/TellorMiner/releases/latest/download/TellorMiner