DrandVerifier00

what's DrandVerifier?

DrandVerifier is a suite of Solidity smart contracts designed for verifying signatures from drand distributed randomness beacons on Pectra-enabled EVM chains. It leverages BLS12-381 precompiles to provide stateless, on-chain verification of randomness, supporting both the Quicknet network (G1 signatures with 3-second rounds) and the Default network (G2 chained signatures with 30-second rounds). The implementation includes internal libraries like DrandVerifierQuicknet and DrandVerifierDefault, deployable oracle contracts, and utilities for safe verification, normalized randomness hashing, and parsing raw drand API responses. This free, open-source alternative to paid VRF services like Chainlink emphasizes public verifiability without privileged oracles or off-chain infrastructure. Users supply round numbers and signatures (copy-pasted from drand endpoints), and contracts confirm validity and derive consistent entropy. Comprehensive tests cover unit cases, fuzzing, and live drand integration, with no built-in replay protection—requiring implementation in consuming contracts for freshness.

Snapshot

DrandVerifier is EVM smart contracts for decentralized randomness using drand crypto and Pectra BLS precompiles.

5H ago
TECH EVENT

Published as a suite of EVM smart contracts providing decentralized randomness using drand's threshold cryptography, supporting both quicknet and default BLS networks, and utilizing BLS precompiles shipped in Pectra.