Dormint Integrates Chainlink VRF To Help Power NFT Rarities

Ross_hodl
Dormint
Published in
3 min readJan 11, 2023

We’re excited to announce that Dormint — a sleep analysis app that combines the fun and long-term progression of gaming with Web3 incentive design — has integrated Chainlink Verifiable Random Function (VRF) on Polygon mainnet. By integrating the industry-leading decentralized oracle network, we now have access to a tamper-proof and auditable source of randomness needed to help fairly randomize Dormint NFTs, providing users with cryptographic proof that their Dormint NFT rarities were underpinned by a provably fair random number generator.

Dormint is an innovative sleep analysis app that rewards users for better sleep habits. The app tracks your sleep patterns, recommends strategies to improve your sleep quality, and offers rewards when targets are met. Users can start the game to begin enjoying the health benefits that come with improved sleep quality. All they need is to get a Dormint NFT pillow.

In order to help further transparency and fairness within Dormint, we needed access to a secure random number generator (RNG) that any user could independently audit. However, RNG solutions for smart contracts require several security considerations to prevent manipulation and ensure system integrity. For instance, RNG solutions derived from blockchain data like block hashes can be exploited by miners/validators, while off-chain RNG solutions derived from off-chain APIs are opaque and don’t provide users with definitive proof about the integrity of the process.

After reviewing various solutions, we selected Chainlink VRF because it’s based on cutting-edge academic research, supported by a time-tested oracle network, and secured through the generation and on-chain verification of cryptographic proofs that prove the integrity of each random number supplied to smart contracts.

Chainlink VRF works by combining block data that is still unknown when the request is made with the oracle node’s pre-committed private key to generate both a random number and a cryptographic proof. The Dormint NFT smart contract will only accept the random number input if it has a valid cryptographic proof, and the cryptographic proof can only be generated if the VRF process is tamper-proof. This provides our users with automated and verifiable assurances directly on-chain that rareness is provably fair and was not tampered with by the oracle, outside entities, or the Dormint team.

“We are excited to integrate Chainlink VRF, which significantly enhances the user experience and helps us provide a fairer and more secure environment for our players.” –Daniel Kotlov, CEO of Dormint.

About Chainlink

Chainlink is the industry-standard Web3 services platform that has enabled trillions of dollars in transaction volume across DeFi, insurance, gaming, NFTs, and other major industries. As the leading decentralized oracle network, Chainlink enables developers to build feature-rich Web3 applications with seamless access to real-world data and off-chain computation across any blockchain and provides global enterprises with a universal gateway to all blockchains.

Learn more about Chainlink by visiting chain.link or reading the developer documentation at docs.chain.link. To discuss an integration, reach out to an expert.

About Dormint

Dormint is a sleep analysis app with a twist — it combines the fun and long-term progression of gaming with Web3 incentives. Our mission is to help people get the most out of their sleep and improve their overall health.

By using Dormint, you can make sure that you’re getting the most out of your sleep and improve your overall health with the help of our AI-driven sleep coach, interactive marketplace, and educational platform.

--

--