Nano PvP: Real-time cryptocurrency coin flipping

Tl;dr: Real-time heads-vs-tails game with Nano :)Cross-post from /r/nanocurrency:Hey guys, I just finished creating https://ift.tt/2urzaJT as a cool side project. It's a site where you can wager any amount of Nano against another player in a coinflip. Whatever side the coin lands on, the winner takes all. Currently, it is in beta testing and has a 0% fee. It has a provably fair system with instant deposits and withdrawals. I would really appreciate it if you guys could take a look and leave feedback about the site.We use the seedrandom javascript package that takes in a seed, and returns a value from 0 to 1. When each game is created, a hash(public) is generated. Once a player joins, a salt is generated (private) and the hash+salt are used as the seed. After each game, the salt is revealed where users can verify the outcome of the game at the url format https://ift.tt/38zfGBZ multiple people try to join a game, the person whose tx went through will join the game.Here's a demo video:https://youtu.be/hj4K9EiT8l4It's hard for me not to get excited about real-time cryptocurrency microtransactions like this hahaha. What do y'all think?

Submitted January 24, 2020 at 08:18AM

No comments:

Post a Comment