Tresor Integrates Chainlink VRF to Help Conduct Provably Random Giveaways

Tresor Official
3 min readMay 16, 2022

--

We’re excited to announce that Tresor — a novel on-chain NFT giveaway project — has integrated Chainlink Verifiable Random Function (VRF) on BNB Chain 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 determine lucky draw winners in a provably fair manner. Ultimately this creates a more exciting and transparent user experience, as users can verify the randomness underpinning Tresor’s Lucky NFT drawings.

Tresor is a novel on-chain NFT giveaway project on BNB Chain. With only 0.01BNB, users can join Lucky NFT drawings and win BNB prizes, popular NFT artwork, or other unique prizes. Tresor uses Chainlink VRF for a transparent and tamper-proof source of randomness that helps ensure lucky draws are provably random.

In order to make the lucky draw process fairer, 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 Tresor Lucky 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 winners are selected fairly and random draws were not tampered with by the oracle, outside entities, or the Tresor team.

In the future, Tresor will also explore other use cases with Chainlink. For instance, we plan to integrate Chainlink VRF on other blockchains, like Polygon, to bring a verifiably fair source of randomness to upcoming P2E games.

“Chainlink VRF helps determine winners in provably fair lucky drawings backed by transparent, tamper-proof randomness, helping significantly improve Tresor’s user experience. ” — Osborne Oliver, CEO of Tresor

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 Tresor
https://tresor.vc/luckyNFT/

--

--

Tresor Official

Tresor is a Web3.0 solution that connects creators, users, and developers to create hassle-free project, tools, community.