<script>; we handle engine, RNG, matchmaking and settlement.<script>; nós cuidamos de engine, RNG, matchmaking e liquidação.
integrity. A deploy of ours never breaks you.integrity publicado. Um deploy nosso nunca quebra você.
wallet.settlement netPOST /v1/sessions → gets a launchToken.POST /v1/sessions → recebe um launchToken.
Guessiano.mount('#el', { apiUrl, launchToken }). <canvas>.<canvas>.
wallet.settlement and apply the result to your wallet.wallet.settlement e aplica o resultado na sua carteira.
<!-- pin a version + integrity (SRI) --> <div id="guessiano"></div> <script src="https://cdn.your-domain.com/sdk/1.0.0/guessiano.umd.js" integrity="sha384-…" crossorigin="anonymous"></script> <script> const game = await Guessiano.mount('#guessiano', { apiUrl: 'https://api.your-domain.com', launchToken: '<token from your backend>', }); // seamless: apply the result to your wallet game.on('wallet.settlement', (e) => settle(e.payload)); </script>
POST /v1/sessions you send the player balance and the bet. At the end we emit wallet.settlement with net/payout/outcome and you credit/debit your wallet. The game screen already shows the updated balance. Details in the docs.POST /v1/sessions você envia o saldo do jogador e a aposta. Ao fim emitimos wallet.settlement com net/payout/outcome e você credita/debita na sua carteira. A tela do jogo já mostra o saldo atualizado. Detalhes na documentação.