37 lines
776 B
Plaintext
37 lines
776 B
Plaintext
# Application
|
|
NODE_ENV=development
|
|
PORT=3012
|
|
SERVICE_NAME=blockchain-service
|
|
|
|
# Database
|
|
DATABASE_URL=postgresql://rwa:rwa_password@localhost:5432/rwa_blockchain?schema=public
|
|
|
|
# Redis
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_DB=11
|
|
REDIS_PASSWORD=
|
|
|
|
# Kafka
|
|
KAFKA_BROKERS=localhost:9092
|
|
KAFKA_CLIENT_ID=blockchain-service
|
|
KAFKA_GROUP_ID=blockchain-service-group
|
|
|
|
# Blockchain - KAVA (EVM)
|
|
KAVA_RPC_URL=https://evm.kava.io
|
|
KAVA_CHAIN_ID=2222
|
|
KAVA_USDT_CONTRACT=0x919C1c267BC06a7039e03fcc2eF738525769109c
|
|
|
|
# Blockchain - BSC
|
|
BSC_RPC_URL=https://bsc-dataseed.binance.org
|
|
BSC_CHAIN_ID=56
|
|
BSC_USDT_CONTRACT=0x55d398326f99059fF775485246999027B3197955
|
|
|
|
# Block Scanner
|
|
BLOCK_SCAN_INTERVAL_MS=5000
|
|
BLOCK_CONFIRMATIONS_REQUIRED=12
|
|
BLOCK_SCAN_BATCH_SIZE=100
|
|
|
|
# Logging
|
|
LOG_LEVEL=debug
|