-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
227 lines (172 loc) · 6.04 KB
/
.env.example
File metadata and controls
227 lines (172 loc) · 6.04 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
# RTF Infrastructure Environment Configuration Template
# Copy this file to .env and fill in your actual values
# ===== GENERAL CONFIGURATION =====
ENVIRONMENT=development
LOG_LEVEL=info
DEBUG=false
# ===== BLOCKCHAIN NETWORKS =====
# Ethereum Configuration
ETHEREUM_RPC_URL=https://mainnet.infura.io/v3/YOUR_INFURA_KEY
ETHEREUM_PRIVATE_KEY=your_ethereum_private_key_here
ETHEREUM_CHAIN_ID=1
ETHEREUM_GAS_LIMIT=500000
ETHEREUM_GAS_PRICE=20000000000
# Solana Configuration
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
SOLANA_PRIVATE_KEY=your_solana_private_key_here
SOLANA_CLUSTER=mainnet-beta
SOLANA_COMMITMENT=confirmed
# Starknet Configuration
STARKNET_RPC_URL=https://starknet-mainnet.public.blastapi.io
STARKNET_PRIVATE_KEY=your_starknet_private_key_here
STARKNET_CHAIN_ID=SN_MAIN
# Bitcoin Configuration (via Babylon)
BITCOIN_RPC_URL=https://bitcoin-rpc.example.com
BITCOIN_PRIVATE_KEY=your_bitcoin_private_key_here
BABYLON_ENDPOINT=https://babylon-api.example.com
# Celestia Configuration
CELESTIA_RPC_URL=https://celestia-rpc.example.com
CELESTIA_AUTH_TOKEN=your_celestia_auth_token_here
CELESTIA_NAMESPACE=rtf_namespace
# Internet Computer Configuration
ICP_REPLICA_URL=https://ic0.app
ICP_IDENTITY_PEM=path/to/your/identity.pem
ICP_CANISTER_ID=your_canister_id_here
# Avalanche Configuration
AVALANCHE_RPC_URL=https://api.avax.network/ext/bc/C/rpc
AVALANCHE_PRIVATE_KEY=your_avalanche_private_key_here
AVALANCHE_CHAIN_ID=43114
# ===== ORACLE CONFIGURATION =====
# Chainlink
CHAINLINK_NODE_URL=https://chainlink-node.example.com
CHAINLINK_API_KEY=your_chainlink_api_key_here
# Pyth Network
PYTH_RPC_URL=https://api.pythnet.pyth.network
PYTH_PROGRAM_ID=FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH
# Switchboard
SWITCHBOARD_RPC_URL=https://switchboard-api.example.com
SWITCHBOARD_PROGRAM_ID=SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f
# Band Protocol
BAND_RPC_URL=https://band-api.example.com
BAND_API_KEY=your_band_api_key_here
# ===== DATABASE CONFIGURATION =====
# PostgreSQL
DATABASE_URL=postgresql://username:password@localhost:5432/rtf_db
DATABASE_MAX_CONNECTIONS=10
DATABASE_TIMEOUT_SECONDS=30
# Redis
REDIS_URL=redis://localhost:6379
REDIS_PASSWORD=your_redis_password_here
REDIS_DB=0
# ===== SECURITY CONFIGURATION =====
# JWT Configuration
JWT_SECRET=your_jwt_secret_key_here
JWT_EXPIRATION_HOURS=24
# Encryption Keys
ENCRYPTION_KEY=your_32_byte_encryption_key_here
SIGNING_KEY=your_signing_key_here
# Post-Quantum Cryptography
PQ_DILITHIUM_PRIVATE_KEY=your_dilithium_private_key_here
PQ_KYBER_PRIVATE_KEY=your_kyber_private_key_here
# ===== API CONFIGURATION =====
# External APIs
COINGECKO_API_KEY=your_coingecko_api_key_here
COINMARKETCAP_API_KEY=your_coinmarketcap_api_key_here
MESSARI_API_KEY=your_messari_api_key_here
# ESG Data Sources
ESG_API_KEY=your_esg_data_api_key_here
CARBON_TRACKER_API_KEY=your_carbon_tracker_api_key_here
SUSTAINABILITY_API_KEY=your_sustainability_api_key_here
# ===== MONITORING & OBSERVABILITY =====
# Prometheus
PROMETHEUS_ENDPOINT=http://localhost:9090
PROMETHEUS_PUSHGATEWAY=http://localhost:9091
# Grafana
GRAFANA_URL=http://localhost:3000
GRAFANA_API_KEY=your_grafana_api_key_here
# Jaeger (Distributed Tracing)
JAEGER_ENDPOINT=http://localhost:14268/api/traces
# Sentry (Error Tracking)
SENTRY_DSN=your_sentry_dsn_here
# ===== MESSAGING & COMMUNICATION =====
# Discord Webhooks
DISCORD_WEBHOOK_URL=your_discord_webhook_url_here
# Slack Integration
SLACK_WEBHOOK_URL=your_slack_webhook_url_here
SLACK_BOT_TOKEN=your_slack_bot_token_here
# Email Configuration
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USERNAME=your_smtp_username_here
SMTP_PASSWORD=your_smtp_password_here
SMTP_FROM_EMAIL=noreply@rtf-infrastructure.com
# ===== DEPLOYMENT CONFIGURATION =====
# GitHub
GITHUB_TOKEN=your_github_token_here
GITHUB_REPO=MrDecryptDecipher/Real-World-Tokenized-Fund-Infrastructure-RTF-
# Docker Registry
DOCKER_REGISTRY=your_docker_registry_here
DOCKER_USERNAME=your_docker_username_here
DOCKER_PASSWORD=your_docker_password_here
# Kubernetes
KUBECONFIG=path/to/your/kubeconfig
KUBERNETES_NAMESPACE=rtf-infrastructure
# ===== FEATURE FLAGS =====
# Core Features
ENABLE_ZKNAV=true
ENABLE_BRIDGE_DEFENSE=true
ENABLE_ESG_COMPLIANCE=true
ENABLE_MULTI_DAO_GOVERNANCE=true
# Advanced Features
ENABLE_POST_QUANTUM_CRYPTO=true
ENABLE_ZK_PROOFS=true
ENABLE_MEV_PROTECTION=true
ENABLE_FRAUD_DETECTION=true
# Experimental Features
ENABLE_AI_TREASURY=false
ENABLE_ADVANCED_ANALYTICS=false
ENABLE_CROSS_CHAIN_ARBITRAGE=false
# ===== PERFORMANCE TUNING =====
# Connection Pools
MAX_DATABASE_CONNECTIONS=20
MAX_REDIS_CONNECTIONS=10
MAX_HTTP_CONNECTIONS=100
# Timeouts
HTTP_TIMEOUT_SECONDS=30
DATABASE_TIMEOUT_SECONDS=10
BLOCKCHAIN_TIMEOUT_SECONDS=60
# Cache Configuration
CACHE_TTL_SECONDS=300
CACHE_MAX_SIZE_MB=100
# ===== COMPLIANCE & REGULATORY =====
# KYC/AML
KYC_PROVIDER_API_KEY=your_kyc_provider_api_key_here
AML_SCREENING_API_KEY=your_aml_screening_api_key_here
# Regulatory Reporting
SEC_REPORTING_ENDPOINT=https://sec-reporting.example.com
MICA_REPORTING_ENDPOINT=https://mica-reporting.example.com
AIFMD_REPORTING_ENDPOINT=https://aifmd-reporting.example.com
# ===== TESTING CONFIGURATION =====
# Test Networks
TEST_ETHEREUM_RPC_URL=https://goerli.infura.io/v3/YOUR_INFURA_KEY
TEST_SOLANA_RPC_URL=https://api.devnet.solana.com
TEST_STARKNET_RPC_URL=https://starknet-goerli.public.blastapi.io
# Test Keys (DO NOT USE IN PRODUCTION)
TEST_PRIVATE_KEY=your_test_private_key_here
TEST_MNEMONIC=your test mnemonic phrase here
# ===== BACKUP & RECOVERY =====
# Backup Configuration
BACKUP_S3_BUCKET=your_backup_s3_bucket_here
BACKUP_S3_ACCESS_KEY=your_s3_access_key_here
BACKUP_S3_SECRET_KEY=your_s3_secret_key_here
BACKUP_FREQUENCY_HOURS=24
# Recovery Configuration
RECOVERY_SEED_PHRASE=your_recovery_seed_phrase_here
RECOVERY_CONTACT_EMAIL=recovery@rtf-infrastructure.com
# ===== NOTES =====
# 1. Never commit this file with real values to version control
# 2. Use strong, unique passwords and keys
# 3. Rotate keys regularly
# 4. Use environment-specific configurations
# 5. Enable monitoring and alerting for all services
# 6. Test backup and recovery procedures regularly