create account

Hive-Based Deflationary Lottery Protocol (HDLP) by meno

View this thread on: hive.blogpeakd.comecency.com
· @meno ·
$25.13
Hive-Based Deflationary Lottery Protocol (HDLP)
<center>
![hive lottery.png](https://files.peakd.com/file/peakd-hive/meno/23tkftzPUFB81nxAETRFeA5zWXi2z7dS9e6hcHDnrFj4BhwVf4DLNsarziu8PSG1Q3Vw7.png)</center>

I think all of us come up with good ideas—sometimes even great ones—that we hold onto with white knuckles. Maybe I should only speak for myself, but there's a voice in my head that lies and tells me I'm the one who has to implement them. Maybe it’s just that I’m getting older, and becoming a little more honest with myself.

If someone decides to bring any of the ideas I share on this little blog to life, all I ask as “payment,” if you will, is that you open-source the code. Just as I’m offering the white paper freely, the spirit of shared knowledge should remain intact.

---

**Hive-Based Deflationary Lottery Protocol (HDLP)**

**White Paper**

**Version 1.0**
**Date:** May 9, 2025
**Author:** MenO

---

### **Abstract**

This white paper outlines the design, functionality, and implementation of a transparent, decentralized, deflationary lottery system on the Hive blockchain. The Hive-Based Deflationary Lottery Protocol (HDLP) allows users to participate in a weekly lottery by simply upvoting a designated post or comment. The lottery incorporates a deflationary mechanism by burning a portion of the prize pool, while also providing incentives for participants and operators. It leverages Hive's immutable ledger and transparent reward distribution system to ensure fairness, verifiability, and sustainability.

---

### **1. Objectives**

The HDLP seeks to achieve the following goals:

1. **Deflationary Mechanics** – A portion of the prize pool is burned weekly, reducing token supply and increasing token value over time.
2. **User-Friendly Entry Mechanism** – Participation is facilitated via a simple upvote, avoiding complex transactions or sign-ups.
3. **Transparent & Verifiable Randomness** – The selection mechanism is deterministic and verifiable on-chain.
4. **Rollover Incentives** – Unclaimed prizes roll over to the next round, increasing the incentive to play.
5. **Sustainable Operations** – A small percentage of the pool funds the development and maintenance team.

---

### **2. Tokenomics & Distribution**

Each weekly prize pool (100%) is allocated as follows:

| Category      | Percentage | Description                           |
| ------------- | ---------- | ------------------------------------- |
| Winner Payout | 70%        | Awarded to the verified winner        |
| Token Burn    | 20%        | Sent to null address to reduce supply |
| Operations    | 10%        | Paid to developers/lottery host       |

> *Note:* These percentages are adjustable via community vote or DAO mechanism in later versions.

---

### **3. Participation Model**

* **Entry:** Users enter by upvoting a designated Hive post/comment within a fixed window (typically 7 days).
* **Minimum Vote Threshold:** Only votes with a value of at least 0.1 HIVE (or equivalent in tokenized form) are considered valid tickets.
* **One Entry Per Account:** To encourage fairness and reduce sybil attacks, only one entry per account is permitted each round. (Enforced via backend script or smart contract.)
* **Optional Entries:** direct ticket purchases. This way smaller accounts could participate. (0.10 hive minimum)
---

### **4. Winner Selection Mechanism**

#### **Randomness Source**

* A future Hive block ID (e.g., block at +1000 height after post payout) is hashed.
* The hash is converted to an integer and the modulo operation is used to select a winner:

`Winner_Index = Hash(Block_ID) % Number_of_Valid_Entries`

* The winning entry is selected from a sorted list of valid voters.
* All data is published weekly for on-chain verification.

#### **No Winner Scenario**

* If the selected index corresponds to an invalid entry (e.g., vote below threshold or disqualified account), **the prize pool rolls over** to the next week.
* This increases the next week’s prize, creating gamified momentum.

---

### **5. Payout Mechanism**

* **Automated via Script or Smart Contract:** Upon winner determination, the script:

  * Sends 70% of the prize to the winner
  * Transfers 20% to @null for burning
  * Sends 10% to the operator wallet
* All transactions are recorded on-chain and linked in the weekly lottery result post.

---

### **6. Technical Implementation**

#### **Backend Tools**

* Python or Node.js script
* Hive API (Hivemind + Blockchain data)
* Hive-Engine support for token-based versions (optional)

#### **Front-End Integration**

* Weekly announcement & result posts on Hive
* Optional frontend widget or leaderboard dashboard (future release)

#### **Smart Contract Potential**

* SPK Network or Dlux smart contracts for fully decentralized implementation
* Verifiable random functions (VRFs) for added trustlessness

---

### **7. Governance & DAO Potential**

* In future phases, integrate a token-based governance mechanism where token holders can vote on:

  * Prize distribution percentages
  * Burn ratios
  * Entry thresholds
  * Weekly themes or charity tie-ins

---

### **8. Incentive & Growth Strategies**

* **Leaderboard System:** Track frequent participants and offer occasional bonuses
* **Sponsorship Slots:** Let Hive projects sponsor prize pools for exposure
* **Referral Bonuses:** Give operators tools to reward participant referrals
* **Theme Weeks:** E.g., Meme Lotto, Charity Round, Double Burn Week

---

### **9. Security & Fairness Considerations**

* **Transparency:** All transactions and logic must be open-source and documented
* **Audits:** Encourage peer-review of scripts and, later, smart contracts
* **Sybil Resistance:** Enforce one-account-per-entry; consider reputation-based filters in the future
* **Privacy:** Only public account names are exposed; no personal data collected

---

### **10. Future Roadmap**

| Phase | Milestone                                          | Target Date |
| ----- | -------------------------------------------------- | ----------- |
| 1     | Manual script-based lottery using upvotes          | Q2 2025     |
| 2     | Hive-Engine token integration + frontend dashboard | Q3 2025     |
| 3     | Full smart contract deployment (SPK/Dlux)          | Q4 2025     |
| 4     | DAO governance + community-owned treasury          | Q1 2026     |

---

### **11. Conclusion**

The Hive-Based Deflationary Lottery Protocol (HDLP) introduces a playful, transparent, and deflationary mechanism to increase engagement on the Hive blockchain. By leveraging existing Hive infrastructure and its upvote economy, HDLP provides a seamless entry point for users while burning tokens, increasing scarcity, and funding ecosystem development. With potential for full decentralization and DAO governance, this system offers both short-term fun and long-term value.

---

## Afterword:

As with the other ideas I’ve shared here, this too is a gift to Hive. I’m not looking to collect DHF funds to build it or anything like that. I did take the time to run it by a few friends—mostly to surface any potential concerns or pushback they might have.

Please feel free to add your two cents to the conversation. There are obviously some levers here that can be adjusted. My suggestions for payouts, token burns, and administrative compensation are just that—suggestions. At best, they’re informed guesses.

Much love

MenO

👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 122 others
properties (23)
authormeno
permlinkhive-based-deflationary-lottery-protocol-hdlp
categoryhive-186392
json_metadata"{"app":"peakd/2025.4.6","format":"markdown","description":"A white paper for a Hive-Based Deflationary Lottery Protocol","tags":["hive","development","pob","pimp","cent","freeideas","lottery","tokenomics","leo"],"users":["null"],"image":["https://files.peakd.com/file/peakd-hive/meno/23tkftzPUFB81nxAETRFeA5zWXi2z7dS9e6hcHDnrFj4BhwVf4DLNsarziu8PSG1Q3Vw7.png"]}"
created2025-05-10 12:35:48
last_update2025-05-10 12:35:48
depth0
children13
last_payout2025-05-17 12:35:48
cashout_time1969-12-31 23:59:59
total_payout_value12.578 HBD
curator_payout_value12.551 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7,373
author_reputation499,853,144,431,828
root_title"Hive-Based Deflationary Lottery Protocol (HDLP)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,642,583
net_rshares67,764,004,358,608
author_curate_reward""
vote details (186)
@acidyo ·
$0.03
Some things I would change:

don't include voting, make it cost liquid hive and/or hbd only. Odds to win are based on amount of tickets/entries.

No burning of hive/hbd.

Smaller operator fee, 1% maybe or post rewards if it seems to raise enough interest by the community/others*

Allocate part of the funds towards other things you mentioned like referrals.

Try and avoid any and all forms of sybil attacks getting an advantage, I.e. referral rewards are based on referred accounts participation/input.

*Smart contracts are nice and in the future include outside participation through evm addresses easily swapping stable tokens/coins through vsc/other swaps and price distribution out the same gate.


just some things at the top of my head but interested what others think. 
👍  
👎  , , , , , , , , ,
properties (23)
authoracidyo
permlinkre-meno-sw1qzc
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.6","image":[],"users":[]}
created2025-05-10 13:04:24
last_update2025-05-10 13:04:24
depth1
children7
last_payout2025-05-17 13:04:24
cashout_time1969-12-31 23:59:59
total_payout_value0.014 HBD
curator_payout_value0.014 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length779
author_reputation3,296,504,897,656,869
root_title"Hive-Based Deflationary Lottery Protocol (HDLP)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,643,138
net_rshares78,443,325,417
author_curate_reward""
vote details (11)
@acidyo ·
Another thing, if there doesn't have to be a winner, or winning ticket has to be very close to output making it rare for a "jackpot" winner to be picked, have previous entries roll over to next so they're not wasted fully but deflate somewhat. 

I.e. if 2 people pay 10 hive to win ~20 hive but no one wins that week, they still have ~100 entries per person next week (0.1 hive/entry ticket) minus a certain % so those entering next week with 10 hive have slightly higher odds since previous ones already had a shot at it.

or some kind of gamification like that where if one user buys 10 hive worth of tickets every week increases his odds to win eventually.
👎  , , , , , ,
properties (23)
authoracidyo
permlinkre-acidyo-sw1r8s
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.6"}
created2025-05-10 13:10:06
last_update2025-05-10 13:10:06
depth2
children1
last_payout2025-05-17 13:10:06
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_length659
author_reputation3,296,504,897,656,869
root_title"Hive-Based Deflationary Lottery Protocol (HDLP)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,643,251
net_rshares-8,232,594,906
author_curate_reward""
vote details (7)
@meno ·
oh, i get it...  makes sense.. i like it
properties (22)
authormeno
permlinkre-acidyo-sw1rir
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.6"}
created2025-05-10 13:16:03
last_update2025-05-10 13:16:03
depth3
children0
last_payout2025-05-17 13:16: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_length40
author_reputation499,853,144,431,828
root_title"Hive-Based Deflationary Lottery Protocol (HDLP)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,643,373
net_rshares0
@meno ·
$0.09
>don't include voting, make it cost liquid hive and/or hbd only. Odds to win are based on amount of tickets/entries.

I've been thinking about this one quite a bit... Here's my reasoning behind it. 

If your vote doesn't get up to 10 cents, but you want to participate "for free" wouldn't that not motivate you to power up more? Thus creating a stronger population of minnows?

>No burning of hive/hbd.

I thought about this because I was thinking it would make big stake holders feel at ease with something like this running. Meaning, they would not feel like its extractive. But, as I told Eco, I'm more than willing to change my mind on this.

Thanks for the feedback bro
👍  
properties (23)
authormeno
permlinkre-acidyo-sw1r5d
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.6"}
created2025-05-10 13:08:03
last_update2025-05-10 13:08:03
depth2
children4
last_payout2025-05-17 13:08:03
cashout_time1969-12-31 23:59:59
total_payout_value0.046 HBD
curator_payout_value0.046 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length675
author_reputation499,853,144,431,828
root_title"Hive-Based Deflationary Lottery Protocol (HDLP)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,643,216
net_rshares252,580,087,397
author_curate_reward""
vote details (1)
@acidyo ·
I'd be interested in hearing what people think about the voting aspect, based on the amount of gamification and burning it could maybe work as long as it doesn't start counting like a "self-vote". I.e. people voting on hbd.funder don't get anything more than 50% curation rewards but the rewards help stabilize hive and or turn some profit for the DHF which helps everyone. 

If gamifications are that there's always some winners and more likely those with a lot of stake it may take away a lot of voting power from curation/other more beneficial things from hive if average return is consistently higher than 50% curation rewards for instance. 

Either way, a good idea and might make for interesting discussions and possibly even better additional ideas so interested to see how it plays out. Maybe votes can involve some bonuses along with burning some hive - or use it to market the lottery and our blockchain in regards to bringing traffic and volume from the outside in - even if temporarily (if they win and want the rewards back in original coin). 
👎  , , ,
properties (23)
authoracidyo
permlinkre-meno-sw1rkm
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.6","image":[],"users":[]}
created2025-05-10 13:17:18
last_update2025-05-10 13:17:18
depth3
children3
last_payout2025-05-17 13:17: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_length1,056
author_reputation3,296,504,897,656,869
root_title"Hive-Based Deflationary Lottery Protocol (HDLP)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,643,396
net_rshares-1,723,202,220
author_curate_reward""
vote details (4)
@crypticat · (edited)
$0.03
Have my 0.1 hive upvote ;)

