Meraki Integrates Chainlink VRF to Mint Verifiably Random Generative Art NFTs

Meraki Generative Art
3 min readFeb 15, 2022

--

We’re excited to announce that Meraki, a generative art platform on Polygon that stores artists’ code on-chain, 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 provide random values to our Random Class smart contract function, which artists can use to create verifiably random generative art. Ultimately this creates a more exciting and transparent user experience, as users can prove the randomness of the art that is being generated and collected at the time of mint.

Meraki is a generative art platform on Polygon enabling artists to store code on-chain to mint and generate art. We’ve created a unique experience both for the collector and the artist by offering an end-to-end artist and user experience on the platform from application to post-sale.

Created by: Jos Vromans

In order to generate art at the time of mint, we need 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 Meraki Artist 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 randomness was not tampered with by the oracle, outside entities, or the Meraki team.

“After integrating Chainlink decentralized services in other projects, our team knew there was no other choice as to what RNG solution we would integrate. Chainlink is the industry-standard for a reason, and now Chainlink VRF helps ensure our artists and collectors can access a secure source of provable randomness on-chain.” — kingmakerETH, Founder, Meraki

About Chainlink

Chainlink is the industry standard for building, accessing, and selling oracle services needed to power hybrid smart contracts on any blockchain. Chainlink oracle networks provide smart contracts with a way to reliably connect to any external API and leverage secure off-chain computations for enabling feature-rich applications. Chainlink currently secures tens of billions of dollars across DeFi, insurance, gaming, and other major industries, and offers global enterprises and leading data providers 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 Meraki

Meraki is a generative art platform on Polygon enabling artists to store code on-chain to mint and generate art. We’ve created a unique experience both for the collector and the artist by offering an end-to-end artist and user experience on the platform from application to post-sale. Polygon brings a low-cost gas environment making minting a pleasure rather than a pain and it’s integrations with solutions such as Chainlink allow artists to take their generative art to another level.

--

--