create account

Introducing Hive Lottery: A Fast, Fair, On-Chain Lottery Built for the Hive Blockchain by beggars

View this thread on: hive.blogpeakd.comecency.com
· @beggars · (edited)
$1.99
Introducing Hive Lottery: A Fast, Fair, On-Chain Lottery Built for the Hive Blockchain
Fresh off my return to Hive, I decided I would not just write content but get back into Hive dApp development again. Some of you might know, but years ago I was actively involved with Steem Engine and then Hive Engine projects before I took a break from blockchain development.

I've had the idea for [Hive Lottery](https://hive-lotto.app/) for a few years now (originally it started out as a Hive bingo game). Hive Lottery is a simple, provably fair lottery app that runs on the Hive blockchain. And yeah, I know, how original, another crypto game of chance...


![image.png](https://files.peakd.com/file/peakd-hive/beggars/23t75BUM7irh8YDSwPG1dm3evXbDFmWZ7HX2Hd1Gkb1yEYLfYc1VEM9Vd9eh2MUZaPKGu.png)


**Here's how it works:**
- Entry Cost: Just 2 HIVE tokens.
- Draw Mechanics: Each draw needs a minimum of 5 participants and runs for up to 24 hours.
- Max Cap: Hit 50 entries? Boom. The draw triggers immediately and a fresh one starts.
- Anti whale protection: to prevent gamifying the lotteries, a user can only enter a maximum of 3 times per lottery.
- Winner Selection: Fully random, seed-based, and verifiable by anyone.
- Fees: The platform takes a microscopic 2.5% fee from the pot. That's it.

Every draw uses cryptographic randomness and verifiable seeds. No shady backdoors. No hidden hands. Just pure, decentralized chance.


![image.png](https://files.peakd.com/file/peakd-hive/beggars/23t7Di4uim8xGEduUinZqEtsPJZwv92mrctridimhbgAWMPvtU6goUh5QgLmE8SxwSqmM.png)


Because it's built entirely on Hive, you don't need to hand over personal details, connect wallets, or jump through centralized hoops. Just log in, play, and watch the pot grow.

Understandably, not everyone is a fan of yet another gambling app and I know many of these already exist. I know it's a bit of a contentious thing, but blockchains are great for games of chance because they're so transparent in how they operate.

I've implemented failsafes into the game so if you try entering a lottery that has closed, you're refunded. If you send more or less than the required amount of HIVE, you get refunded. If something fails, you get refunded. A lot of effort has been placed into ensuring that this can run decentralized, but I will be monitoring nonetheless.

You can find it over at https://hive-lotto.app/

I have done a lot of testing, but there might be some hiccups. I will be actively monitoring and improving this over time (different types of lottery and incentives, etc). But for v1, I wanted to keep it simple.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorbeggars
permlinkintroducing-hive-lottery-a-fast-fair-on-chain-lottery-built-for-the-hive-blockchain
categoryhive-139531
json_metadata{"app":"peakd/2025.7.3","format":"markdown","image":["https://files.peakd.com/file/peakd-hive/beggars/23t75BUM7irh8YDSwPG1dm3evXbDFmWZ7HX2Hd1Gkb1yEYLfYc1VEM9Vd9eh2MUZaPKGu.png","https://files.peakd.com/file/peakd-hive/beggars/23t7Di4uim8xGEduUinZqEtsPJZwv92mrctridimhbgAWMPvtU6goUh5QgLmE8SxwSqmM.png"],"tags":["hive","dapp","hivedevs","blockchain","cryptocurrency"],"users":[]}
created2025-07-27 11:14:57
last_update2025-07-27 11:25:15
depth0
children6
last_payout2025-08-03 11:14:57
cashout_time1969-12-31 23:59:59
total_payout_value0.998 HBD
curator_payout_value0.994 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,504
author_reputation78,141,596,755,434
root_title"Introducing Hive Lottery: A Fast, Fair, On-Chain Lottery Built for the Hive Blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,436,478
net_rshares6,721,373,655,160
author_curate_reward""
vote details (41)
@holoz0r · (edited)
How about adjusting the number of entries so that the winner gets away 100 HIVE? Easier for people to understand a prize as a round number, I think ;) 
👍  
properties (23)
authorholoz0r
permlinkre-beggars-t022az
categoryhive-139531
json_metadata{"app":"peakd/2025.7.3","image":[],"tags":["hive-139531"],"users":[]}
created2025-07-27 11:23:24
last_update2025-07-27 11:38:42
depth1
children1
last_payout2025-08-03 11:23: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_length151
author_reputation590,017,308,083,710
root_title"Introducing Hive Lottery: A Fast, Fair, On-Chain Lottery Built for the Hive Blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,436,740
net_rshares24,356,066,428
author_curate_reward""
vote details (1)
@beggars ·
I think you're right. An even number looks better. If you subtract the 2.5% from the pot, it results in a weird unrounded number. That's a really good point.
properties (22)
authorbeggars
permlinkre-holoz0r-t022gb
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2025.7.3","image":[],"users":[]}
created2025-07-27 11:26:36
last_update2025-07-27 11:26:36
depth2
children0
last_payout2025-08-03 11:26:36
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_length157
author_reputation78,141,596,755,434
root_title"Introducing Hive Lottery: A Fast, Fair, On-Chain Lottery Built for the Hive Blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,436,829
net_rshares0
@thedd ·
Looks promising. I will try it once it allows me to login with keychain
!PIZZA
👍  
properties (23)
authorthedd
permlinkre-beggars-t043zt
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2025.7.3","image":[],"users":[]}
created2025-07-28 13:55:09
last_update2025-07-28 13:55:09
depth1
children3
last_payout2025-08-04 13:55:09
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_length78
author_reputation610,855,738,228
root_title"Introducing Hive Lottery: A Fast, Fair, On-Chain Lottery Built for the Hive Blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,481,513
net_rshares24,754,239,258
author_curate_reward""
vote details (1)
@beggars ·
Done. Hive Keychain supported has been added.
properties (22)
authorbeggars
permlinkt04vr6
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2025-07-28 23:54:42
last_update2025-07-28 23:54:42
depth2
children1
last_payout2025-08-04 23:54: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_length45
author_reputation78,141,596,755,434
root_title"Introducing Hive Lottery: A Fast, Fair, On-Chain Lottery Built for the Hive Blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,497,605
net_rshares0
@thedd ·
Wow, that was fast. I tried and it works as it should. Now I'm waiting to get rich ;)
properties (22)
authorthedd
permlinkre-beggars-t05dn2
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2025.7.3"}
created2025-07-29 06:21:06
last_update2025-07-29 06:21:06
depth3
children0
last_payout2025-08-05 06:21: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_length85
author_reputation610,855,738,228
root_title"Introducing Hive Lottery: A Fast, Fair, On-Chain Lottery Built for the Hive Blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,501,849
net_rshares0
@pizzabot ·
@thedd, sorry! You need more to stake more $PIZZA to use this command.

The minimum requirement is 20.0 PIZZA staked.

More $PIZZA is available from [Hive-Engine](https://hive-engine.com/?p=market&t=PIZZA) or [Tribaldex](https://tribaldex.com/trade/PIZZA)
properties (22)
authorpizzabot
permlinkre-re-beggars-t043zt-20250728t135530z
categoryhive-139531
json_metadata"{"app": "pizzabot"}"
created2025-07-28 13:55:30
last_update2025-07-28 13:55:30
depth2
children0
last_payout2025-08-04 13:55: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_length256
author_reputation7,790,470,723,958
root_title"Introducing Hive Lottery: A Fast, Fair, On-Chain Lottery Built for the Hive Blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,481,528
net_rshares0