Configuration & Running
Prerequisites
Environment variables (example .env)
.env)# Single Network Mode
NETWORK=arbitrum-sepolia
# Multi-Network Mode
NETWORKS=arbitrum-sepolia,arbitrum-one
# Required API Keys
ARBISCAN_KEY=your_arbiscan_api_key
ALCHEMY_API_KEY=your_alchemy_api_key
# Blockchain WebSocket URL (optional override)
WS_ARBITRUM_SEPOLIA_URL=wss://sepolia-rollup.arbitrum.io/ws
# Database config
MONGODB_URI=mongodb://localhost:27017/smartcache
DATABASE_NAME=smartcache
# App config
NODE_ENV=development
LOG_LEVEL=info
PORT=4000
# Optional for bidding
PRIVATE_KEY=0xyourprivatekeyhereInstall & Run
Testing
Last updated