create account

Introducing Punk Badges by themarkymark

View this thread on: hive.blogpeakd.comecency.com
· @themarkymark · (edited)
$42.76
Introducing Punk Badges
<center>![mjTieKyebiLZMR74TZ8MSA_r.jpg](https://images.hive.blog/DQmacQzHWp4uK986Z5Jykh4iJfu7KFXJoT7gx7hdLwqHAHR/mjTieKyebiLZMR74TZ8MSA_r.jpg)</center>

You may have noticed the Hive Punks Connoisseur badge.

<center>![image.png](https://images.hive.blog/DQmXDid9y51eVNrZcrD6fpNdEZU9ZsvrQpw2yWx3pvftgd3/image.png)</center>

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.

<center>![20220105_155134.gif](https://images.hive.blog/DQmZBEd8eeCi5JaCuvgLxyzvj4GJws4put3CeePouRUyEWY/20220105_155134.gif)
<sub>Thanks @doze!</sub>
</center>


Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@themarkymark/introducing-punk-badges)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 579 others
👎  , , , , , , , , , , ,
properties (23)
authorthemarkymark
permlinkintroducing-punk-badges
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","hivepunks","badge","peakd","hive-engine","proofofbrain","vyb","ctp","oneup","neoxian","archon","ash","cent","leofinance"],"canonical_url":"https://leofinance.io/@themarkymark/introducing-punk-badges","links":["https://leofinance.io/@themarkymark/introducing-punk-badges"],"image":["https://images.hive.blog/DQmacQzHWp4uK986Z5Jykh4iJfu7KFXJoT7gx7hdLwqHAHR/mjTieKyebiLZMR74TZ8MSA_r.jpg","https://images.hive.blog/DQmXDid9y51eVNrZcrD6fpNdEZU9ZsvrQpw2yWx3pvftgd3/image.png","https://images.hive.blog/DQmZBEd8eeCi5JaCuvgLxyzvj4GJws4put3CeePouRUyEWY/20220105_155134.gif"]}
created2022-05-22 07:27:33
last_update2022-05-22 07:40:15
depth0
children18
last_payout2022-05-29 07:27:33
cashout_time1969-12-31 23:59:59
total_payout_value21.449 HBD
curator_payout_value21.314 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,713
author_reputation1,669,691,544,273,522
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,412,086
net_rshares69,816,149,303,090
author_curate_reward""
vote details (655)
@amberkashif ·
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.
properties (22)
authoramberkashif
permlinkre-themarkymark-rca440
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2022.05.7"}
created2022-05-22 10:07:24
last_update2022-05-22 10:07:24
depth1
children0
last_payout2022-05-29 10:07:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length161
author_reputation80,841,329,725,226
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,414,460
net_rshares0
@bradleyarrow ·
![bradley approve 3.gif](https://files.peakd.com/file/peakd-hive/bradleyarrow/23xLBXpgcZuhgA2WvEXSeWjwpL9yLcBVa6b455uorBH5BL8tz3G1MKDGKuT4pY59pTHR6.gif)
properties (22)
authorbradleyarrow
permlinkre-themarkymark-rcdpdz
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2022.05.8"}
created2022-05-24 08:39:42
last_update2022-05-24 08:39:42
depth1
children0
last_payout2022-05-31 08:39:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length154
author_reputation466,583,099,370,998
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,466,708
net_rshares0
@dwayne16 ·
Good news for hive punks holders and I might grab some in the near future 

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@dwayne16/re-themarkymark-6pgapz)
properties (22)
authordwayne16
permlinkre-themarkymark-6pgapz
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","leofinance"],"canonical_url":"https://leofinance.io/@dwayne16/re-themarkymark-6pgapz"}
created2022-05-22 17:03:51
last_update2022-05-22 17:03:51
depth1
children0
last_payout2022-05-29 17:03:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length173
author_reputation308,053,184,794,957
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,422,821
net_rshares0
@howzat ·
That badge would be visible on Hive frontend as well? 
properties (22)
authorhowzat
permlinkre-themarkymark-2022522t124813349z
categoryhive-167922
json_metadata{"tags":["hive-167922","hivepunks","badge","peakd","hive-engine","proofofbrain","vyb","ctp","oneup","neoxian","archon","ash","cent","leofinance"],"app":"ecency/3.0.29-mobile","format":"markdown+html"}
created2022-05-22 07:48:15
last_update2022-05-22 07:48:15
depth1
children2
last_payout2022-05-29 07:48:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length54
author_reputation45,591,344,077,992
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,412,390
net_rshares0
@themarkymark ·
@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](https://files.peakd.com/file/peakd-hive/themarkymark/23vhuRCRUrDGjWXwPnNdoX5a2rbaJsducxDE7iUKZg3HVAS55Dj2Vpubv9icG2QgHDuQk.png)

I'll make an inquiry about getting them supported on Hive.blog
👎  
properties (23)
authorthemarkymark
permlinkre-howzat-rc9xrh
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2022.05.7"}
created2022-05-22 07:50:03
last_update2022-05-22 07:50:03
depth2
children1
last_payout2022-05-29 07:50:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length396
author_reputation1,669,691,544,273,522
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,412,400
net_rshares-3,690,524,864
author_curate_reward""
vote details (1)
@unorgmilitia ·
Imagine using hive.blog rather than PeakD.. lol. 
properties (22)
authorunorgmilitia
permlinkre-themarkymark-rcahc6
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2022.05.7"}
created2022-05-22 14:52:54
last_update2022-05-22 14:52:54
depth3
children0
last_payout2022-05-29 14:52:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length49
author_reputation20,023,830,661,286
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,420,040
net_rshares0
@ifarmgirl ·
That is awesome for Hivepunks owners!

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@ifarmgirl/re-themarkymark-3uwf1h)
properties (22)
authorifarmgirl
permlinkre-themarkymark-3uwf1h
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","leofinance"],"canonical_url":"https://leofinance.io/@ifarmgirl/re-themarkymark-3uwf1h"}
created2022-05-22 11:08:45
last_update2022-05-22 11:08:45
depth1
children0
last_payout2022-05-29 11:08:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length137
author_reputation660,398,840,900,336
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,415,359
net_rshares0
@namelessnameless ·
I realise I have a new badger and manage to arrive here after searching. Really thanks for the beautiful delight.
properties (22)
authornamelessnameless
permlinkre-themarkymark-rccakq
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2022.05.8"}
created2022-05-23 14:22:03
last_update2022-05-23 14:22:03
depth1
children0
last_payout2022-05-30 14:22:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length113
author_reputation58,857,403,526,068
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,445,552
net_rshares0
@niallon11 ·
Mine is showing up on peakd alright.

Just had a quick look.
Nice little touch.

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@niallon11/re-themarkymark-68hzya)
properties (22)
authorniallon11
permlinkre-themarkymark-68hzya
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","leofinance"],"canonical_url":"https://leofinance.io/@niallon11/re-themarkymark-68hzya"}
created2022-05-22 08:26:42
last_update2022-05-22 08:26:42
depth1
children0
last_payout2022-05-29 08:26:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length179
author_reputation498,847,660,350,426
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,412,900
net_rshares0
@rcaine ·
Congratulations on your new badge. It is always nice to be recognized. Thanks for sharing.
👎  
properties (23)
authorrcaine
permlinkre-themarkymark-rccil9
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2022.05.8"}
created2022-05-23 17:15:12
last_update2022-05-23 17:15:12
depth1
children0
last_payout2022-05-30 17:15:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length90
author_reputation71,492,578,717,582
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,449,732
net_rshares-2,758,862,100
author_curate_reward""
vote details (1)
@thisismylife ·
Nice! Loving the badge :)
properties (22)
authorthisismylife
permlinkre-themarkymark-rcfot4
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2022.05.8"}
created2022-05-25 10:22:18
last_update2022-05-25 10:22:18
depth1
children0
last_payout2022-06-01 10:22:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length25
author_reputation517,827,830,556,304
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,497,227
net_rshares0
@unorgmilitia ·
@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. 
properties (22)
authorunorgmilitia
permlinkre-themarkymark-rcahf4
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2022.05.7"}
created2022-05-22 14:54:39
last_update2022-05-22 14:54:39
depth1
children5
last_payout2022-05-29 14:54:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length247
author_reputation20,023,830,661,286
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,420,072
net_rshares0
@themarkymark ·
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.
👎  ,
properties (23)
authorthemarkymark
permlinkre-unorgmilitia-rcamd9
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2022.05.7"}
created2022-05-22 16:41:30
last_update2022-05-22 16:41:30
depth2
children4
last_payout2022-05-29 16:41:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length169
author_reputation1,669,691,544,273,522
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,422,361
net_rshares-5,705,468,100
author_curate_reward""
vote details (2)
@unorgmilitia ·
Imagine if you were the kinda guy who upvoted his own content.. you could probably give him a run for his money haha 
properties (22)
authorunorgmilitia
permlinkre-themarkymark-rcanzi
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2022.05.7"}
created2022-05-22 17:16:30
last_update2022-05-22 17:16:30
depth3
children3
last_payout2022-05-29 17:16:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length117
author_reputation20,023,830,661,286
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,423,013
net_rshares0
@whatsup ·
$0.05
Yay, I have a punk badge!  Thank you.

Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@whatsup/re-themarkymark-4hwkfr)
👍  
properties (23)
authorwhatsup
permlinkre-themarkymark-4hwkfr
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["hive-167922","leofinance"],"canonical_url":"https://leofinance.io/@whatsup/re-themarkymark-4hwkfr"}
created2022-05-22 10:49:39
last_update2022-05-22 10:49:39
depth1
children0
last_payout2022-05-29 10:49:39
cashout_time1969-12-31 23:59:59
total_payout_value0.024 HBD
curator_payout_value0.024 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length135
author_reputation519,804,459,507,800
root_title"Introducing Punk Badges"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,415,105
net_rshares82,034,630,660
author_curate_reward""
vote details (1)