Bitcoin Forum
May 30, 2024, 08:54:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Ethereum-based Provably Fair Random Number Generation  (Read 454 times)
eth888 (OP)
Newbie
*
Offline Offline

Activity: 81
Merit: 0


View Profile WWW
September 16, 2017, 07:53:40 AM
Last edit: September 16, 2017, 08:04:55 AM by eth888
 #1

Hi, we figured out an workaround for generating random number for betting games under smart contract environment, without relaying on blockhash and third-party's API (say random.org). The technical demo is running in Ropsten testnet:

Please make sure Metamask installed in your Chrome or Firefox.

Welcome to challenge it!

This briefly describes how it works.
JackpotRacer
Legendary
*
Offline Offline

Activity: 1960
Merit: 1014


All Games incl Racer and Lottery game are Closed


View Profile
September 16, 2017, 03:23:11 PM
 #2

Hi, we figured out an workaround for generating random number for betting games under smart contract environment, without relaying on blockhash and third-party's API (say random.org). The technical demo is running in Ropsten testnet:

Please make sure Metamask installed in your Chrome or Firefox.

Welcome to challenge it!

This briefly describes how it works.


how fast is this? would it work for dice game?

Please check my Scam accusation against 👉 Blackjack.fun 👈 to be always up to date
                       👇🏿👇👇👇👇👇👇👇🏿
https://bitcointalk.org/index.php?topic=5474047.0
eth888 (OP)
Newbie
*
Offline Offline

Activity: 81
Merit: 0


View Profile WWW
September 16, 2017, 04:25:20 PM
 #3

Hi, we figured out an workaround for generating random number for betting games under smart contract environment, without relaying on blockhash and third-party's API (say random.org). The technical demo is running in Ropsten testnet:

Please make sure Metamask installed in your Chrome or Firefox.

Welcome to challenge it!

This briefly describes how it works.


how fast is this? would it work for dice game?

Around 30s, less than 2 block times in average, welcome to have a try!
Unless doing p2p betting, likely it is theoretically impossible to have decentralized implementation less than a block time.
JackpotRacer
Legendary
*
Offline Offline

Activity: 1960
Merit: 1014


All Games incl Racer and Lottery game are Closed


View Profile
September 16, 2017, 05:01:04 PM
 #4

Hi, we figured out an workaround for generating random number for betting games under smart contract environment, without relaying on blockhash and third-party's API (say random.org). The technical demo is running in Ropsten testnet:

Please make sure Metamask installed in your Chrome or Firefox.

Welcome to challenge it!

This briefly describes how it works.


how fast is this? would it work for dice game?

Around 30s, less than 2 block times in average, welcome to have a try!
Unless doing p2p betting, likely it is theoretically impossible to have decentralized implementation less than a block time.

thx for the info but 30s is a lot for dice or other games Sad

Please check my Scam accusation against 👉 Blackjack.fun 👈 to be always up to date
                       👇🏿👇👇👇👇👇👇👇🏿
https://bitcointalk.org/index.php?topic=5474047.0
Hypercube
Member
**
Offline Offline

Activity: 119
Merit: 105


Semantically satiated.


View Profile
September 16, 2017, 05:19:47 PM
 #5

It still requires people to trust your platform given your centralized server generating the seed, which you could potentially grab at any time on your side without anyone knowing about it and bet accordingly. Also I guess that's not really your fault, but I'm not sure people would go on and check every seed. Maybe if a service starts using your contract he would implement an automatic checking strategy. What are you thoughts?

Great work anyway (if your intentions are legitimate Smiley ), it's good to have initiatives like this in the space.
eth888 (OP)
Newbie
*
Offline Offline

Activity: 81
Merit: 0


View Profile WWW
September 16, 2017, 05:51:05 PM
 #6

Hi, we figured out an workaround for generating random number for betting games under smart contract environment, without relaying on blockhash and third-party's API (say random.org). The technical demo is running in Ropsten testnet:

Please make sure Metamask installed in your Chrome or Firefox.

Welcome to challenge it!

This briefly describes how it works.


how fast is this? would it work for dice game?

Around 30s, less than 2 block times in average, welcome to have a try!
Unless doing p2p betting, likely it is theoretically impossible to have decentralized implementation less than a block time.

thx for the info but 30s is a lot for dice or other games Sad

That's really a bottleneck for blockchain implementation... still finding a way to shorten it.
eth888 (OP)
Newbie
*
Offline Offline

Activity: 81
Merit: 0


View Profile WWW
September 16, 2017, 06:15:50 PM
 #7

It still requires people to trust your platform given your centralized server generating the seed, which you could potentially grab at any time on your side without anyone knowing about it and bet accordingly. Also I guess that's not really your fault, but I'm not sure people would go on and check every seed. Maybe if a service starts using your contract he would implement an automatic checking strategy. What are you thoughts?

Great work anyway (if your intentions are legitimate Smiley ), it's good to have initiatives like this in the space.

Thanks for your sharing and yes, regarding to the trust issue, if the server can provide a SHA256 hash to the players before making a bet decision, it probably eliminates the doubts, as SHA256(seed) = hash and the seed will be given to the players afterwards, which is provable with this open validator:

https://jsbin.com/qidebel/edit?html,js,output
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!