PolyPixos — Reveal Process
Provable Fair Distribution
We are making sure our collection is being distributed in a fair and transparent way. For this reason we are implementing a shuffling algorithm that is applied to the entire collection right before we upload the metadata to IPFS and reveal the tokens.
The pre-shuffle “base dataset” together with the algorithm used to generate the shuffled metadata will be uploaded to a Github repository and everyone can verify its integrity and produce the same output data that will be found on IPFS.
Like this we are making sure that the PolyPixos team has no influence on the rarity distribution of the whole collection.
What is SHA-256?
The SHA (Secure Hash Algorithm) is one of a number of cryptographic hash functions. A cryptographic hash is like a signature for a data set. If you would like to compare two sets of raw data (source of the file, text or similar) it is always better to hash it and compare SHA256 values. It is like the fingerprints of the data. Even if only one symbol is changed the algorithm will produce different hash value. SHA256 algorithm generates an almost-unique, fixed size 256-bit (32-byte) hash. Hash is so called a one way function. This makes it suitable for checking integrity of your data, challenge hash authentication, anti-tamper, digital signatures, blockchain.
To prove integrity of the dataset the SHA-256 hash of the the pre-shuffle metadata has been deployed directly on the contract. This “fingerprint” of the dataset can be used to prove that the dataset that is being uploaded to the Github repository is the one being used for generating the shuffled metadata.
Our pre-shuffle dataset produces the provenance hash of:
The shuffling of the dataset will be based on the block hash of a block on the Ethereum Blockchain mined immediately before the reveal. This hash is then being used as a seed to shuffle the entire dataset and ensure random token distribution.
- The contract contains the hash of the pre-shuffle dataset
- We shuffle the whole metadata based on a block hash mined right before the reveal (unpredictable)
- We upload the pre-shuffle metadata together with the shuffle algorithm to a repository on Github
- You can download the repository and verify yourself that the hash of the pre-shuffle dataset is identical to the one found on the contract
- You can run the shuffle algorithm with the same block hash we used which will produce the same metadata that you see on IPFS