Skip to content

buff-beacon-project/curby_verify

Repository files navigation

CURBy Verifier and DIRNG analysis

This repository holds the software used to verify randomness from CURBy according to the Device-independent randomness generation protocol.

To perform a verification of a given CURBy-Q round, you will first need docker and docker-compose installed. (You can also use other container managers like podman).

Verification

First download the docker-compose.yaml file.

wget https://raw.githubusercontent.com/buff-beacon-project/curby_verify/refs/heads/main/docker-compose.yaml

To run the verification of a specific round (for example round 123), run a command like this:

docker compose run --rm verify 123

This will temporarily boot up the extractor server, and use the CURBy JS Library to fetch and verify the necessary data. Then it will run the raw data through the extractor and ensure the output matches what was reported.

The index.ts file also serves as a demonstration of how to use the CURBy Library to fetch randomness data.

Development

First clone this repository:

git clone https://github.com/buff-beacon-project/curby_verify.git

Change the docker-compose.yaml

Then build, using docker compose:

docker compose -f docker-compose.local.yaml build
docker compose -f docker-compose.local.yaml run verify 123

About

Docker image to verify the quantum randomness generated by CURBy-Q

Topics

Resources

Stars

Watchers

Forks

Contributors