How Dreamy Integrated Chainlink VRF To Help Power a Provably Fair NFT Reveal

Dreamy
3 min readFeb 13, 2023

--

In December, Dreamy integrated Chainlink Verifiable Random Function (VRF) on Ethereum mainnet to help ensure the NFT reveal process was as fair as possible. Chainlink VRF was used to help shuffle metadata images after the mint, helping ensure that each image is ascribed to a particular NFT in a provably random manner. Ultimately, this created a more exciting and transparent user experience as each user had a fair chance of receiving the rarest Dreamy digital collectibles.

We built Dreamy to be a form of escape for people. A place where community members can connect and truly be themselves without fearing how they are portrayed or judged. A community that values, encourages, and supports each other knowing that everyone is different and has something to offer — no matter how big or small. The goal of Dreamy is to be a warm and cozy space for everybody.

In order to help ensure a fair NFT reveal, 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 Dreamy 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 the NFT reveal process is provably fair and was not tampered with by the oracle, outside entities, or the Dreamy team.

As the NFT space is rapidly growing and evolving we wanted to show what a streamlined launch and reveal experience can bring — and the use of Chainlink VRF enabled us to do just that.

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 Dreamy

Dreamy is a series of 5,555 digital collectibles on the Ethereum blockchain.

Dreamy emerged from the idea of escaping the everyday noise of life, with the desire of immersing ourselves in a new world and forging lasting friendships. To be a central meeting place for all adventurers, where it all begins. Invoking feelings of togetherness and familiarity, with a sense of tranquility and calmness. A place where there is no noise.

We believe everyone has something special to offer and deserves a chance to chase their passion, to realize their own form of escape.

Explore Dreamy by visiting dreamy.day or checking out our Twitter @dreamy.

--

--