Introduction
Last updated
Last updated
The THNDR SDK is a gaming suite with peer to peer wagering games. It can be embedded onto other websites via an iframe and the
The enables secure communication between a parent website and an embedded iframe. It provides an easy way to handle operations like token authentication, and balance retrieval, facilitating seamless interactions between the two contexts. The SDK uses the postMessage
API to ensure secure message passing between the parent and the iframe.
iframe: A HTML element used to embed another HTML page within the parent page.
postMessage API: Allows secure cross-origin communication between a parent window and an iframe.
Configure SDK – Integrate the THNDR SDK for secure iframe communication
Authenticate Users – Generate an authentication token when users open the THNDR iframe.
Debit & Credit Users – Implement endpoints to manage user balance changes based on match outcomes.
Go Live – Verify configurations and follow a checklist for a secure production launch.