Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 665 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 665 Bytes

Betable Test App

This is a simple test app built on top of the Betable Node.js SDK, and the Betable frontend Javascript SDK. The game is a configurable slot machine.

Installation

npm install (from the app directory)

Configuration (Sandbox mode)

config/configs/base.js

  • Update game_id
  • Update symbols
  • Update paylines

config/configs/sandbox.js

  • Update api_key
  • Update api_secret

Start the server

NODE_ENV=production NODE_ECONOMY=sandbox node server.js

if you want to use unbacked bets use:

NODE_ENV=production NODE_ECONOMY=sandbox NODE_MODE=unbacked node server.js