ہیش چین ہر نتیجے کو طے کرتی ہے
ہم دس لاکھ خفیہ سیڈز کی ایک چین بناتے ہیں، جس میں ہر سیڈ اپنے اگلے سیڈ کا SHA-256 ہیش ہوتا ہے، اور صرف اس کا آخری سرا شائع کرتے ہیں: کمٹمنٹ۔ اس کے بعد کوئی نتیجہ نہ بدلا جا سکتا ہے اور نہ اس کی ترتیب۔
SPILVON Originals · Crash
SPILVON کے ہر مشترکہ کریش روم کا ہر راؤنڈ کسی کے شرط لگانے سے بہت پہلے طے ہو جاتا ہے۔ کسی بھی راؤنڈ کو ایک مختصر اسکرپٹ سے جانچیں: نہ اکاؤنٹ کی ضرورت، نہ ہم پر بھروسے کی۔
01 / SHA-256 · Bitcoin
ہم دس لاکھ خفیہ سیڈز کی ایک چین بناتے ہیں، جس میں ہر سیڈ اپنے اگلے سیڈ کا SHA-256 ہیش ہوتا ہے، اور صرف اس کا آخری سرا شائع کرتے ہیں: کمٹمنٹ۔ اس کے بعد کوئی نتیجہ نہ بدلا جا سکتا ہے اور نہ اس کی ترتیب۔
کسی چین کے استعمال سے پہلے ہم ایک ایسے بٹ کوائن بلاک کا اعلان کرتے ہیں جس کی ابھی مائننگ نہیں ہوئی۔ اس کا ہیش ہر کریش پوائنٹ کا سالٹ بنتا ہے، اس لیے ہمارے لیے اپنے حق میں کوئی چین منتخب کرنا ممکن ہی نہیں تھا۔
ہر راؤنڈ کے بعد جانچیں کہ اس کے سیڈ کا ہیش پچھلے راؤنڈ کے سیڈ کے برابر ہے، پھر سیڈ اور سالٹ سے کریش پوائنٹ کا دوبارہ حساب لگائیں۔
روم اپنی کمٹمنٹ شائع کرتا ہے اور جب تک اس کی چین کا سالٹ طے نہ ہو، ہر شرط مسترد کرتا ہے۔
ہم مستقبل کی ایک بٹ کوائن بلاک اونچائی H منتخب کرتے ہیں، عام طور پر تقریباً 24 بلاک (چار گھنٹے) آگے، اور اسے کمٹمنٹ کے ساتھ درج کرتے ہیں۔
بلاک H بننے سے پہلے ہم H اور ہر کمٹمنٹ کی فہرست پر مشتمل ایک اعلان شائع کرتے ہیں، یہاں بھی اور ان عوامی چینلز پر بھی جہاں تیسرے فریق اسے محفوظ کرتے ہیں اور اس پر ٹائم اسٹیمپ لگاتے ہیں۔
بلاک H کو چھ تصدیقیں ملتے ہی اس کا ہیش سالٹ بن جاتا ہے۔ ہم اسے دو آزاد بلاک ایکسپلوررز سے ملاتے ہیں اور اس کے پروف آف ورک کی تصدیق کرتے ہیں۔ سالٹ صرف ایک بار طے کیا جا سکتا ہے۔
03 / verify-crash.mjs
بغیر کسی ڈیپنڈنسی کے ایک فائل، Node.js 18 یا اس کے بعد کے ورژن کے لیے۔ چلانے سے پہلے اسے پڑھیں، اور اس کے SHA-256 کا یہاں دکھائے گئے چیک سم سے موازنہ کریں۔
110464438dec63597bd2ebcf795055eb5ac6e5f539ef68e9d4122a16181765bacurl -O https://spilvon.com/fairness/verify-crash.mjs
shasum -a 256 verify-crash.mjs # 110464438dec63597bd2ebcf795055eb5ac6e5f539ef68e9d4122a16181765ba
node verify-crash.mjs selftest
node verify-crash.mjs record zenith04 / docs/fairness/crash.md
All of SPILVON's shared crash games work the same way. They are Zenith, Postwing Atlas, Vesperplume, Hadal Choir, Nacreline, Solafoam, Kite Storm, Rail Surge, Floe Signal, Thimblewind and Amber Epicycle. Every player in a room sees the same round. Each round's crash point is fixed long before anyone bets. You can check any round yourself with a short script. You don't need an account and you don't have to trust us.
Three things make this work:
We pick a random 256-bit number, seed[1000000], and hash it over and over:
seed[i-1] = SHA-256( seed[i] ) (hashing the 64-character lowercase hex text of the seed)The last value, seed[0], is the commitment. We publish it before the first round. Round 1 uses seed[1], round 2 uses seed[2], and so on. SHA-256 cannot be reversed. So when round i ends and reveals seed[i], anyone can confirm that SHA-256(seed[i]) equals the seed of round i-1. Following the links back from any round always reaches the commitment.
What this proves: the order of all one million results was fixed when the commitment was published, and we cannot swap any of them.
A commitment alone does not stop an operator from creating thousands of chains and keeping the one with the best results. To rule that out, every crash point also depends on a salt that did not exist when the chain was committed. We run a public salt ceremony:
salt_source: "btc:block:H". It shows in the public record right away.Nobody can predict a Bitcoin block hash hours ahead. We committed to the chain before the block existed and could not change the block afterwards. Together these mean that neither we nor anyone else chose the outcomes.
One ceremony can cover all our crash games at once: one block salts every chain listed in its announcement. The records of each ceremony are kept permanently.
All arithmetic is on whole numbers, so every computer gets exactly the same result:
h = HMAC-SHA256( key = seed (64-char hex text), message = salt (64-char hex text) )
r = the first 13 hex digits of h, read as an integer (52 bits, 0 <= r < 2^52)
point = floor( 100 * (10000 - edge_bps) * 2^52 / (10000 * (2^52 - r)) ) in hundredths
crash = max(100, min(point, max_e2)) / 100edge_bps is the house edge in hundredths of a percent, and max_e2 is the game's maximum multiplier in hundredths. Both are published with each chain and are fixed for the chain's whole life:
| Game | House edge | RTP | Maximum multiplier |
|---|---|---|---|
| Zenith | 3.00 % (edge_bps 300) | 97.00 % | 1,000,000.00x |
| Postwing Atlas, Vesperplume, Hadal Choir, Nacreline, Solafoam, Kite Storm, Rail Surge, Floe Signal, Thimblewind, Amber Epicycle | 1.00 % (edge_bps 100) | 99.00 % | 2,500.00x |
With r uniform, the chance that a round reaches a multiplier m or higher is (1 − edge) / m. So any cash-out target returns the same 100 % − edge on average. A round can end at 1.00x. If a round ends exactly at your target, you win.
Every game publishes its fairness record without any login:
GET https://games.spilvon.com/api/v1/public/crash/<game code>It lists the last 5 chains (commitment, length, edge_bps, max_e2, salt, salt_source, created_at, salted_at) and the last 100 rounds (seq, chain_no, seed_index, seed, crash). Every game's fairness panel shows the same data.
Game codes: zenith, sky-courier, ember-ascent, deep-dive, tower-lift, wave-rider, kite-storm, rail-surge, glacier-run, balloon-drift, sling-comet.
verify-crash.mjs is one file with no dependencies. It needs Node.js 18 or later. Read it first: it is about 300 lines.
node verify-crash.mjs selftest # the test vectors below
node verify-crash.mjs record zenith # everything in a game's public record
node verify-crash.mjs block 930024 # a block hash from two explorers, proof of work checked
node verify-crash.mjs round --seed <seed> --salt <salt> --edge-bps 100 --max-e2 250000 --prev <previous seed>
node verify-crash.mjs chain --seed <seed> --index <seed_index> --commitment <commitment>record checks the following:
salt is the hash of the Bitcoin block named in salt_source. It asks mempool.space and blockstream.info and verifies the block header's proof of work locally.seed_index 1 hashes to the commitment.seed_index times, reaches the commitment.If you prefer not to rely on explorers, run bitcoin-cli getblockhash <H> on your own node. Then pass the record with --file and the hash with round.
For each chain, open the ceremony announcement (all are listed below). Check three things:
salt_source is btc:block:H.These come from a five-seed test chain. seed[5] = SHA-256 of the text SPILVON crash fairness test vector. The salt is the hash of Bitcoin block #0 (000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f), used here only as a test input.
| seed_index | seed | Zenith (300 bps, cap 1,000,000x) | other games (100 bps, cap 2,500x) |
|---|---|---|---|
| 0 (commitment) | c56edc51e75c6b6681107ad09424c4a582a8ad6b2c86f03b0a2e301af381b612 | ||
| 1 | ca8b3829f8c7c6d816404cf0023c5a0e0c94d20809f695cbd48da8368cdbfd9f | 1.63 | 1.67 |
| 2 | 381eeb3c6d56baf95971596c7cb28678c864dcdedbb3eb0019dffef65feae26a | 1.81 | 1.85 |
| 3 | 6c42af268169be8c6f23ca6752bf7944a5e30f406684a5f6862251fa03fcbec3 | 1.61 | 1.64 |
| 4 | d80b5b60a09d908a518bc1d7923f906dd5c452b34b56bd70bb87c4d2f9a9580c | 1.41 | 1.44 |
| 5 | 130482a313cdd07d8f1331ccaa144bdc08f1f69fe10cd981d27e21bb35d7381c | 2.40 | 2.45 |
Formula edge cases, from r directly: r = 0 gives 1.00. r = 2^51 gives 1.98 at 100 bps and 1.94 at 300 bps. r = 2^52 − 1 gives the cap, 2500.00 or 1000000.00.