dc-configs
v0.1.45
Published
DAO.Casino configurations
Readme
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
Game - https://ropsten.etherscan.io/address/0x76acfE4A87381E6Ff1B5c68d404CD49837f53184
ERC20 - https://ropsten.etherscan.io/address/0x5D1E47F703729fc87FdB9bA5C20fE4c1b7c7bf57
Utils - https://ropsten.etherscan.io/address/0xEB1CE2Cf5f5963f2CC55250E912020379BB4663f
Platform - https://ropsten.etherscan.io/address/0xC60B670764306d47a6406aA54624a37162a71F6f
GamEngine - https://ropsten.etherscan.io/address/0xb207655F0Ad663EaFd00EcD60011f8404A82F9f7
Signidice - https://ropsten.etherscan.io/address/0x976410107BacA081a5B0C8CA47eb6F72d80ba8bc
