<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: BetProof</title>
    <description>The latest articles on DEV Community by BetProof (@betproof).</description>
    <link>https://dev.to/betproof</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4247441%2F40827e09-21db-4118-b18e-76c7b3caa35b.png</url>
      <title>DEV Community: BetProof</title>
      <link>https://dev.to/betproof</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/betproof"/>
    <language>en</language>
    <item>
      <title>Why Aviator "predictors" cannot work: the maths of a provably fair crash round</title>
      <dc:creator>BetProof</dc:creator>
      <pubDate>Mon, 16 Nov 2026 10:17:19 +0000</pubDate>
      <link>https://dev.to/betproof/why-aviator-predictors-cannot-work-the-maths-of-a-provably-fair-crash-round-26ba</link>
      <guid>https://dev.to/betproof/why-aviator-predictors-cannot-work-the-maths-of-a-provably-fair-crash-round-26ba</guid>
      <description>&lt;p&gt;Search for "Aviator predictor" and you will find apps, bots and Telegram channels that promise to tell you when the plane will fly away. They all have the same problem: the number they claim to predict comes out of SHA-512, and the input to that hash is not known until the round is over.&lt;/p&gt;

&lt;p&gt;This post walks through how a provably fair crash round is actually produced, rebuilds one in a few lines of JavaScript, and then shows why even a perfect "signal" would not change the expected result of a bet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the multiplier comes from
&lt;/h2&gt;

&lt;p&gt;A crash round ends at a multiplier: 1.00x, 1.35x, 12.37x, sometimes several hundred. In the provably fair version of the game, that number is not chosen when the round starts. It is computed from seeds:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a &lt;strong&gt;server seed&lt;/strong&gt;, generated by the game provider;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;client seeds&lt;/strong&gt;, contributed by players. Aviator shows three of them for every round, each next to a masked player name.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After the round, the game shows all of them. Anyone can join them into one string, hash it, and get the same multiplier the screen showed. If the result had been altered, the hash would not match.&lt;/p&gt;

&lt;p&gt;There are two different games sold under the name Aviator, and they do not use the same formula. We recorded real rounds of both and rebuilt every one of them, so these are the formulas as they work in practice:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Version&lt;/th&gt;
&lt;th&gt;String that is hashed&lt;/th&gt;
&lt;th&gt;Multiplier&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Spribe&lt;/td&gt;
&lt;td&gt;server seed + client seed 1 + 2 + 3&lt;/td&gt;
&lt;td&gt;floor(97 * 2^52 / (2^52 - h)) / 100, at least 1.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Aviator Studio&lt;/td&gt;
&lt;td&gt;client seed 1 + 2 + 3 + server seed&lt;/td&gt;
&lt;td&gt;floor(96 * 2^52 / (2^52 - h)) / 100, at least 1.00&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In both, &lt;code&gt;h&lt;/code&gt; is the first 13 hexadecimal characters of the SHA-512 hash, read as a number. Thirteen hex characters are 52 bits, so &lt;code&gt;h&lt;/code&gt; is spread evenly between 0 and 2^52.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rebuilding a round in JavaScript
&lt;/h2&gt;

&lt;p&gt;This runs in a browser console or in Node 18+ (both have Web Crypto):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;E&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2n&lt;/span&gt; &lt;span class="o"&gt;**&lt;/span&gt; &lt;span class="mi"&gt;52n&lt;/span&gt;

&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;crashResult&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;serverSeed&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;clientSeeds&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;build&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'spribe'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;clients&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;clientSeeds&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;''&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;input&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;build&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s1"&gt;'studio'&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="n"&gt;clients&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;serverSeed&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;serverSeed&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;clients&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;buf&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;crypto&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;subtle&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;digest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'SHA-512'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;TextEncoder&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;hash&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Uint8Array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;buf&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toString&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;padStart&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'0'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;''&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;BigInt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'0x'&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;hash&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;slice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;13&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;numerator&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;build&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s1"&gt;'studio'&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="mi"&gt;96n&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;97n&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;hundredths&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;numerator&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="no"&gt;E&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;E&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;hash&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;hundredths&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c1"&gt;// A real Aviator Studio round, recorded with its seeds from the game's round history.&lt;/span&gt;
&lt;span class="nf"&gt;crashResult&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="s1"&gt;'b651d5a9ba8de6d1b53d327c55e288257ac07ff7b4ff738acaeffeae3e84b15c'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'uHUAPCgzWQptzd2aAd5J'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'cabJy3Z4dBK5XqjNAdtz'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'5PjMtshuy1Qm9sMlAdlW'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s1"&gt;'studio'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;then&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="c1"&gt;// 46.87&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The hash begins &lt;code&gt;fac1cf0e88d1f&lt;/code&gt;, which as a number is close to the top of the 52-bit range, and that is why this round flew so far. A hash that begins near zero gives a result near the bottom.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a predictor has nothing to predict
&lt;/h2&gt;

