XNFT：A lower costs smart contract for PlanckX NFT batch minting
The PlanckX NFT market is a decentralized exchange for game assets where users can buy and sell NFT in games.
In order to provide a better experience and lower costs, we specifically optimized the NFT using PlanckX’s own XNFT Minting Protocol.
XNFT is a technical implementation of IERC721, and this protocol can effectively reduce the minting cost of NFTs by aggregating multiple transactions into a single transaction. Users can also mint multiple NFTs in bulk in PlanckX Studio to save extra gas fees due to multiple applications to the contract, leading to a low-cost experience.
This technology optimizes NFT transactions from the following 3 aspects:
Optimization 1 — When users mint the uploaded NFTs, the consumption due to duplicate storage will be removed from the code, thus saving duplicate gas fees. Optimization 2 — When users mint a batch of NFTs, their wallet balance will be updated per batch instead of being charged for each NFT. Optimization 3 — When users upload NFTs by batch, we will update the owners’ data based on the request of each batch, not a single NFT;
Thus, for NFTs minting by batch, we can save a lot of gas fees and serve our users at a very low cost.