ERC 1155

Why we chose ERC-1155?

The ERC 721 is the most common standard for NFT, but it can cost a lot to buy more than one token. E.g.: Assuming 300 gwei and $3500/ETH, this table is the comparison of gas cost between 721 and 1155 with our smart contract:

This comparison show us that the mint cost of ERC-721 NFTs goes progressively higher as the number of Yung Pixels bought increases, and that doesn't happen with the 1155 standard. So we opted to utilize ERC-1155. This way, if someone wants to buy 1,000 YP, it will pay approximately $61.14 as gas cost, the same as someone that buys 1.

Those numbers may not reflect the real-world values, but we guarantee that the gas cost will be the same independent of the number of Yung Pixels bought with the same gwei value.

Due to adoption of the ERC 1155 standard, every unrevealed and revealing Yung Pixels have a common ID that is the same for all the owners, but each owner can reveal their Yung Pixels in our website. This way, Chainlink's VRF will generate a unique revealed Yung Pixel! ERC 1155 came as an excellent tool to our project.

Safe, cheap, simple!

Last updated