-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.example
More file actions
94 lines (79 loc) · 3.96 KB
/
env.example
File metadata and controls
94 lines (79 loc) · 3.96 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
# zkLove Environment Variables
# Self Protocol - Privacy-First Identity Verification
# Copy this file to .env and fill in your actual values
# =============================================================================
# SELF PROTOCOL CONFIGURATION
# =============================================================================
# Self Protocol API Configuration
SELF_PROTOCOL_API_KEY=your_self_protocol_api_key_here
SELF_PROTOCOL_SECRET_KEY=your_self_protocol_secret_key_here
SELF_PROTOCOL_ENDPOINT=https://api.selfprotocol.com/v1
SELF_PROTOCOL_VERIFICATION_ENDPOINT=https://verification.selfprotocol.com
# Self Protocol Zero-Knowledge Proof Configuration
SELF_PROTOCOL_CIRCUIT_URL=https://circuits.selfprotocol.com/identity_verification.wasm
SELF_PROTOCOL_ZKEY_URL=https://circuits.selfprotocol.com/identity_verification_final.zkey
SELF_PROTOCOL_VERIFICATION_KEY_URL=https://circuits.selfprotocol.com/verification_key.json
# Self Protocol Privacy Settings
SELF_PROTOCOL_DATA_RETENTION_DAYS=7
SELF_PROTOCOL_ENABLE_BIOMETRIC_STORAGE=false
SELF_PROTOCOL_PRIVACY_LEVEL=enhanced
# =============================================================================
# AWS CONFIGURATION (for biometric processing)
# =============================================================================
AWS_ACCESS_KEY_ID=your_aws_access_key_here
AWS_SECRET_ACCESS_KEY=your_aws_secret_key_here
AWS_REGION=us-east-1
# =============================================================================
# BLOCKCHAIN CONFIGURATION
# =============================================================================
# Infura Configuration
INFURA_PROJECT_ID=your_infura_project_id_here
# Smart Contract Addresses
IDENTITY_VERIFICATION_CONTRACT=0x1234567890123456789012345678901234567890
MERKLE_TREE_CONTRACT=0x1234567890123456789012345678901234567890
# Self Protocol Configuration (Real API Integration)
SELF_PROTOCOL_API_KEY=your_self_protocol_api_key_here
SELF_PROTOCOL_SECRET_KEY=your_self_protocol_secret_key_here
SELF_PROTOCOL_ENDPOINT=https://api.selfprotocol.com/v1
SELF_PROTOCOL_VERIFICATION_ENDPOINT=https://verification.selfprotocol.com
SELF_PROTOCOL_PRIVACY_LEVEL=enhanced
SELF_PROTOCOL_DATA_RETENTION_DAYS=30
SELF_PROTOCOL_ENABLE_BIOMETRIC_STORAGE=false
# Self Protocol Aadhaar Integration
SELF_PROTOCOL_AADHAAR_ENABLED=true
SELF_PROTOCOL_AADHAAR_ENDPOINT=https://aadhaar.selfprotocol.com
SELF_PROTOCOL_FACE_VERIFICATION_ENABLED=true
SELF_PROTOCOL_FACE_VERIFICATION_ENDPOINT=https://face.selfprotocol.com
# =============================================================================
# IPFS STORAGE CONFIGURATION
# =============================================================================
# Pinata IPFS Configuration (Recommended)
PINATA_API_KEY=your_pinata_api_key_here
PINATA_SECRET_KEY=your_pinata_secret_key_here
# Infura IPFS Configuration (Alternative)
INFURA_IPFS_PROJECT_ID=your_infura_ipfs_project_id
INFURA_IPFS_SECRET=your_infura_ipfs_secret
# =============================================================================
# EXTERNAL ML SERVICES (Optional - for enhanced verification)
# =============================================================================
# Azure Cognitive Services
AZURE_SUBSCRIPTION_KEY=your_azure_subscription_key
AZURE_ENDPOINT=https://your-region.cognitiveservices.azure.com/
# Google Cloud Services
GOOGLE_PROJECT_ID=your_google_project_id
GOOGLE_API_KEY=your_google_api_key
# =============================================================================
# DEVELOPMENT SETTINGS
# =============================================================================
NODE_ENV=development
DEBUG_MODE=true
MOCK_SERVICES=false
# =============================================================================
# SECURITY SETTINGS
# =============================================================================
# Encryption keys (generate secure random keys for production)
ENCRYPTION_KEY=your_32_character_encryption_key_here
JWT_SECRET=your_jwt_secret_key_here
# Rate limiting
RATE_LIMIT_REQUESTS_PER_MINUTE=60
RATE_LIMIT_BURST=10