Drand Client
Creates a client using HTTP transport with the specified base URL.
Parameters
base Url
The base URL of the drand API endpoint (default: https://api.drand.sh)
constructor(api: DrandApi, cache: Cache<String, ChainInfo> = Cache(), verifier: BeaconVerificationService = BeaconVerificationService())
Parameters
api
The underlying API implementation for network transport (default: HTTP)
cache
Thread-safe cache for storing chain information to reduce network calls
verifier
Service for cryptographic verification of beacons