A workload monitoring service that checks active workloads and submits heartbeat transactions to the Blacklight network.
cargo build --releasecargo runOr run the release binary directly:
./target/release/blacklight-beatBuild and run with Docker Compose:
docker-compose build
docker-compose upCreate a .env file in the project root with the following variables:
# Blacklight Configuration
RPC_URL=https://your-blacklight-rpc-endpoint #can be local, testnet, mainnet
PRIVATE_KEY=0x...
MANAGER_CONTRACT_ADDRESS=0x...
# Supabase Configuration
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_SERVICE_ROLE_KEY=your-service-role-keyRPC_URL- Ethereum RPC endpoint URLPRIVATE_KEY- Private key for signing transactionsMANAGER_CONTRACT_ADDRESS- Address of the HeartbeatManager contractSUPABASE_URL- Your Supabase project URLSUPABASE_SERVICE_ROLE_KEY- Supabase service role key (for API access)