Pinkjaks Integrates Chainlink VRF to Generate Random Scarcity in NFTs
We’re excited to announce that Pinkjaks — a glitch-art NFT collection — has integrated Chainlink Verifiable Random Function (VRF) on the 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 create provably random scarcity within our NFT collection. Ultimately this creates a more exciting, transparent, and fraud-proof user experience, as users can be more assured that each Pinkjak’s rarity is truly random, and that the collection’s scarcity cannot be manipulated by bad actors or controlled by the development team.
Pinkjaks are a set of glitch-art NFTs hosted on Polygon. Each Pinkjak is a 0.5 second mp4 of a glitched Pink Wojak, and there are 4000 in total. Each Pinkjak token can be “unboxed” to reveal a truly random rarity score that’s generated by Chainlink VRF. Each token also emits “JUST” tokens that can be burned to change the name of the token.
In order to create rarity and scarcity, 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 time-tested oracle infrastructure, 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 Pinkjaks 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 Pinkjaks is provably fair and was not tampered with by the oracle, outside entities, or the Pinkjak’s team.