Light-weighted Manipulation-proof Random Number Generator for smartBCH

A comparison of RNGs

VDF (verifiable delay function) and the commit-reveal scheme are two widely used mechanisms for RNG.

How we implement the VRF+Enclave RNG

The source code implementing the VRF+Enclave RNG is already opensourced. The code is short and easy to understand. Here we just want to highlight some key points.

Conclusion

Building a random number generator using the VRF+Enclave mechanism has several advantages. So we implement it as in the enclave-vrf repo, and plan to deploy it on smartBCH in the near future.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
smartBCH

smartBCH

Maximize throughput of EVM & Web3 on a sidechain of Bitcoin Cash