dc-configs
DAO.Casino configurations
Last updated 2 years ago by altvnv .
GPL-3.0 · Original npm · Tarball · package.json
$ cnpm install dc-configs 
SYNC missed versions from official npm registry.

This repository stores configuration settings behind a minimum viable game. These settings are implemented as an interface that can be exported/imported to your game. This approach ensures that the code is edited at a single point and later reused whenever you may need it.

See the IConfig.ts file for the source code.

Global DAO.Casino Variables

Variable Description Type
process.env.DC_NETWORK Blockchain network, e.g. Ropsten, local. Supported networks are specified in blockchainnetworks.ts String
process.env.PLATFORM_ID Platform ID String
process.env.GAS_PRICE Numeric
process.env.GAS_LIMIT Numeric
process.env.PWD
process.env.HOST default is 0.0.0.0 (any local IP) Alphanumeric, IP
process.env.NODE_ENV Node name (Node.js) String (e.g., dev or production)
process.env.BABEL_ENV Compiler environment for React String (e.g., dev or production)
process.env.PORT, 10 default port e.g. 3000 for ppp
process.env.CI
process.env.ACCOUNT_PRIVATE_KEY Bankroller account private key
process.env.PUBLIC_URL URL for game access URL
process.env.GRAYLOG_HOST Host and port for logging Host:URL, PORT:port_number or function calling antoher variable (e.g. process.evn.HOST and a dedicated port for logging)

Current ropsten contracts

Current Tags

  • 0.1.45                                ...           latest (2 years ago)

30 Versions

  • 0.1.45                                ...           2 years ago
  • 0.1.44                                ...           2 years ago
  • 0.1.43                                ...           2 years ago
  • 0.1.42                                ...           2 years ago
  • 0.1.41                                ...           2 years ago
  • 0.1.39                                ...           2 years ago
  • 0.1.37                                ...           2 years ago
  • 0.1.36                                ...           2 years ago
  • 0.1.24                                ...           2 years ago
  • 0.1.23                                ...           2 years ago
  • 0.1.22                                ...           2 years ago
  • 0.1.21                                ...           2 years ago
  • 0.1.20                                ...           2 years ago
  • 0.1.19                                ...           2 years ago
  • 0.1.18                                ...           2 years ago
  • 0.1.17                                ...           2 years ago
  • 0.1.16                                ...           2 years ago
  • 0.1.15                                ...           2 years ago
  • 0.1.8                                ...           2 years ago
  • 0.1.7                                ...           2 years ago
  • 0.1.6                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 1.0.2 [deprecated]           ...           2 years ago
  • 0.3.0 [deprecated]           ...           2 years ago
  • 0.2.0 [deprecated]           ...           2 years ago
  • 1.0.0 [deprecated]           ...           2 years ago
  • 1.0.1 [deprecated]           ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 1
Last Month 2
Dependencies (1)
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |