a satoshi dice style social lottery game on nostr would crush
Discussion
Owning ₿itcoin feels like winning the lottery in slow motion.
More info pls. I can do it
josh’s thinking lines up with mine but no separate website - a nostr bot could handle it
Great job nostr:nprofile1qqsqfjg4mth7uwp307nng3z2em3ep2pxnljczzezg8j7dhf58ha7ejgprpmhxue69uhhqun9d45h2mfwwpexjmtpdshxuet5qyt8wumn8ghj7un9d3shjtnswf5k6ctv9ehx2aqnz0fd0 , you’ve recreated internet use case #2. Any ideas for porn on NOSTR to check off #1? C’mon man.
Here's a simple lottery game that could be easily verified by anyone.
Create an npub / website where you can bet on red or black.
When a new bitcoin block comes in, mod (%) the hash value by 2.
If the value is 0 = black, 1 = red.
If black wins, they win reds' pot. And vice versa.
Anyone could verify if cheating took place by doing the incredibly simple block height hash % 2.
You could follow this example to make the full game of roulette with other odds (including house wins).
The real question is legality.
can an nbup act as a website? what does npub/website mean
I mean a “nostr account” / bot or a normal website. I think everyone would prefer a nostr bot.
I am on it 🫡
🫡
With bot, how will I close the betting for current block? People will keep on zapping till the last second and even after that.
Should I ignore all the zaps after the current block is mined?
Please will say, "I zapped earlier", "my client was slow", etc.
It will be easier to handle it on website.
Trust me, everyone wants a nostr bot. Besides, it’s good practice to build nostr tools.
1. Don’t issue new invoices after a new block height
2. If new invoices are fulfilled after a new block comes in, have the bot either private message them some ecash ( nostr:nprofile1qqs9pk20ctv9srrg9vr354p03v0rrgsqkpggh2u45va77zz4mu5p6ccppemhxue69uhhjctzw5hx6ef0qyt8wumn8ghj7etyv4hzumn0wd68ytnvv9hxgtcp057c2 ), or zap them the amount.
When you need permission to build.... 🤣
You should checkout RogueTrader.io. A buddy of mine built it. They’ve done something similar what you describe, creating a randomly generated index that you can bet on. It’s fully decentralized, non custodial, and it’s provably fair with all random numbers used to generate the betting outcomes posted to the blockchain.
I'm in. satoshi dice was fun.
nostr:nprofile1qqs0wgf8etnayvkcs4c636fdvepy73jc9q2xlcln64srjdm5e98p8ncpzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgqgawaehxw309aex2mrp0yhxyatvd35hx6rzda6kuare9e3k7mg9v3zwx what does he mean by block height hash % 2. Give me an example
Kinda like this? 
Good idea
Like just-dice.com where you bet with clams
clams
And you can be the house if you want
Fold wheel, but on Nostr and you buy in w sats.. insert the drunk Don Draper meme
Check out the #casine. It's basically this. Each block hash ends in a hexadecimal. You place a bet 0-F what the last digit will be. 16 possibilities. You can scale this by betting last two digits instead.
nostr:npub12r0yjt8723ey2r035qtklhmdj90f0j6an7xnan8005jl7z5gw80qat9qrx nostr:npub1ymt2j3n8tesrlr0yhaheem6yyqmmwrr7actslurw6annls6vnrcslapxnz nostr:npub12gu8c6uee3p243gez6cgk76362admlqe72aq3kp2fppjsjwmm7eqj9fle6 nostr:npub1r8u6lw8c2h67s66magtqu78vtpckfzcsmmdsg06gqm723njsunfs8kfjwl
it should be a nostr bot, all actions and outcomes should be kind1 events
The best part about #lacasina was the human element. We took turns "dealing" for the most part. Dealer just keeps track of who has which numbers/letters. It was a fun learning tool too. We only do it for special occasions these days. But it is way more fun than whatever this other concept sounds like.
thats awesome but different
Could be cool both ways. The social aspect is great but you can scale the game up and involve more people by making the dealer a bot. You can still maintain the social part with a chat room.
You can even have a dealer but rather than the dealer record you have a bot do it. Think roulette. The blockchain is the wheel, continously turning. The bot simply records and acts as escrow.. The human dealer could manually input to the bot which block is the one being bet on and simply designate "no more bets" .
Viva la casina
Would be cool with an account like any other user and if you zap it you get like a 49% chance of getting 2x your money zapped back ✌️