I like the idea of being able to use one upvote a day or buying tickets for fairness and burning 20%. More Hive needs to be burnt, this way even losers are winners!
👍  
properties (23)
authorcrypticat
permlinkre-meno-sw28cv
categoryhive-186392
json_metadata{"tags":"hive-186392"}
created2025-05-10 19:19:42
last_update2025-05-10 19:22:27
depth1
children1
last_payout2025-05-17 19:19:42
cashout_time1969-12-31 23:59:59
total_payout_value0.014 HBD
curator_payout_value0.015 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length192
author_reputation333,255,482,969,279
root_title"Hive-Based Deflationary Lottery Protocol (HDLP)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,649,697
net_rshares85,379,701,992
author_curate_reward""
vote details (1)
@meno ·
That is the idea...  glad you like it 
properties (22)
authormeno
permlinkre-crypticat-sw2jeq
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.6","image":[],"users":[]}
created2025-05-10 23:18:30
last_update2025-05-10 23:18:30
depth2
children0
last_payout2025-05-17 23:18: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_length38
author_reputation499,853,144,431,828
root_title"Hive-Based Deflationary Lottery Protocol (HDLP)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,653,644
net_rshares0
@tahirmuneer ·
$0.02
https://x.com/jewellery_all/status/1921211964249833805
#hive
👍  
properties (23)
authortahirmuneer
permlinksw1v3v
categoryhive-186392
json_metadata{"tags":["hive"],"app":"hiveblog/0.1"}
created2025-05-10 14:33:30
last_update2025-05-10 14:33:30
depth1
children0
last_payout2025-05-17 14:33:30
cashout_time1969-12-31 23:59:59
total_payout_value0.010 HBD
curator_payout_value0.011 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length60
author_reputation14,405,715,291,204
root_title"Hive-Based Deflationary Lottery Protocol (HDLP)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,644,858
net_rshares63,095,391,550
author_curate_reward""
vote details (1)
@talesfrmthecrypt ·
$0.03
I wonder if something like Hive Premium Bonds would be a good idea?

