Hive Witness Essentials

in #hive4 years ago (edited)

social_hive_dark.jpg


Fellow Witnesses & those that aspire to become one,

I've upgraded and tested all of my witness tools for #Hive.

https://github.com/therealwolf42/hive-witness-essentials

This includes:

  • Pricefeed (Publish reliable Pricefeeds)
  • Watcher (Watch for missed blocks, failover to backup-nodes & alert via notifications)
  • CLI (Command-line interface commands for witnesses to quickly update signings-keys, parameters or disable witness)
  • Remote Control (Same as CLI, just via Telegram)

Now, what was previously 4 separate repositories, is now a single mono-repo. Which means, in order to migrate your previous versions, you need to clone the repo and copy over your previous configs.

Info: If, for whatever reason, you're running scripts for multiple witnesses, you can simply copy the specific folder inside essentials sub-folder. I haven't tested it, but it should "theoretically" work - if not, please tell me :P

Simple Guide

Watcher, Pricefeed and Remote all support Docker, which is the recommended deployment option.

git clone [email protected]:therealwolf42/hive-witness-essentials.git
cd essentials/{watcher,pricefeed,remote} # select one!

# If you need to migrate your previous config, do it now!
cp configs/config.example.json configs/config.json

# Now replace/enter everything besides the RPC nodes as they are up-to-date.
## On MacOS you can delete lines with control + k
nano configs/config.json

# script needs proper rights
chmod +x run.sh

# optional if docker not yet installed
./run.sh install_docker

# Let's get it on
./run.sh build && ./run.sh restart && ./run.sh logs

To get a list of possible commands, use: ./run.sh help

(Optional) Installing Node

If you want to use CLI, you need to install node (min v10+)

You can install/update it via:

sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -

sudo apt-get install nodejs

Afterward, simply run yarn in the root folder or any of the subfolders to install dependencies and you're good to go.

Something unclear?

If something isn't completely clear or there are bugs, please let me know so I can fix it.

#HiveOn

Wolf

Sort:  

Where can I see total amount of circulating supply of hive? It should be less than steem as many big whales did not get hive. Is there any explorer similar to steem block explorer?

The Hive, that was not airdropped, went to @steem.dao so the supply (at the time of the chain split) should be similar to Steem.

Yes i have a request dear @therealwolf. How about us normal user, who didnt got the airdrop. You got nay info about that?

thanks

Re-hived ;-)

Love your involvement.

Not my place to say but seeing your posts...

Just voted for you as a witness (recently discovered that it helps the community).

Cheers!