forked from cryptuon/datamgmtnode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (27 loc) · 901 Bytes
/
.env.example
File metadata and controls
34 lines (27 loc) · 901 Bytes
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
# DataMgmt Node Configuration
# Copy this file to .env and fill in your values
# Security Configuration
# IMPORTANT: Set a strong master password to protect encryption keys at rest
KEY_MASTER_PASSWORD=your-strong-master-password-here
# Blockchain Configuration
BLOCKCHAIN_TYPE=evm
BLOCKCHAIN_URL=https://mainnet.infura.io/v3/YOUR-PROJECT-ID
PRIVATE_KEY=your_private_key_here
NATIVE_TOKEN_ADDRESS=0x0000000000000000000000000000000000000000
# Storage Configuration
DB_PATH=./data/nodedb
SQLITE_DB_PATH=./data/sqlite.db
CONTRACTS_DIR=./contracts
# P2P Network Configuration
P2P_PORT=8000
INITIAL_PEERS=http://peer1.example.com,http://peer2.example.com
# Node Identity
NODE_ID=node1
NODE_SIGNATURE=your_node_signature_here
# Plugin Configuration
PLUGIN_DIR=./plugins
# API Configuration (optional)
INTERNAL_API_HOST=localhost
INTERNAL_API_PORT=8080
EXTERNAL_API_HOST=0.0.0.0
EXTERNAL_API_PORT=8081