Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 597 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 597 Bytes

Shuffler

Shuffler uses StarkWare's VeeDo VDF to seed a seedable RNG, and shuffle a randomisable list of items.

Beacon Contract

We use the Beacon Contract deployed on Ethereum's Rinkeby testnet to pull randomness seeds from.

Get Started

  • 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