forked from energywebfoundation/origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
69 lines (57 loc) · 2.4 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# ------- REQUIRED --------- #
MODE=dev
# URLs
# You can add multiple WEB3 nodes, separated by a semilcolon ';'. e.g. WEB3=http://localhost:8545;http://localhost:8550
WEB3=http://localhost:8545
BACKEND_URL=http://localhost
BACKEND_PORT=3030
UI_BASE_URL=http://localhost:3000
ENERGY_API_BASE_URL=http://localhost:3032
BLOCKCHAIN_EXPLORER_URL=https://volta-explorer.energyweb.org
# UI features disabled
# You can disable multiple features, separating them by a semilcolon ';'
DISABLED_UI_FEATURES=IRecConnect;DevicesImport;IRecUIApp;CertificatesImport
# Secret keys
DEPLOY_KEY=d9066ff9f753a1898709b568119055660a77d9aae4d7a4ad677b8fb3d2a571e5
# JWT
JWT_SECRET=thishastobesecret13213
# JWT Expiry Time in format https://github.com/zeit/ms
JWT_EXPIRY_TIME=7 days
# ------- OPTIONAL ------- #
GOOGLE_MAPS_API_KEY=<API_KEY>
# Needed for automated e-mail notifications
# MANDRILL_API_KEY - API key generated by mandrill.com
MANDRILL_API_KEY=<API_KEY>
# EMAIL_FROM - E-mail from which you want to send email addresses
# EMAIL_REPLY_TO - E-mail to which we the users would be able to reply
EMAIL_FROM_NAME=Energy Web Origin
SOLAR_SIMULATOR_DEPLOY_PAST_READINGS=false
SOLAR_SIMULATOR_PAST_READINGS_MINUTES_INTERVAL=60
REGISTRATION_MESSAGE_TO_SIGN=I register as Origin user
# --- EXCHANGE --- #
# Thailand utc offset by default
MARKET_UTC_OFFSET=420
# Private key of the account used to deploy users accounts
EXCHANGE_ACCOUNT_DEPLOYER_PRIV=0xd9066ff9f753a1898709b568119055660a77d9aae4d7a4ad677b8fb3d2a571e5
# Public key of the exchange wallet
EXCHANGE_WALLET_PUB=0xD173313A51f8fc37BcF67569b463abd89d81844f
# Private key of the exchange wallet
EXCHANGE_WALLET_PRIV=0xd9066ff9f753a1898709b568119055660a77d9aae4d7a4ad677b8fb3d2a571e5
# Dictates how often the matching engine will trigger
EXCHANGE_MATCHING_INTERVAL=1000
# Minimum amount of EWT that the withdrawal wallet needs to have. Default = 1
EXCHANGE_WALLET_MIN_EWT=1
# Issuer ID type
ISSUER_ID=Issuer ID
# Smart Meter Readings type
SMART_METER_ID=Smart Meter Readings API ID
# Price strategy; check @energyweb/exchange-core/PriceStrategy enum for values
EXCHANGE_PRICE_STRATEGY=0
# Possible options: GRID_OPERATOR and LOCATION, should be comma separated
DEVICE_PROPERTIES_ENABLED=GRID_OPERATOR,LOCATION
# Amount of energy in single certificate
ENERGY_PER_UNIT=1000000
DEFAULT_ENERGY_IN_BASE_UNIT=1
IREC_API_URL=http://example.com