Introducing thanks - A "thanks" bot for STEEM witnesses to thank their voters after their vote

in #utopian-io4 years ago (edited)

The idea is not mine. After I cast a witness vote to @arcange, I got an instant micro transfer from him with this memo.

I have liked the idea and implemented the bot of it.


  • Listen new blocks to the forever
  • Filter "account_witness_vote" transactions
  • Filter if the "witness" is yourself
  • Send the voter a micro-transfer like the above.

Of course, bot has a mechanism to check the voter is trying to game the bot. One micro-transaction per user, no matter what.


(sudo) pip install steem_thanks

All set. Make sure your pip actually points to python3.6. Virtual environments are preferred.


Bot works with a config file formatted as json.

Example configuration file (config.json)

  "keys": ["active_key"],
  "nodes": [""],
  "account": "your_account",
  "userlist_file": "/path/to/user_list.txt",
  "memo": "Thank you for the witness vote. :hugging_face:"
keysA list of keys. Only active wif is required.
nodesA list of nodes. is preffered.
accountYour witness account
userlist_fileAbsolute path of A writable TEXT file
memoYour text of appreciation. Emojis are supported.

Note: userlist_file is a text file where every voter registered once. It's a defense mechanism to people try to game the system by sending millions of approval/disapproval transactions.


$ thanks /path/to/config.json

See it in action (Free hugs!)

Tech Stack



It does one thing and doing it well. :) There is no readmap set at the moment. Maybe farewell after witness disapproval?

How to contribute?

Via Github pull requests and Github issues. If you have any questions or ideas, you can also find my at Discord. (emrebeyler#9263)

Posted on - Rewarding Open Source Contributors


It would be preferable if it would also pay those who have voted a long time ago. I guess you could start at the blockchain beginnings but that is very long. It is likely you could iterate over history of each witness user. Regular votes for posts are in that, so I imagine witness votes will be there too.

well, this is not actually a payment module since it just sends 0.001 SBD :) But it is possible to get my old voters, you can iterate over the account history but it will take a good amount of time if the account has a huge history.

Received that with thanks :)

I hope you have 850 SBD in your account:)
But nice idea!

Love it! Such a great idea and implementation!

When will you add the word ' [Witness] ' next to your discord name reis?

Thank you for the contribution. It has been approved.

You can contact us on Discord.

Hey @emrebeyler I am @utopian-io. I have just upvoted you!


  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!


Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord

Received that with thanks :)

Nice, beautiful and informative. Keep sharing, great work!

Coin Marketplace

STEEM 0.49
TRX 0.09
JST 0.062
BTC 49326.74
ETH 4179.15
BNB 566.65
SBD 5.99