https://en.m.wikipedia.org/wiki/Premium_Bonds

PBs require you to hold a stake and the greater the stake and longer it’s held, the greater the odds of winning. 

On Hive, I guess it’d act like a third way of staking your tokens. Sure it might not give you a guaranteed level of return as high as HP or HBD in savings but you could win big!

They are incredibly popular in the UK with about £150 Billion currently invested in them even though they return on average only 3.8%. I’m sure Hive could offer considerably better than that!

I remember reading a blog a while back about several other countries trying to start them up but ultimately meeting resistance from powerful and established lotteries that didn’t like the competition 😅
👍  
properties (23)
authortalesfrmthecrypt
permlinkre-meno-sw26rg
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.6","image":[],"users":[]}
created2025-05-10 18:45:15
last_update2025-05-10 18:45:15
depth1
children1
last_payout2025-05-17 18:45:15
cashout_time1969-12-31 23:59:59
total_payout_value0.014 HBD
curator_payout_value0.015 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length804
author_reputation121,103,296,165,466
root_title"Hive-Based Deflationary Lottery Protocol (HDLP)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,649,307
net_rshares84,914,415,349
author_curate_reward""
vote details (1)
@meno ·
What a cool freaking idea... I'm going to chew on this for a while... 

how cool is this idea.. 
properties (22)
authormeno
permlinkre-talesfrmthecrypt-sw26yw
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.4.6","image":[],"users":[]}
created2025-05-10 18:49:45
last_update2025-05-10 18:49:45
depth2
children0
last_payout2025-05-17 18:49: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_length96
author_reputation499,853,144,431,828
root_title"Hive-Based Deflationary Lottery Protocol (HDLP)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id142,649,350
net_rshares0