Pyth Entropy has officially launched on the EVM networks, offering a solution for random number generation (RNG) commonly used by blockchain applications, such as games, non-fungible tokens (NFT) drops, and decentralized prediction markets, which require a reliable source of randomness to ensure fair and unpredictable outcomes.
The protocol leverages a two-party commit-reveal mechanism, a cryptographic technique that allows for the generation of random numbers without the need for mutual trust. During the period called the “Commitment Phase”, each party generates a secret random number, hashes it, and commits the hash to the blockchain. In the “Reveal Phase”, the numbers are disclosed and verified against the committed hashes, with the final RNG obtained by hashing the two revealed numbers together.
Pyth Entropy’s design includes an upfront commitment to multiple random numbers, reducing transaction requirements, and incorporates the chain’s blockhash to enhance randomness. According to the announcement, its security is comparable to other RNG methods like Chainlink’s VRF.
Developers can integrate Pyth Entropy with minimal coding effort, and its pull design, akin to Pythnet Price Feeds, allows for communication over HTTP rather than the blockchain, significantly increasing transaction speed. The protocol is already being used by FLAP and Fungible Flip, two applications from Blast blockchain, and SlashToken, from Chiliz Chain.