I wrote a script to assist with air-drops to Hive-Engine token holders. You can find it here: https://github.com/Stormrose/hepayer
A node js script for token airdrops for the HIVE blockchain based on membership holdings of a specified Hive-Engine token.
This project is intended for airdrops: either dropping more of the same token to existing users or airdropping a token to owners of another token. Using this project for profit distributions/dividends might violate Hive-Engine's T&Cs regarding security tokens and additionally there are likely other legal compliances issues to consider. Support for Steem and Steem-engine may be deprecated in future. This project has minimal error checking. You are assumed to know what you're doing.
node index.js token_config.json amttoairdrop [activekey]
Without activekey: print the airdrop distribution schedule.
With activekey: execute the airdrop distribution schedule.
e.g. node index.js token_SOMETOKEN.json 17.021')
Uses the config specified in token_SOMETOKEN.json and prints out a schedule for the pro-rata air-dropping of 17.021 tokens.
Requires node js.
General usage only requires the index.js, package.json and a token config.json file but it doesn't hurt to have all of the files. Change into the folder and then type:
npm install --production
Then edit the token config.json file to your specific needs.
Developers should download everything. Place these into their own folder and then:
npm install -g typescript
npm install
Then edit the token config.json file to your specific needs. The project uses TypeScript so you should only edit the .ts files.
Please see the example files.
.tsv or .txt file and then open in your favourite programme.tee command to output to a log file and to the console. x | tee logfile.txt. In Windows PowerShell you can use Tee-Object and in x | Tee-Object -FilePath "logfile.txt"