Implement bet sharing functionality in your custom adapter to allow users to share their bets with other Virtual Stadium users.
To integrate bet sharing with Virtual Stadium:
Register your adapter with the global SIR function, ensuring only one adapter is registered per page load.
Implement the tickets endpoint.
Retrieve the user's tickets from your system, filtering by events or excluding previously shared tickets as needed.
The widgets will call tickets endpoint when users interact with bet sharing features.
Backend: Implement the tickets endpoint handler
For an implementation example with step-by-step guidance, see the Adapter Tickets Endpoint Example.
Frontend: Enable the Copy Bet Button widget
To allow users to interact with and copy bets in the UI, see the Copy Bet Button documentation.