PrettyCobs - Provably fair, on-chain, zero confirmation PIVX dice game

Started by shoephone 5 years ago · 2 replies · 6421 views
5 years ago

Hello! I've been working on a dice game using PIVX, as an excuse to learn more about PIVX and Angular :)

It's a standard dice game - select a multiplier, send PIV to the address shown on the app. The tx hash of your send, combined with the outpoint and a server secret are used to create a decimal value between 1 and 255 - the roll. If your roll is lower than the pre-set game number, you win! Payouts are done instantly, with zero confirmations. The average time between when the system picks up a bet, and when it pays out the win for that bet is less than a second.

Each game has a min bet and a max bet value. If a bet is under the min value, it's considered a gift. If a bet is over the max value, payout is calculated for the max value of that multiplier. On payout, the amount over the max bet is returned along with the payment.

It doesn't support shield transactions (yet) - only transparent.

Server secrets are generated 3 days in advance, and used for 24 hours. Hashes of the secrets are published when they are created. After the active day for a secret is over, the plaintext secret is published as well.

There are no accounts, no signups, I don't want your email or anything like that. Just pick a multiplier and send some coin.

You can find it over at https://prettycobs.com

Take a look and let me know what you think, and any questions you may have!

👍 2
5 years ago

Note: This service has, unfortunately, closed it's doors!

👍 1
4 years ago

It would be a good service. Would it bear fruit?

Suggested topics

Topic Participants Replies Views Activity
Projects · by Alexxiy, 4 weeks ago
0 241 4 weeks ago
Projects · by PIVX Labs, 7 months ago
0 1072 7 months ago
Projects · by ONeZetty, 2 years ago
0 186855 2 years ago
Projects · by Boxwallet, 3 years ago
0 3695 3 years ago
Projects · by PIVX Labs, 6 years ago
17 16001 4 years ago