index.mdx 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. ---
  2. title: Entropy
  3. description: Secure, Verifiable Random Number Generator for EVM-based smart contracts
  4. icon: DiceSix
  5. full: true
  6. ---
  7. import {
  8. RocketLaunch,
  9. FileText,
  10. DiceSix,
  11. } from "@phosphor-icons/react/dist/ssr";
  12. **Pyth Entropy** is an on-chain random number generator (RNG) designed for developers who need fair, unbiased, and cryptographically secure randomness.
  13. Whether you're building a blockchain game, NFT mint, lottery, or simulation, Entropy delivers randomness that is:
  14. - **Trustless & verifiable** - built on [commit-reveal protocol](./entropy/protocol-design).
  15. - **Low-latency** - randomness available within a [few blocks](./entropy/contract-addresses).
  16. - **Easy to integrate** - Permissionless Integration, including [Visual Tx Explorer](https://entropy-explorer.pyth.network/).
  17. - **Cost-efficient** - designed for scalable production use [fees](./entropy/contract-addresses).
  18. - **Native gas fees** - pay with chain native token.
  19. ## What's New in Entropy v2
  20. Entropy v2 introduces several improvements and new features to make random number generation more flexible and efficient.
  21. See [What's New in Entropy v2](whats-new-entropyv2) for more details.
  22. (TODO: Add an infographic here)
  23. ## Getting Started
  24. Using Pyth Entropy is permissionless and developers can integrate in a few minutes.
  25. Please see [How to Generate Random Numbers Using Pyth Entropy](generate-random-numbers) to start integrating Pyth Entropy into your application.
  26. ## Reference Material
  27. - [Protocol design](protocol-design)
  28. - [Contract Addresses/Supported Networks](contract-addresses)
  29. - [Error Codes](error-codes)
  30. - [Entropy Debugger](https://entropy-debugger.pyth.network/) - Interactive tool for diagnosing callback issues
  31. ## Start Building
  32. <Cards className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3">
  33. <Card
  34. href="/entropy/create-your-first-entropy-app"
  35. title="Build Your First App"
  36. icon={<RocketLaunch size={16} fill="unset" weight="duotone" />}
  37. >
  38. Step-by-step tutorial to deploy a coin flip using Entropy v2.
  39. </Card>
  40. <Card
  41. href="/entropy/generate-random-numbers-evm"
  42. title="Generate Random Numbers"
  43. icon={<DiceSix size={16} fill="unset" />}
  44. >
  45. How-to guide for reading fees and requesting randomness on EVM.
  46. </Card>
  47. <Card
  48. href="/entropy/contract-addresses"
  49. title="Contracts & Providers"
  50. icon={<FileText size={16} fill="unset" />}
  51. >
  52. Find Entropy addresses, reveal delays, gas limits, and fees.
  53. </Card>
  54. </Cards>