A verifiable random-number API anchored to the QuantumWing validator network. Every number ships with an ECVRF proof and a post-quantum Dilithium signature — so a verifier can check the inputs, proofs and attestation against trusted service keys and a configured beacon.
This demo asks the server to check the result. For a separate check, use qwrng-verify with trusted keys and your original API request.
Each draw folds in the epoch's RANDAO beacon, produced by the QuantumWing validators via commit-reveal. The verifier compares this value with its configured beacon. The demo uses an already available epoch.
The output is the unique verifiable-random function of the input. Authenticated API callers fix the request ID and epoch before generation. The verifier binds the response to that saved request.
An ML-DSA-65 signature authenticates the result under a pinned service key. It does not prove when inputs were committed or that no other requests were made.
# Save request.json with min, max, count, a caller-generated 16-byte # request_id (lowercase hex), and an epoch obtained from /v1/health. curl -X POST https://rng.quantumwing.io/v1/random \ -H "Authorization: Bearer qw_live_…" \ -H "Content-Type: application/json" \ -d @request.json -o result.json # Separate verifier: trusted-keys.json is obtained and pinned separately. qwrng-verify --keys trusted-keys.json --request request.json \ --result result.json --beacon https://your-trusted-beacon.example