Solve an instance of this VDF, with challenge challenge and difficulty difficulty.
An opaque byte string of arbitrary length
The number of iterations (difficulty level)
Optionaldiscriminant: bigintThe proof as a Uint8Array
Verifies an alleged solution of this VDF.
The challenge used to generate the proof
The number of iterations used
The proof to verify
Optionaldiscriminant: bigint
A Verifiable Delay Function (VDF).
VDFs are problems that require a certain amount of time to solve, even on a parallel machine, but can be validated much more easily.