A cli tool to generate the salt for voting on an Idena oracle. Most of the code within was extracted from github.com/idena-network/idena-web
Run in command line: node index.js contractHash epoch privateKey
e.g. node index.js 0xf517b739fd5ebd069f8c8f1169192d165c292220 99 053e0513c1edf623e096defebdc1db8346c17bf24f52031e8a030c487fc2a8b0
Beware that you private key could be saved in the cli history.