&lt;p&gt;To know the next multiplier in advance you would need the next hash. To get the hash you need every seed that goes into it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;server seed&lt;/strong&gt; is not shown until the round is over.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;client seeds&lt;/strong&gt; come from players taking part in that round, so the full input only exists once the round is under way.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SHA-512&lt;/strong&gt; gives no shortcut. Changing one character of the input changes the whole output, and there is no known way to steer the first 13 characters without trying inputs one by one.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The history of past rounds does not help either. Every round uses new seeds, so the hash of one round says nothing about the hash of the next. A run of low multipliers does not make a high one "due". The plane has no memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Even a working signal would not change the expected result
&lt;/h2&gt;

&lt;p&gt;Here is the part that makes predictors pointless even in theory. Take the Spribe formula. Let &lt;code&gt;u = h / 2^52&lt;/code&gt;, which is uniform between 0 and 1. The round reaches a multiplier &lt;code&gt;x&lt;/code&gt; or more exactly when&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;97 / (1 - u) &amp;gt;= 100 * x
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;which works out to &lt;code&gt;u &amp;gt;= 1 - 0.97 / x&lt;/code&gt;. So the chance that a round reaches &lt;code&gt;x&lt;/code&gt; is about &lt;strong&gt;0.97 / x&lt;/strong&gt;:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Cash-out target&lt;/th&gt;
&lt;th&gt;Chance the round gets there&lt;/th&gt;
&lt;th&gt;Return per 1 unit staked&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1.10x&lt;/td&gt;
&lt;td&gt;88.2%&lt;/td&gt;
&lt;td&gt;0.97&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2.00x&lt;/td&gt;
&lt;td&gt;48.5%&lt;/td&gt;
&lt;td&gt;0.97&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10.00x&lt;/td&gt;
&lt;td&gt;9.7%&lt;/td&gt;
&lt;td&gt;0.97&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;100.00x&lt;/td&gt;
&lt;td&gt;0.97%&lt;/td&gt;
&lt;td&gt;0.97&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Multiply the chance by the payout and you get 0.97 every time. Whatever target you pick, the long-run return is 97% of what you stake. The other 3% is the house edge, and it is written into the formula itself: about 3 rounds in 100 end at 1.00x no matter what anyone does. In the Aviator Studio build the base is 96 instead of 97, so the return is about 96%.&lt;/p&gt;

&lt;p&gt;A strategy can change how often you win and how big the swings are. It cannot change the 0.97. A "predictor" that is right half the time at 2.00x is just describing the game: that is what 48.5% looks like.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you can actually check
&lt;/h2&gt;

&lt;p&gt;Provably fair does not mean you will win. It means you can confirm that a finished round was not changed after the fact. That is worth doing, and it takes a minute:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the round history in the game and copy the server seed and the three client seeds.&lt;/li&gt;
&lt;li&gt;Hash them in the right order for that version of the game.&lt;/li&gt;
&lt;li&gt;Compare the first 13 characters of the hash and the multiplier with what the screen showed.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you do not want to paste seeds into a console, we built a free checker that does exactly the steps above for both versions of Aviator: &lt;a href="https://betproof.app/tools/aviator-verifier/" rel="noopener noreferrer"&gt;verify an Aviator round&lt;/a&gt;. It runs in the browser, needs no sign-up and stores nothing.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article was written with the help of AI and checked against rounds we recorded and rebuilt ourselves. The formulas and the example round come from real games, not from documentation.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>math</category>
      <category>cryptography</category>
      <category>probability</category>
    </item>
  </channel>
</rss>
