Pyth Entropy
- Name: Pyth Entropy
- URL: https://docs.pyth.network/entropy
- Category: randomness delivery middleware / provider-mediated commit-reveal RNG / callback-based oracle service
- Tags: ethereum-ecosystem
- Summary: Pyth Entropy is not just another
randomness oracleand not just a sidecar to Pyth Network. The useful layer is provider-controlled reveal delivery. Providers precommit hash-chain outputs, apps request sequence slots, later reveals are verified onchain, and EVM consumers receive results through callbacks. Entropy v2 makes the operational knobs unusually explicit: default versus custom provider choice, default versus custom callback gas limits, fee lookup per request, callback-status tracking, and manualrevealWithCallback()recovery. That makes this note useful as a control-surface comparison, not just a randomness-quality note. - What it does:
- Provides onchain applications with verifiable randomness through a provider-mediated commit-reveal flow rather than a local PRNG or opaque backend API
- Uses provider-side hash-chain commitments and sequence-numbered requests so later reveals can be checked against prior commitments onchain
- Combines provider entropy with user-side entropy and returns the result through a callback flow
- Lets integrators choose default or custom providers, explicit or implicit user entropy paths, and callback gas limits on EVM
- Exposes debugging and recovery surfaces including callback-status tracking and manual
revealWithCallback()retries when delivery fails
- Key claims:
- The protocol-design docs make the main mechanism plain: a provider commits a hash chain, users request the next sequence slot, and the provider later reveals the corresponding value after a chain-specific delay.
- That is analytically more useful than filing Entropy as a generic VRF analogue because the real chokepoints are provider reveal liveness, hash-chain custody, and callback completion.
- The EVM v2 interface is the sharpest part of the note because it exposes multiple request paths instead of one flattened
give me randomnesscall. Provider selection, user contribution, and callback gas are first-class choices. - The simplest
requestV2()path is weaker than it looks. The interface comments say it uses an in-contract PRNG for the user contribution, which shifts the manipulation story toward dishonest validator-plus-provider combinations rather than malicious user-plus-provider combinations. - Callback execution is part of the product, not an implementation detail. Entropy v2 adds callback statuses, custom gas-limit pricing, explorer-based debugging, and manual retry paths, so liveness and operator support sit inside the practical trust envelope.
- Even with onchain verification, Entropy is not purely onchain infrastructure. Provider APIs, reveal-serving software, and recovery tooling remain real offchain chokepoints.
- Whitepaper: No standalone Entropy whitepaper surfaced in this pass. The strongest primary materials were the official Entropy docs, the llms quick-start text, the EVM SDK/interface, and the example repositories; see
../whitepapers/pyth-entropy-primary-sources-2026-05-15.md. - Sources:
- https://docs.pyth.network/entropy
- https://docs.pyth.network/entropy/protocol-design
- https://docs.pyth.network/entropy/whats-new-entropyv2
- https://docs.pyth.network/entropy/request-callback-variants
- https://docs.pyth.network/entropy/set-custom-gas-limits
- https://docs.pyth.network/entropy/debug-callback-failures
- https://docs.pyth.network/llms-entropy.txt
- https://raw.githubusercontent.com/pyth-network/pyth-crosschain/main/target_chains/ethereum/entropy_sdk/solidity/IEntropyV2.sol
- https://raw.githubusercontent.com/pyth-network/pyth-crosschain/main/target_chains/ethereum/entropy_sdk/solidity/README.md
- https://github.com/pyth-network/pyth-examples/tree/main/entropy/coin_flip
Internal linkages
- Keep this note on the strongest few reads: pyth-network, drand, and arpa-network.
- That is enough to keep the important contrasts visible: sibling control plane, public beacon, and committee-style randomness delivery.
Control surface
-
Practical authority sits in provider selection defaults, reveal liveness, user-entropy path choice, callback gas budgeting, and the offchain services that help requests complete or recover.
-
Read Pyth Entropy as callback-priced reveal middleware, not as a pure randomness primitive.
-
Last reviewed: 2026-06-01 UTC