Skip to content

Repository files navigation

Blacklight Beat

A workload monitoring service that checks active workloads and submits heartbeat transactions to the Blacklight network.

Build

cargo build --release

Run

cargo run

Or run the release binary directly:

./target/release/blacklight-beat

Docker

Build and run with Docker Compose:

docker-compose build
docker-compose up

Environment Variables

Create 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-key

Required Variables

  • RPC_URL - Ethereum RPC endpoint URL
  • PRIVATE_KEY - Private key for signing transactions
  • MANAGER_CONTRACT_ADDRESS - Address of the HeartbeatManager contract
  • SUPABASE_URL - Your Supabase project URL
  • SUPABASE_SERVICE_ROLE_KEY - Supabase service role key (for API access)

About

Monitoring non-Nillion TEE workloads and emitting HTXs to the Blacklight Network

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages