You are viewing a single comment's thread:
Sounds like you are thinking this through and I'm sure whatever you do will be awesome as a unicorn! :)
Ya, I have several bots running on my raspberry pi right here in front of me. It's on 24/7 and uses very little electricity, and I don't have to pay server fees or worry about having code with keys in it anywhere outside my control. I set my bots up as html files with javascript and I run the files from my pi on my pi's browser with a simple User Interface since I'm the only one who sees it.
The tokenfaucet bot does pay one of 4 tokens, randomly chosen. I don't stream the blocks like the tip bots do, because I only look for replies to a given post, and only have 1 post active at a time, the most recent one. I only check for new replies every 2 minutes so I'm not hitting the API often. And I'm giving tokens from my own wallet which has a limited number of tokens in it, just incase someone figures out a way to get a bunch of tokens. The wallet will just run out of tokens to give. And I check for a rep of 30 or higher, so if someone makes 100000 new accounts to attack my post, they will all be rep 25 and won't get anything.
Just putting these coding thoughts here in case you or someone else finds them helpful. :)
!BBH !UNI !LADY
Raspberry pi are awesome little machines. We have an obscene amount of computers and servers here, but my husband does benchmarks and coding for a database for a living , so kinda needed. We still have a few small tweaks on the current bot, like making the collection post/report weekly instead of daily and some other small things. Then if we add a second bot will merge those weekly reports together. There are ways to do it on one bot but now it would be processing 4 transactions per call instead of 2 and that's a little trickier. It can't be any trickier than getting the bot to see HP delegations though.
Thanks for sharing your process and set up. !BBH !UNICOIN