0.1.45 • Published 5 years ago

dc-configs v0.1.45

Weekly downloads
1
License
GPL-3.0
Repository
-
Last release
5 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

5 years ago

0.1.44

5 years ago

0.1.43

5 years ago

0.1.42

5 years ago

0.1.41

5 years ago

0.1.39

5 years ago

0.1.37

5 years ago

0.1.36

5 years ago

0.1.24

5 years ago

0.1.23

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.4

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

1.0.2

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

1.0.0

6 years ago

1.0.1

6 years ago