Difference between revisions of "Satoshi Dice"

From Bitcoin Wiki
Jump to: navigation, search
(History: Added info about IPO and shares trading)
(The truth behind the SatoshiDice attack)
Line 1: Line 1:
A blockchain-based betting game.
+
SatoshiDice is a DDoS attack against the Bitcoin network designed as a "blockchain-based betting game" so as to exploiting gamblers to cover the expenses of bypassing the built-in anti-DDoS features of Bitcoin (transaction fees).
  
Blockchain betting games are those which use information from the wager transaction in the blockchain in determining whether the player wins or loses.
+
Unlike traditional online gaming software, wagers with SatoshiDice can be sent without access to the website nor running any client software.  To play, a Bitcoin transaction is made to one of the static addresses operated by the service, each having differing payouts.  The service determines if the wager wins or loses and sends a transaction in response with the payout to a winning bet or it returns a tiny fraction of the house's gain to a losing bet.
 +
As a result, the game spams the p2p network and blockchain with useless data.
 +
SatoshiDice forces players to pay a transaction fee on each result so the spam will successfully flood both the p2p relay network and the blockchain.
  
Unlike traditional online gaming software, wagers with SatoshiDice can be sent without access to the website nor running any client software. To play, a Bitcoin transaction is made to one of the static addresses operated by the service, each having differing payouts.  The service determines if the wager wins or loses and sends a transaction in response with the payout to a winning bet or it returns a tiny fraction of the house's gain to a losing bet.  As a result, the player receives a win/lose response relatively instantaneously.  SatoshiDICE pays a transaction fee on for each payout so the transactions will be relayed and included in the blockchain without significant delay.
+
There has been the suggestion that the service might be also be used as a [[mixing service]], as the composition of a wallet can be materially changed after running wagers through SatoshiDice<ref>[http://bitcointalk.org/index.php?topic=79079.0 Blockchain-based betting services function as mixing services?]</ref>.
 +
Though this approach could change the makeup of the wallet, it does not sufficiently serve the mixing purpose as the coins returned in winning bets are tied to the coins from the wager transaction.
  
With SatoshiDICE, there is no need for bitcoin transactions to first confirm as the method the service creates the payout transaction includes a dependency on the original wager transaction.  This gives the service the ability to accept a 0/unconfirmed transaction for each wager.
+
There is no reason to believe that [[Satoshi Nakamoto]] has anything to do with this attack, other than the service choosing to include the noun Satoshi in the brand.
 
+
It is known to be currently operated by [[Erik Voorhees]].
Multiple bets may be in a single transaction (e.g., a bet can be made for Under 48,000 and include a second bet Under 32 in the same payment transaction).  The service will respond with multiple payout transactions, one for each bet, in response.
 
 
 
There has been the suggestion that the service might be seeing use as a [[mixing service]], as the composition of a wallet can be materially changed after running wagers through SatoshiDICE<ref>[http://bitcointalk.org/index.php?topic=79079.0 Blockchain-based betting services function as mixing services?]</ref>.  Though this approach could change the makeup of the wallet, it does not sufficiently serve the mixing purpose as the coins returned in winning bets are tied to the coins from the wager transaction.
 
 
 
There is no reason to believe that [[Satoshi Nakamoto]] has anything to do with this service, other than the service choosing to include the noun Satoshi in the brand.
 
  
 
==Random Number Generation==
 
==Random Number Generation==
  
To determine if a wager is a winner or loser, the site uses a method to produce a number between 0 and 65,535, similar to how a random number generator (RNG) would be used.  The service uses a combination of the transaction hash from the wager transaction from the blockchain and performs a sha2 (sha-512) hash for that transaction hash using a secret unknown to the player.  The first four bytes of that sha-512 hash become the lucky number in determining winner or loser.
+
To determine if a wager is a winner or loser, the site uses a method to produce a number between 0 and 65,535, similar to how a random number generator (RNG) would be used.  The service uses a combination of the transaction hash from the wager transaction from the blockchain and performs a 512-bit SHA2 hash for that transaction hash using a secret unknown to the player.  The first four bytes of that hash become the lucky number in determining winner or loser.
  
 
==Odds==
 
==Odds==
Line 23: Line 21:
 
==Automated Betting==
 
==Automated Betting==
  
Bitcoin's community of developers wasted no time building automated betting bot scripts employing the Martingale betting system and variants thereof<ref>[http://bitcointalk.org/index.php?topic=80245.0 PHP martingale bot for satoshiDICE]</ref>.
+
Some gamblers have built automated betting bot scripts employing the Martingale betting system and variants thereof<ref>[http://bitcointalk.org/index.php?topic=80245.0 PHP martingale bot for satoshiDICE]</ref>.
  
 
==History==
 
==History==
  
SatoshiDICE was the brand given the service initially created by [[BitcoinTalk]] forum user FireDuck before selling the system to another operator<ref>[http://www.reddit.com/r/Bitcoin/comments/segz0/anyone_want_to_run_my_bitcoin_casino Anyone want to run my bitcoin casino]</ref>.  The service was announced on April 24, 2012<ref>[http://bitcointalk.org/index.php?topic=77870.0 SatoshiDICE.com - Verified rolls, up to 65,000x winning]</ref>]. Withing weeks, the site became responsible for more Bitcoin transactions than all other uses of Bitcoin -- combined<ref>[http://bitcointalk.org/index.php?topic=79285.0 All-time transaction record was just hit]</ref>.
+
SatoshiDice was the brand given the service initially created by [[BitcoinTalk]] forum user FireDuck before selling the system to another operator<ref>[http://www.reddit.com/r/Bitcoin/comments/segz0/anyone_want_to_run_my_bitcoin_casino Anyone want to run my bitcoin casino]</ref>.  The service was announced on April 24, 2012<ref>[http://bitcointalk.org/index.php?topic=77870.0 SatoshiDICE.com - Verified rolls, up to 65,000x winning]</ref>].
 +
Withing weeks, the site became responsible for flooding more Bitcoin spam transactions than all legitimate uses of Bitcoin combined<ref>[http://bitcointalk.org/index.php?topic=79285.0 All-time transaction record was just hit]</ref>.
  
 
Since August 20, 2012 SatoshiDice shares are publicly traded<ref>https://bitcointalk.org/index.php?topic=101902.0 IPO shares announcement</ref> at [[MPEx]] under S.DICE symbol and paying monthly dividends.
 
Since August 20, 2012 SatoshiDice shares are publicly traded<ref>https://bitcointalk.org/index.php?topic=101902.0 IPO shares announcement</ref> at [[MPEx]] under S.DICE symbol and paying monthly dividends.
Line 37: Line 36:
 
==External Links==
 
==External Links==
  
* [http://www.SatoshiDICE.com SatoshiDICE.com] website
+
* [http://www.SatoshiDice.com SatoshiDice.com] website
  
 
==References==
 
==References==
 
<references />
 
<references />
 
[[Category:Gambling]]
 

Revision as of 18:29, 11 November 2012

SatoshiDice is a DDoS attack against the Bitcoin network designed as a "blockchain-based betting game" so as to exploiting gamblers to cover the expenses of bypassing the built-in anti-DDoS features of Bitcoin (transaction fees).

Unlike traditional online gaming software, wagers with SatoshiDice can be sent without access to the website nor running any client software. To play, a Bitcoin transaction is made to one of the static addresses operated by the service, each having differing payouts. The service determines if the wager wins or loses and sends a transaction in response with the payout to a winning bet or it returns a tiny fraction of the house's gain to a losing bet. As a result, the game spams the p2p network and blockchain with useless data. SatoshiDice forces players to pay a transaction fee on each result so the spam will successfully flood both the p2p relay network and the blockchain.

There has been the suggestion that the service might be also be used as a mixing service, as the composition of a wallet can be materially changed after running wagers through SatoshiDice[1]. Though this approach could change the makeup of the wallet, it does not sufficiently serve the mixing purpose as the coins returned in winning bets are tied to the coins from the wager transaction.

There is no reason to believe that Satoshi Nakamoto has anything to do with this attack, other than the service choosing to include the noun Satoshi in the brand. It is known to be currently operated by Erik Voorhees.

Random Number Generation

To determine if a wager is a winner or loser, the site uses a method to produce a number between 0 and 65,535, similar to how a random number generator (RNG) would be used. The service uses a combination of the transaction hash from the wager transaction from the blockchain and performs a 512-bit SHA2 hash for that transaction hash using a secret unknown to the player. The first four bytes of that hash become the lucky number in determining winner or loser.

Odds

Each wager address has different odds, and each gives the house an edge of 1.50% (i.e., payouts are 98.5% when including the payout to the losing bets)[2]. The website shows the full list of wager addresses and odds.

Automated Betting

Some gamblers have built automated betting bot scripts employing the Martingale betting system and variants thereof[3].

History

SatoshiDice was the brand given the service initially created by BitcoinTalk forum user FireDuck before selling the system to another operator[4]. The service was announced on April 24, 2012[5]]. Withing weeks, the site became responsible for flooding more Bitcoin spam transactions than all legitimate uses of Bitcoin combined[6].

Since August 20, 2012 SatoshiDice shares are publicly traded[7] at MPEx under S.DICE symbol and paying monthly dividends.

See Also

External Links

References