Shuffler uses StarkWare's VeeDo VDF to seed a seedable RNG, and shuffle a randomisable list of items.
We use the Beacon Contract deployed on Ethereum's Rinkeby testnet to pull randomness seeds from.
- Environment variables (file
.env
)
export PROVIDER_WSS_URL=wss://ropsten.infura.io/ws/v3/xyz
export PRIVATE_KEY=abc
- Compile, source the secrets and run
$ cargo build
$ source .env
$ ./target/debug/shuffler