0.1.45 • Published 7 years ago

dc-configs v0.1.45

Weekly downloads
1
License
GPL-3.0
Repository
-
Last release
7 years ago

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

VariableDescriptionType
process.env.DC_NETWORKBlockchain network, e.g. Ropsten, local. Supported networks are specified in blockchainnetworks.tsString
process.env.PLATFORM_IDPlatform IDString
process.env.GAS_PRICENumeric
process.env.GAS_LIMITNumeric
process.env.PWD
process.env.HOSTdefault is 0.0.0.0 (any local IP)Alphanumeric, IP
process.env.NODE_ENVNode name (Node.js)String (e.g., dev or production)
process.env.BABEL_ENVCompiler environment for ReactString (e.g., dev or production)
process.env.PORT, 10default porte.g. 3000 for ppp
process.env.CI
process.env.ACCOUNT_PRIVATE_KEYBankroller account private key
process.env.PUBLIC_URLURL for game accessURL
process.env.GRAYLOG_HOSTHost and port for loggingHost:URL, PORT:port_number or function calling antoher variable (e.g. process.evn.HOST and a dedicated port for logging)

Current ropsten contracts

0.1.45

7 years ago

0.1.44

7 years ago

0.1.43

7 years ago

0.1.42

7 years ago

0.1.41

7 years ago

0.1.39

7 years ago

0.1.37

7 years ago

0.1.36

7 years ago

0.1.24

7 years ago

0.1.23

7 years ago

0.1.22

7 years ago

0.1.21

7 years ago

0.1.20

7 years ago

0.1.19

7 years ago

0.1.18

7 years ago

0.1.17

7 years ago

0.1.16

7 years ago

0.1.15

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.4

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

1.0.2

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

1.0.0

7 years ago

1.0.1

7 years ago