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).
First download the docker-compose.yaml file.
wget https://raw.githubusercontent.com/buff-beacon-project/curby_verify/refs/heads/main/docker-compose.yamlTo run the verification of a specific round (for example round 123), run a command like this:
docker compose run --rm verify 123This 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.
First clone this repository:
git clone https://github.com/buff-beacon-project/curby_verify.gitChange 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