-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathexample.env
More file actions
28 lines (20 loc) · 881 Bytes
/
example.env
File metadata and controls
28 lines (20 loc) · 881 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
# P2P PubSub Environment Configuration
# Copy this file to .env and fill in your values
# Required: Your Solana wallet private key (Base58 encoded)
# Get this from your Solana wallet (e.g., Phantom, Solflare)
WALLET_PRIVATE_KEY=your_base58_encoded_solana_private_key_here
# Optional: Custom database name (default: "depin-network")
DATABASE_NAME=depin-network
# Optional: Custom listen ports
QUIC_PORT=4001
TCP_PORT=4002
# Optional: HTTP API server port
HTTP_PORT=8080
# Optional: Log level (debug, info, warn, error)
LOG_LEVEL=info
# Optional: Enable debug logging for p2p operations (true/false)
DEBUG=false
# Optional: Solana RPC endpoint for registry queries
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
# Example test wallet (DO NOT use in production):
# WALLET_PRIVATE_KEY=E5EF1CtDdWebW32J8SzyR8y6kbmEfLFA3CjyjRBcTBj6Cq462QNqieD9EoMHRo2LgDHZbge8m2SEyvMfCzkTvBD