Menu

Get started

Quick start

From a new account to a first played round, in seven steps.

1. Set up a Sandbox environment

  1. 1

    Sign up and log in to the back office.

    You start in Sandbox.

  2. 2

    Create an API key.

    Save its private key on your server. We keep only the public key.

  3. 3

    Create an environment.

    Give it a name and your server address. Do it in the back office, or with environment.create.

  4. 4

    Build your five wallet calls and the session.closed address.

    Check our signature with our public key.

  5. 5

    Run the wallet test run.

    We call your wallet and check each rule. The back office shows pass or fail for each.

If a check fails, you see one of these: “No answer from your server”, “Your server refused our signature”, the two answers side by side when your wallet does the same transactionId twice, or the time it took when your wallet is slower than 5 seconds.

2. Pull the games

Your server calls games.list and maps each gameId to its lobby.

3. Start a session

A player taps a game. Your server calls session.start. You get a sessionId and a game link.

4. Open the game

Your web site shows the game link in an iframe or as a full page. An iOS or Android app shows it in a web view. See Game client.

5. Play rounds

Our server calls wallet.stake, then wallet.win or wallet.loss, for every round.

6. Close the session

Your server calls session.close when the player logs out or leaves. We send session.closed for every close, yours too.

7. Go live

All wallet checks pass in one Sandbox environment. Then you ask for Live in the back office. See Sandbox and Live.