-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
72 lines (61 loc) · 2.85 KB
/
.env.example
File metadata and controls
72 lines (61 loc) · 2.85 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
# Application Settings
# ------------------------------------------------------------------------------
# Secret key for cryptographic operations (e.g., signing JWT tokens)
# Generate using: python -c "import secrets; print(secrets.token_hex(32))"
# Required for JWT token signing if using token-based auth
SECRET_KEY=your-secret-key-here
# Debug mode toggle (set to "True" for development, "False" for production)
DEBUG=True
# Application host and port
HOST=0.0.0.0
PORT=8000
# ------------------------------------------------------------------------------
# Database Settings (PostgreSQL with PostGIS)
# ------------------------------------------------------------------------------
# Format: postgresql+asyncpg://USER:PASSWORD@HOST:PORT/DB_NAME
# Note: Ensure PostGIS extension is enabled on the database
# Default SRID: 4326 (WGS 84)
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/astral_api
# Alternatively, define individual parameters if needed:
DB_USER=postgres
DB_PASSWORD=postgres
DB_HOST=localhost
DB_PORT=5432
DB_NAME=astral_api
# ------------------------------------------------------------------------------
# EAS Integration Settings
# ------------------------------------------------------------------------------
# EAS Schema UID (consistent across networks)
EAS_SCHEMA_UID=0xba4171c92572b1e4f241d044c32cdf083be9fd946b8766977558ca6378c824e2
# Network-specific EAS GraphQL endpoints
# Celo Mainnet (42220)
EAS_CELO_GRAPHQL_URL=https://celo.easscan.org/graphql
# Arbitrum One (42161)
EAS_ARBITRUM_GRAPHQL_URL=https://arbitrum.easscan.org/graphql
# Sepolia Testnet (11155111)
EAS_SEPOLIA_GRAPHQL_URL=https://sepolia.easscan.org/graphql
# Base Mainnet (8453)
EAS_BASE_GRAPHQL_URL=https://base.easscan.org/graphql
# Network-specific RPC endpoints
# Celo Mainnet (42220)
CELO_RPC_URL=https://celo-mainnet.infura.io/v3/${INFURA_API_KEY}
# Arbitrum One (42161)
ARBITRUM_RPC_URL=https://arbitrum-mainnet.infura.io/v3/${INFURA_API_KEY}
# Sepolia Testnet (11155111)
SEPOLIA_RPC_URL=https://sepolia.infura.io/v3/${INFURA_API_KEY}
# Base Mainnet (8453)
BASE_RPC_URL=https://base-mainnet.infura.io/v3/${INFURA_API_KEY}
# Polling interval for EAS integration in seconds (e.g., 60 for one minute)
EAS_POLLING_INTERVAL=60
# ------------------------------------------------------------------------------
# Web3 and Blockchain Settings
# ------------------------------------------------------------------------------
# Infura API key for Ethereum network (if applicable)
INFURA_API_KEY=your-infura-api-key
# Default blockchain network for attestations (e.g., sepolia, celo, base, arb1)
DEFAULT_CHAIN=sepolia
# ------------------------------------------------------------------------------
# Additional Optional Settings
# ------------------------------------------------------------------------------
# Specify additional logging level (e.g., DEBUG, INFO, WARNING, ERROR)
LOG_LEVEL=DEBUG