Cryptogotchi is Integrating Chainlink VRF to Assign Random Colors To NFT Pets When Hatched From Their Egg

Cryptogotchi_NFT
4 min readSep 9, 2021

We’re excited to announce that Cryptogotchi — an NFT pet you keep alive that rewards you with a token — is integrating Chainlink Verifiable Random Function (VRF) on the Polygon blockchain. By integrating the industry-leading decentralized oracle network, we can obtain access to a tamper-proof and auditable source of randomness needed to randomly assign a color to a Cryptogotchi upon initial hatching, thus adding a level of rarity. Ultimately this creates a more exciting, transparent, and fraud-proof user experience, as users have a chance to receive rarer colors based on the verifiable random number supplied by Chainlink oracles.

A Cryptogotchi is fundamentally very similar to a Tamagotchi. A digital pet someone can keep alive by performing required tasks, like feeding it food or playing with it. The Cryptogotchi smart contract has taken these two fundamental tasks and implemented them in the form of an ERC-721 NFT Token.

Built on top of the already cool idea of keeping a virtual pet alive on a blockchain, the smart contract takes things one step further by distributing its own internally used ERC-20 token called Quantifiable Spacetime Meed (QSM), or Meed for short.

Meed is the cryptocurrency used within the Cryptogotchi ecosystem for things like purchasing Day Passes and minting new NFT’s. As a deflationary mechanism, any Meed tokens utilized are burnt and forever removed from circulating supply. Meed will also be freely tradable on the open market in its own liquidity pool on the Polygon Blockchain.

Join the Discord and try out a testnet device today!

Color Chances: 5%yellow, 10%blue, 15%orange, 30%green, 40%Purple

In order to assign a random color and rarity for a Cryptogotchi upon initial hatching, 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 using on-chain data like block hashes can be exploited by blockchain miners, while off-chain RNG solutions like traditional data providers 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 guarantee 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 Cryptogotchi 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 each color assignment for a Cryptogotchi NFT is provably fair and was not tampered with by the oracle, outside entities, or the Cryptogotchi team.

Cryptogotchi is holding a Day Pass Sale that includes 365 Day Passes and a Free NFT for 100 Matic.

Raised funds from this sale will be used for initial Meed Token liquidity, a contract audit, and a small development fund. Cryptogotchi NFTs preloaded with 365 day passes are limited to 2000 NFTs, first come first serve. The sooner you enter, the lower numbered NFT you will receive.

Chainlink will also be utilized internally in the planned and upcoming online blockchain universe game called The Quantifiable Spacetime Decentralized Cryptoverse (tbd). In this universe, and on a blockchain, a user will be able to build, design and decorate their Cryptogotchi’s home on their own decentralized plot of land with rare NFT’s, as well as accessorize their Cryptogotchi with apparel, hats, glasses, shoes and more. They will also be able to play games with others or battle with an opponent for a prize! Development of Cryptogotchi v2 begins after the launch of Cryptogotchi v1.

About Chainlink

Chainlink is the industry standard oracle network for powering hybrid smart contracts. Chainlink Decentralized Oracle Networks provide developers with the largest collection of high-quality data sources and secure off-chain computations to expand the capabilities of smart contracts on any blockchain. Managed by a global, decentralized community, Chainlink currently secures billions of dollars in value for smart contracts across decentralized finance (DeFi), insurance, gaming, and other major industries.

Chainlink is trusted by hundreds of organizations, from global enterprises to projects at the forefront of the blockchain economy, to deliver definitive truth via secure, reliable oracle networks. To learn more about Chainlink, visit chain.link, subscribe to the Chainlink newsletter, and follow @chainlink on Twitter. To understand the full vision of the Chainlink Network, read the Chainlink 2.0 whitepaper.

Solutions | Docs | Discord | Reddit | YouTube | Telegram | GitHub

About Cryptogotchi

Cryptogotchi is my first venture into the cutting edge world of blockchain gaming. Any blockchain games that I create in the future will utilize QSM token as its internal token, and I have many more new and innovative ideas! I have always wanted to start my own game development company and Cryptogotchi is the first step in that journey. I hope Cryptogotchi can exemplify what is possible when combining a great idea with blockchain and add perseverance!

Website| dApp | Discord | Telegram | Twitter

--

--

Cryptogotchi_NFT

A virtual living interactive pet on a decentralized Blockchain. Feed and play with your own Cryptogotchi and earn QSM tokens. Hatch your own egg soon!