SPILVON Originals · Crash

하나의 체인, 미리 고정.

SPILVON 공유 크래시 룸의 모든 라운드는 누군가 베팅하기 훨씬 전에 고정됩니다. 짧은 스크립트로 어떤 라운드든 확인하세요. 계정도, 저희에 대한 신뢰도 필요 없습니다.

01 / SHA-256 · Bitcoin

작동 방식

01

해시 체인이 모든 결과를 고정합니다

각 시드가 다음 시드의 SHA-256 해시인 100만 개의 비밀 시드로 체인을 만들고, 그 끝인 커밋먼트만 공개합니다. 그때부터는 어떤 결과도 변경하거나 순서를 바꿀 수 없습니다.

02

미래의 비트코인 블록이 솔트를 정합니다

체인을 사용하기 전에 아직 채굴되지 않은 비트코인 블록을 지정합니다. 그 블록의 해시가 모든 크래시 포인트의 솔트가 되므로, 저희에게 유리한 체인을 고를 수 없었습니다.

03

라운드마다 시드를 공개합니다

각 라운드가 끝나면 해당 시드의 해시가 이전 라운드의 시드와 같은지 확인한 다음, 시드와 솔트로 크래시 포인트를 다시 계산하세요.

02 / 솔트 세리머니

솔트 세리머니

솔트 세리머니
  1. 01

    룸은 커밋먼트를 공개하고, 체인에 솔트가 없는 동안에는 모든 베팅을 거부합니다.

  2. 02

    미래의 비트코인 블록 높이 H를 정합니다. 보통 약 24블록(4시간) 뒤이며, 이를 커밋먼트 옆에 기록합니다.

  3. 03

    블록 H가 생성되기 전에 H와 모든 커밋먼트를 담은 공지를 이곳과, 제3자가 보관하고 타임스탬프를 남기는 공개 채널에 게시합니다.

  4. 04

    블록 H가 6번 컨펌되면 그 해시가 솔트가 됩니다. 두 개의 독립된 블록 탐색기에서 대조하고 작업 증명을 검증합니다. 솔트는 한 번만 설정할 수 있습니다.

03 / verify-crash.mjs

독립 실행형 검증 도구

의존성이 없는 단일 파일로, Node.js 18 이상에서 실행됩니다. 실행하기 전에 내용을 읽고, SHA-256 값을 여기 표시된 체크섬과 비교하세요.

SHA-256 체크섬
110464438dec63597bd2ebcf795055eb5ac6e5f539ef68e9d4122a16181765ba
Node.js
≥ 18
Shell
curl -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 zenith

04 / 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:

  1. The hash chain fixes every result in advance. When a game is started, we create a chain of one million secret seeds. We publish only its end, called the commitment. From then on, no result can be changed.
  2. A Bitcoin block we could not know decides the salt. Before we may use the chain, we name a Bitcoin block that has not been mined yet. Its hash becomes the chain's salt. Every crash point depends on that salt, so we could not have picked a chain that favours us.
  3. Every round reveals its seed. After each round you can check that the seed links to the round before it, and you can recompute the crash point from the seed and the salt.

1. The hash chain

We pick a random 256-bit number, seed[1000000], and hash it over and over:

Text
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.

2. The salt: a future Bitcoin block

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:

  1. The room creates its chain and publishes the commitment. The game stays closed: it refuses every bet while the chain has no salt.
  2. We choose a Bitcoin block height H that is still in the future, normally about 24 blocks (four hours) ahead. We record it in our database next to the commitment, as salt_source: "btc:block:H". It shows in the public record right away.
  3. We publish an announcement that lists H and every commitment. It goes on this website, on social media and in public forums, and is archived and timestamped by third parties. All of this happens before block H exists.
  4. Once block H is mined and has at least 6 confirmations, its hash becomes the salt of every chain in the announcement. We check the hash against two independent block explorers and verify the block's proof of work ourselves before writing it. The database accepts a salt only once.

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.

3. From seed and salt to a crash point

All arithmetic is on whole numbers, so every computer gets exactly the same result:

Text
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)) / 100

edge_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:

GameHouse edgeRTPMaximum multiplier
Zenith3.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 Epicycle1.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.

4. Check it yourself

The public record

Every game publishes its fairness record without any login:

Text
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.

The verifier script

verify-crash.mjs is one file with no dependencies. It needs Node.js 18 or later. Read it first: it is about 300 lines.

sh
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:

  • Each salted chain's 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.
  • Every round's crash point recomputes exactly from its seed and the salt.
  • Every seed hashes to the seed of the round before it. A round with seed_index 1 hashes to the commitment.
  • The oldest published seed of each chain, hashed 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.

Check the announcement

For each chain, open the ceremony announcement (all are listed below). Check three things:

  • the commitment is the same as in the public record;
  • the announcement was published before block H was mined, using the post's date, the archive snapshot or the OpenTimestamps proof;
  • salt_source is btc:block:H.

Test vectors

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_indexseedZenith (300 bps, cap 1,000,000x)other games (100 bps, cap 2,500x)
0 (commitment)c56edc51e75c6b6681107ad09424c4a582a8ad6b2c86f03b0a2e301af381b612
1ca8b3829f8c7c6d816404cf0023c5a0e0c94d20809f695cbd48da8368cdbfd9f1.631.67
2381eeb3c6d56baf95971596c7cb28678c864dcdedbb3eb0019dffef65feae26a1.811.85
36c42af268169be8c6f23ca6752bf7944a5e30f406684a5f6862251fa03fcbec31.611.64
4d80b5b60a09d908a518bc1d7923f906dd5c452b34b56bd70bb87c4d2f9a9580c1.411.44
5130482a313cdd07d8f1331ccaa144bdc08f1f69fe10cd981d27e21bb35d7381c2.402.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.

5. Ceremonies

아직 진행된 세리머니가 없습니다. 실제 머니 크래시 룸은 첫 세리머니 이후에 열립니다.

솔트 세리머니

What this does and does not prove

  • It proves that every round's result was fixed before you bet, was not picked to suit us, and is the result we paid on.
  • The room enforces that a bet is accepted only while betting is open. The crash point exists before betting opens and is never sent to anyone before the round ends.
  • It does not cover your casino's own wallet or account balance. Those are kept by the casino you play at. Every round has a round ID you can give the casino if something looks wrong.