Plinko

Plinko involves dropping a ball down a pegged pyramid. The landing slot determines the multiplier applied to the bet.

Events

Client -> Server

plinko:bet

Places a bet and drops a ball.

  • Payload:

    {
        "betAmount": 10,
        "rows": 16, // 8 to 16
        "risk": "medium", // "low", "medium", "high"
        "clientSeed": "seed" // client's seed
    }
  • Response: plinko:bet (Confirmation).

Server -> Client

plinko:pf

Emitted immediately upon receiving the bet.

  • Payload:

    {
        "serverSeedCommitment": "hash",
        "clientSeed": "seed",
        "nonce": 10
    }

plinko:fire

Signals the start of the ball drop animation.

  • Payload:

plinko:bet (Response/Confirmation)

Final result confirmation.

  • Payload:

plinko:proof

Reveals seeds after the animation duration.

  • Payload:

Last updated