Matterverse Integrates Chainlink VRF to Help Randomize Rewards for Metaverse Editors

Shawn Pang
matterverse
Published in
5 min readAug 10, 2022

We’re excited to announce that Matterverse — a next-gen photorealistic metaverse with a simple drag-and-drop user interface that enables anyone to create, share, and explore — 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 power randomized rewards for participants in community events, giveaways, and competitions. Ultimately this creates a more exciting and transparent user experience, as editors eligible for random prizes can now have high assurances that the randomization is provably fair.

Matterverse is Coming!

In order to fairly reward editors, 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 Matterverse 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 getRandomNumber function is provably fair and was not tampered with by the oracle, outside entities, or the Matterverse team.

“Chainlink is the most developer and user-friendly smart contract development tool for integrating fair and verifiable randomness into any kind of Web3 project or experience.” — Shawn Pang, Co-Founder at Matterverse

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

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 Matterverse

Matterverse is a Toronto-based startup building the next-generation metaverse editor. Matterverse allows anyone to create, explore, and share a photorealistic open metaverse on any device in minutes. We have received investment from MiraclePlus (previous YCombinator China) and LD Capital and we have partnered with Nvidia and Agora.

OLD VERSION:

Matterverse Integrates Chainlink VRF to Help Power The Next-Gen Photorealistic Metaverse Editor

We’re excited to announce that Matterverse has integrated Chainlink Verifiable Random Function (VRF) on Polygon to enable anyone to create, share, and explore a next-gen photorealistic metaverse with just a drag–and-drop. By integrating the industry-leading decentralized oracle network, we now have access to a tamper-proof and auditable source of randomness needed to generate randomized rewards for participants in our community events, including giveaways and competitions. Ultimately this creates a more exciting and transparent user experience, as users can receive different items in a set of 5 collectible NFTs, and once they can collect all 5 NFTs they can claim a piece of private land in our metaverse.

https://www.youtube.com/watch?v=pGKAowE5Z58&t=19s

In order to ensure a fair gameplay for all event participants who are trying to collect all 5 collectibles, 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 Matterverse 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 getRandomNumber is provably fair and was not tampered with by the oracle, outside entities, or the Matterverse team.

“Chainklink is the most developer, builder, and user-friendly smart contract dev tool to build any web3 projects and experiences” — Shawn Pang, Co-Founder at Matterverse

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

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 Matterverse

Matterverse is a Toronto-based startup building the next-generation metaverse editor. Matterverse allows anyone to create, explore, and share a photorealistic open metaverse on any devices in minutes. We are invested by MiraclePlus (previous YCombinator China) and LD Capital and partner with Nvidia and Agora.

--

--

Shawn Pang
matterverse

帮助更多中国科技企业出海 - 你的北美增长合伙人