NFTShuffle

Own randomness, building block for developers trying to empower their application with affordable randomness.

NFTShuffle

Created At

NFTHack 2022

Project Description

Ownership of a random number, by minting this NFT, the address owner will gain ownership of a number from a randomly shuffled array.

This is an abstract implementation, the value from the array could be anything, meant to be apply in context of gaming and fair distribution mechanics. For example, the value return from the index could be a dice result, used in multiple games, or it could represent another NFT, thereby allowing for random distributions.

How it's Made

The project consists of an simple ERC721 contract, the tokenId is used and pointer to a shuffled number array. The shuffled array is mixed using and implementation of the Fisher-Yates shuffle algorithm in solidity.

Used remix IDE to create contract, and used openZepellin contracts.

background image mobile

Join the mailing list

Get the latest news and updates