Recently, I added some HIVE commands to gucardbot for the following streamers:
It started off simple. Viewers can register/view their HIVE address using the following:
viewer commands:
-set hive wallet: !hive <address>
-view hive wallet: !hive
notes:
-shortform for !hive: !ha
-can interchange ! with $
Then, every half hour or so, if they were active in Twitch chat while the streamer was live, they would get sent 0.01 HIVE from my account, @ridsevilla.
Later, not wanting to deal with account management or a custodial wallet, I set up the following form for streamers/mods to be able to send from their hot wallet HIVE account using gucardbot: https://wax.cabbitmedia.com/hive.html
This form gives gucardbot's HIVE account Active Authority on the streamers/mods' HIVE account. Although definitely not best practice, this was the only solution I could think of in which I do not have to deal with a custodial wallet (with keeping track of balances, deposits and memo keys, resource credits). Active Authority is required to be able to send HIVE on behalf of the streamers/mods' HIVE account.
This brings new HIVE commands for streamers/mods:
streamer/mods commands:
-send hive: !h <amount> <twitch-viewer-tag>
-rain hive: !hrain <amount>
notes:
-can interchange ! with $
I got to rain HIVE during his stream today, you can check the video here (along with chat):
Raining HIVE splits the amount entered and then sends it to those who were active in chat that had HIVE addresses registered. Active in chat means the viewer said something in the last past half hour or so.
Anyhow, thanks for reading. This one is a bit outside of my comfort zone, so I'm not sure I'll be writing more of these in the future.
Before I go, a quick answer to a question I get often:
"Why didn't you make a separate bot for ALGO/HIVE/WAX? Why is it in gucardbot?"
Well, it's easier just to manage one bot. Thanks again!