Variable name | Example value | Description | Required |
---|---|---|---|
PORT
3000
Port to run the app
NO
LOG_LEVEL
standard
Set log level. Available modes are ( none, standard, debug ). Logs are also saved in logs.txt file
NO
ADMIN_EMAIL
admin@admin.com
Admin e-mail address
YES
ADMIN_PASSWORD
password
Admin password
YES
JWT_SECRET
jwtsecretstring
JSON Web Token(JWT) secret phrase for authorisation encryption
YES
JWT_VALID_TIME
1h
Time period after which JSON Web Token expires - default is 24h. Value should be compliant with this format
NO
DB_KEY
supplierAPI
SQLite database key
NO
DB_PATH
./db.sqlite3
Relative path to the SQLite database
YES
BLOCKCHAIN_SEED
auto deposit have lake easy minute donkey solution okay account utility lady unusual actual idle
Supplier wallet backup phrase
YES
BLOCKCHAIN_NODE_URL
URL to the Skey Network public blockchain node
YES
BLOCKCHAIN_CHAIN_ID
T
Chain ID of Skey Network blockchain
YES
SUPPLIER_URL
IoT Platform API URL
YES
SUPPLIER_API_KEY
iotexamplekey
IoT Platform API key
NO
FAUCET_DEVICE
10000000
Number of Skeylets to transfer to created device
NO
FAUCET_USER
10000000
Number of Skeylets to transfer to created user
NO
KEY_MIN_DURATION
3600000
Minimal time in milliseconds for which created Skey Network Keys can be valid - default is 1 hour
NO
ENCRYPTION_SALT
examplesalt123
Salt phrase used to encrypt saved account seeds when creating blockchain accounts
YES
ENCRYPTION_IV
0d8fa75738410842
Initialisation Vector(IV) used to encrypt saved account seeds when creating blockchain accounts
YES
DEVICE_SCHEMA_VERSION
1.0
Version of device address schema (saved on the blockchain)
NO
CORS_ORIGIN
CORS origin link - default is “*”
NO