@bisonai/orakl-vrf
v0.2.1
Published
The Orakl Network VRF
Downloads
216
Readme
Orakl Network VRF
Orakl Network VRF is based on ECVRF that was proposed at draft-irtf-cfrg-vrf-10. Orakl Network VRF is used in Orakl Network Core and Orakl Network CLI.
Basics
# prover
beta = VRF_hash(SK, alpha)
pi = VRF_prove(SK, alpha)
# verifier
beta = VRF_proof_to_hash(pi)
VRF_verify(PK, alpha, pi)
VRF_hash(SK, alpha) = VRF_proof_to_hash(VRF_prove(SK, alpha))
Installation
yarn install
Tests
yarn test
Linter
yarn lint
Publishing
@bisonai/orakl-vrf
is published through Github Actions pipeline when package version specified in package.json
changes.
Acknowledgements
Some parts of code were inspired by or copied from