/
v3.0.11Get access
By SoftConstruct · v3.0.11 · typed & real-time

Ship a full iGaming platform in weeks, not years.

One typed, real-time SDK for sportsbook, casino, content and payments — in React, Flutter and JavaScript. Open one session, then build betting, live odds, game lobbies, promotions and cashouts.

Works withReactFlutterVanilla JS
$npm i @softconstruct/betchain-core-client
3 SDK surfaces0+ methods∞ real-time streams
SDK surfaces

Everything you need, in one SDK.

Sportsbook, casino, content and payments — one typed React package, one WebSocket session, one integration.

283 methods

Sportsbook

The sportsbook core, in real time.

  • Live odds, scores & markets
  • Betting, settlement & cashout
  • Player accounts & 2FA
  • Responsible-gaming limits
Explore Sportsbook
45 methods

Casino

Game catalog, jackpots and tournaments.

  • Providers & categories
  • Game launch & activity data
  • Jackpot pools
  • Tournament leaderboards
Explore Casino
19 methods

Content / CMS

Omnichannel content and promotions.

  • Menus, banners & popups
  • Promotions, bonuses & loyalty
  • SEO-ready content structures
  • Dynamic forms & notifications
Explore Content / CMS
Banking & balances

Payments

Deposits, withdrawals and banking, built in.

  • Deposit & withdrawal flows
  • Balances & banking
  • Payment settings per platform
  • Bonus & loyalty conversions
Explore Payments
Project scaffolding

One command. Running app.

--ui-kit scaffolds a production-wired React app — session and auth contexts, a CMS-driven side menu and banner, live sport and casino sections, and the .npmrc it installs through. Pick a template and watch the preview.

Live preview — Mixed template--template mixed
localhost:5173live
BBetChain
Invest BookIn Play302SportLive CasinoGamesTV Games
Sign inSign up
BetChain Core sportsbook and casino app preview
Live Now10 matches
FootballLaLigaReal Madrid19/0922:00VSFC BarcelonaW12.21DRAW3.41W22.6
FootballPremier LeagueMan City19/0919:30VSLiverpoolW11.9DRAW3.34W23.93
FootballBundesligaBayern München19/0918:30VSDortmundW11.5DRAW4.4W25.2
FootballSerie AJuventus19/0920:45VSInterW12.6DRAW3.1W22.8
FootballLigue 1PSG19/0921:00VSMarseilleW11.45DRAW4.6W26.1
Upcoming matches
AllFootballTennis
Football
Germany, Regionalliga NorthW1XW2Hamburger SV IISt. Pauli II14:00, 16.09.20262.423.572.46
Italy, Serie DW1XW2ASD GelbisonBudoni Calcio14:00, 16.09.20261.63.535.2
Asia, AFC Champions League TwoW1XW2FC SeoulPersib Bandung14:00, 16.09.20262.013.453.2
Asia, Asian GamesW1XW2China U23Korea DPR U2314:00, 16.09.20262.152.973.35
Roulette
Lucky 6 RoulettePragmatic Play LiveMega Roulette 3000Pragmatic Play LiveChrono Roulette DefneKiss Live CasinoKiss Roulette AI CharlieKiss Live CasinoEvra RouletteKiss Live Casino
Baccarat
Thai Baccarat 1Pragmatic Play LiveHi-Lo BaccaratPragmatic Play LiveCantonese Speed BaccaratPragmatic Play LiveBig Small BaccaratPragmatic Play LiveAmazing BaccaratPragmatic Play Live
Skill Games
Jacks or BetterPopOK GamingChicky ChoicePopOK GamingFruit XPopOK GamingAviPopOK GamingAndar Bahar ExtraPopOK Gaming
Tournaments5 activeSee all
#1OngoingCreedRoomz310,457.69HNL Prize Pool 19:59, 16.09.2026 46,686#2OngoingKiss Gaming186,274.61HNL Prize Pool 19:59, 16.09.2026 77,917#3OngoingKiss Gaming Crash62,091.54HNL Prize Pool 19:59, 16.09.2026 17,589#4OngoingPascal Gaming46,568.65HNL Prize Pool 13:59, 16.09.2026 248,341#5OngoingPopOK Gaming31,045.77HNL Prize Pool 19:59, 16.09.2026 79,739
01 — Run
~/projects — zsh
▌
One command2 prompts3App ready
02 — Pre-wired · Mixed template
my-app/11 files ready
useInitSDK session + CMS initsrc/helpers/hooks/useInitSocketConnection.ts
Connection state + gatessrc/contexts/session
restoreLogin + persistencesrc/contexts/auth
getMenus + live games badgesrc/sections/leftMenu/navigation
getBanner CMS slidessrc/sections/banner
login + registerUser formssrc/sections/popups/auth
subscribeToOutrightGameEventsWithSportsrc/sections/sport/classic/topEvents
subscribeToSportsOnly + upcoming gamessrc/sections/sport/classic/upcomingEvents
getCasinoGamesByView rowssrc/sections/casino/casinoRows
getTournamentList + availabilitysrc/components/tournaments
.npmrc + .env.example.npmrc
✦ MCP + Skill — live

Your AI copilot: an MCP and a Skill.

Two tools, one job — turn “build me a betslip” into correct, idiomatic BetChain code. The Skill knows how to build; the MCP knows the exact, current SDK.

MCP · live reference

BetChain MCP

Knows the SDK. Always current.

  • Every SDK method, type and parameter
  • Where each value comes from — no invented ids
  • Trained on a full production platform
  • Plugs into any agent over the MCP protocol
Skill · build playbook

BetChain Skill

Builds the BetChain way.

  • Conventions and gotchas baked in
  • Idiomatic hooks and hasError handling
  • Recipes: betslip, live odds, casino, CMS
  • Works in Claude Code, Cursor and your agents
Real-time, by design

Live data, streamed to your components.

Subscribe once with useSwarmSubscription and your UI updates in place as the platform pushes odds, scores and jackpots. No polling, no boilerplate.

Automatic reconnectDrops and reconnects without losing subscriptions — handled for you.
Push, not pollingData arrives over the WebSocket the moment it changes on the platform.
Typed responsesEvery stream is fully typed, with autocomplete on every field.
Architecture

Five hooks, every method

App initialization, at your application root, before any other hook.
.ts
1import { useInitSDK } from '@softconstruct/betchain-core-client/hooks';2 3const useBetchainSession = () => {4  useInitSDK({5    version: 2,6    source: 42,7    platform: 'desktop',8    siteId: 18749451,9    language: 'eng',10    releaseDate: '2024-01-01',11    apiUrl: 'https://cms-api.your-host.com',12    socketUrl: 'wss://eu-swarm-newm.betcoswarm.com',13    onSessionSuccess: (response) => {14      console.log('Session ready', response.data);15    },16    onSessionError: ({ message }) => {17      console.error('Session failed', message);18    }19  });20};
Why teams choose BetChain Core

Built for teams that ship fast.

Faster time to market

Launch a complete iGaming platform in weeks, not quarters. Scaffold, configure, ship.

One integration, full breadth

Sportsbook, casino, content and payments from a single typed package and one WebSocket session.

Compliance built in

Responsible-gaming limits, session controls and self-exclusion flows ship with the SDK.

Omnichannel, one codebase

The same hooks power web, mobile and native apps. Build once, deploy everywhere.

Start building your iGaming platform today.

One npm install. Three SDK surfaces. Full iGaming breadth — sportsbook, casino, content and payments — in a single typed React package.

$npm i @softconstruct/betchain-core-client