Files
aitbc/examples/env.example
aitbc 852f2e5a8a
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
Blockchain Synchronization Verification / sync-verification (push) Successful in 11s
Contract Performance Benchmarks / benchmark-gas-usage (push) Successful in 1m36s
Contract Performance Benchmarks / benchmark-execution-time (push) Successful in 1m24s
Contract Performance Benchmarks / benchmark-throughput (push) Successful in 1m25s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 2s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 5s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 3s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 3s
P2P Network Verification / p2p-verification (push) Successful in 2s
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Failing after 1m28s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 21s
Smart Contract Tests / test-foundry (push) Failing after 20s
Smart Contract Tests / lint-solidity (push) Successful in 30s
Smart Contract Tests / deploy-contracts (push) Successful in 1m40s
Systemd Sync / sync-systemd (push) Successful in 26s
Contract Performance Benchmarks / compare-benchmarks (push) Successful in 4s
Rename openclaw to hermes across documentation and workflows
- Update workflow paths from docs/openclaw to docs/hermes
- Rename skill prefixes from openclaw-* to hermes-*
- Update agent skill references in refactoring and analysis docs
- Rename OPENCLAW_AITBC_MASTERY_PLAN.md to reflect hermes branding
- Update CLI examples and command references throughout documentation
2026-05-07 11:42:06 +02:00

138 lines
3.6 KiB
Plaintext

# AITBC Global Environment Configuration Template
# Copy this file to /etc/aitbc/.env and customize for your deployment
# This file contains global configuration shared across all nodes in the island
# =========================
# Core Environment
# =========================
NODE_ENV=production
APP_ENV=production
DEBUG=false
LOG_LEVEL=INFO
# =========================
# Training Configuration
# =========================
TRAINING_MODE=true
TRAINING_STAGE=stage1_foundation
CLI_PATH=/opt/aitbc/aitbc-cli
LOG_DIR=/var/log/aitbc
WALLET_NAME=hermes-trainee
WALLET_PASSWORD=trainee123
# =========================
# Service Ports (for training library)
# =========================
EXCHANGE_PORT=8000
COORDINATOR_PORT=8001
GENESIS_NODE_PORT=8006
FOLLOWER_NODE_PORT=8007
OLLAMA_PORT=11434
# =========================
# Blockchain Core
# =========================
chain_id=ait-testnet
supported_chains=ait-testnet,ait-devnet
db_path=/var/lib/aitbc/data/chain.db
rpc_bind_host=0.0.0.0
rpc_bind_port=8006
p2p_bind_host=0.0.0.0
p2p_bind_port=7070
# =========================
# Security
# =========================
SECRET_KEY=production-secret-key-change-me-in-production
JWT_SECRET=production-jwt-secret-32-chars-long
BLOCKCHAIN_API_KEY=production-api-key-change-me
COORDINATOR_API_KEY=admin_prod_key_use_real_value
CLIENT_API_KEYS=["client_prod_key_use_real_value"]
MINER_API_KEYS=["miner_prod_key_use_real_value"]
ADMIN_API_KEYS=["admin_prod_key_use_real_value"]
HMAC_SECRET=change_this_to_a_32_byte_random_secret
# =========================
# Database
# =========================
DATABASE_URL=postgresql://aitbc:secure_password@localhost:5432/aitbc_prod
REDIS_URL=redis://localhost:6379/0
# =========================
# Monitoring
# =========================
PROMETHEUS_PORT=9090
GRAFANA_PORT=3000
MONITORING_PORT=9000
# =========================
# Paths
# =========================
BLOCKCHAIN_DATA_DIR=/var/lib/aitbc/data
BLOCKCHAIN_CONFIG_DIR=/etc/aitbc
BLOCKCHAIN_LOG_DIR=/var/log/aitbc/production
keystore_path=/var/lib/aitbc/keystore
keystore_password_file=/var/lib/aitbc/keystore/.password
# =========================
# Block Production
# =========================
enable_block_production=true
block_time_seconds=30
proposer_id=ait1ytkh0cn8v2a4zjwzyav6854832myf9j7unsse8yntmuwzst4qhtqe9hqdw
# Only propose blocks if mempool is not empty
propose_only_if_mempool_not_empty=true
# =========================
# Network Configuration
# =========================
NETWORK_ID=1337
CHAIN_ID=ait-testnet
CONSENSUS=proof_of_authority
gossip_backend=broadcast
gossip_broadcast_url=redis://localhost:6379
default_peer_rpc_url=http://127.0.0.1:8006
# =========================
# NAT Traversal (STUN/TURN)
# =========================
STUN_SERVERS=stun.l.google.com:19302,jitsi.bubuit.net:3478
TURN_SERVER=jitsi.bubuit.net:3478
# TURN_USERNAME and TURN_PASSWORD need to be configured if using TURN relay
# =========================
# Island Configuration (Federated Mesh)
# =========================
ISLAND_ID=test-island-001
ISLAND_NAME="Test Island"
IS_HUB=true
ISLAND_CHAIN_ID=ait-testnet
HUB_DISCOVERY_URL=aitbc
BRIDGE_ISLANDS=
# =========================
# API Configuration
# =========================
API_VERSION=v1
API_PREFIX=/api/v1
BLOCKCHAIN_RPC_URL=http://127.0.0.1:8006
COORDINATOR_BASE_URL=http://127.0.0.1:8000
RATE_LIMIT_REQUESTS_PER_MINUTE=1000
RATE_LIMIT_WINDOW_SECONDS=60
# =========================
# Feature Flags
# =========================
ENABLE_CACHING=true
ENABLE_METRICS=true
ENABLE_LOGGING=true
ENABLE_SECURITY_MONITORING=true
# =========================
# Training Specific
# =========================
TRAINING_TIMEOUT=300
GENESIS_NODE=http://localhost:8006
FOLLOWER_NODE=http://localhost:8007