Introducing Punk Badges

(edited)

mjTieKyebiLZMR74TZ8MSA_r.jpg

You may have noticed the Hive Punks Connoisseur badge.

image.png

This was introduced a while ago but was never fully automated. I put aside some time tonight to do just that, and get it online. As of right now, the badge is fully automated.

If you have more than 5 Hive Punks in your possession, you will automatically get this badge within an hour or so. If you put your Punks on the market and you have left than 5 Punks in your possession, you will lose the badge within a similar timeframe.

Every hour the bot will pull all 10,000 Hive Punks and assign badges to anyone who has more than 5 Punks and do not already have the badge. It will also remove the badge from anyone who has the badge but no longer has at least 5 Hive Punks.

As of the time of this post, 222 unique users have more than 5 Hive Punks.

How to get a badge for your project

I maintain a few badge bots for a few projects, not all of them are mine. While the process is pretty straight forward, each project usually has their own requirements of what qualifies a user for a badge.

The first step to get a badge is to request it from the @peakd team. You will need to have a badge-###### already made up along with an avatar and strict criteria what qualifies you for the badge. This criteria must be in the bio of the account handling the badge. You can get in touch with them via their Discord, there is a dedicated channel for badge requests.

Once approved, you need to make a bot that has the badge account follow and unfollow people based on your criteria. You can have this bot run hourly like mine does or daily, it really isn't that critical and highly depends on the amount of work involved to analyze who should own the badge.

Many badges are one-time achievements, and do not require analyzing if a badge should be removed, this makes the process a little easier.

Once you do that, you just need to put the code up on a server and schedule it to run on a regular basis (i.e. cron).

You will need 5-20 HP on the account to handle RC demands, depending on how frequently things change. Your initial update will likely drain your RC faster than normal, then it should stabilize.

20220105_155134.gif
Thanks @doze!

Posted Using LeoFinance Beta

7.97949376 BEE
11 comments

Yay, I have a punk badge! Thank you.

Posted Using LeoFinance Beta

0.00112119 BEE

That badge would be visible on Hive frontend as well?

0E-8 BEE

@peakd did a good job making badges agnostic and can be used by any front end. At this time, only PeakD supports badges as far as I know. You can see them on the profile page of any user.

image.png

I'll make an inquiry about getting them supported on Hive.blog

0E-8 BEE

Imagine using hive.blog rather than PeakD.. lol.

0E-8 BEE

Mine is showing up on peakd alright.

Just had a quick look.
Nice little touch.

Posted Using LeoFinance Beta

0E-8 BEE

Now I understand how these badges appear at once on the profile. I wonder if it is only peakd that provides the option or other frontends aldo show these badges.

0E-8 BEE

That is awesome for Hivepunks owners!

Posted Using LeoFinance Beta

0E-8 BEE

@newsflash ... Whats your problem?? I've never seen you comment on any of the posts that you downvote down to zero.. that'd be cool If we'd have an opportunity to understand your opinion, and why you think people deserve this treatment from you.

0E-8 BEE

He is just being the shitty person he is, he's mad I downvoted automated posts of an image he was upvoting 10 times a day. Now he is nuking all my posts and my upvotes.

0E-8 BEE

Imagine if you were the kinda guy who upvoted his own content.. you could probably give him a run for his money haha

0E-8 BEE

Good news for hive punks holders and I might grab some in the near future

Posted Using LeoFinance Beta

0E-8 BEE

I realise I have a new badger and manage to arrive here after searching. Really thanks for the beautiful delight.

0E-8 BEE

Congratulations on your new badge. It is always nice to be recognized. Thanks for sharing.

0E-8 BEE

bradley approve 3.gif

0E-8 BEE

Nice! Loving the badge :)

0E-8 BEE