redstone-finance / redstone-evm-connector

A tool to inject Redstone data into evm-compatible blockchains
19 stars 4 forks source link

feat: implement VRF wrapper #31

Open hatskier opened 2 years ago

hatskier commented 2 years ago

VRF feature in redstone will be based on verifiable random function cryptography and meta-transactions. It will allow developers to use quite secure randomness in their smart contracts and improve UX for dApp users (because now VRF solutions from othr oracles require sending 2 transactions (request-response), but RedStone approach will require only one transaction)

The basic idea of the VRF wrapper logic is here: https://pastebin.com/Ta5Zhzt6