Introducing ERC1155D: The most gas-efficient non-fungible token contract for minting and transfers.

Jeffrey Scholz
DonkeVerse
Published in
18 min readMar 3, 2022

--

Donkeverse is proud to present the king of gas efficient NFT smart contracts

click here if you are seeing a paywall

Abstract and Highlights

We introduce an ERC1155D, an ERC1155 implementation that is fully backward compatible and fully compliant with ERC1155.

ERC1155D is completely non-fungible in the way ERC721 is, so each token has a unique identifier and a unique owner.

With a mint cost of under 51,000 gas, it greatly outperforms every other existing NFT implementation in terms of gas efficiency by a very large margin with savings of 23–66%. This includes comparison to highly efficient ones like ERC721A and ERC721 slim.

With a transfer cost under 35,000 gas, it exceedingly outperforms other NFT contracts, even outperforming some ERC20 transfer costs. Transfers in ERC1155D cost one-half to one-third of other NFTs.

ERC1155D is also capable of deferring minting costs the way ERC721A does. If this capability is used, 5 mints with ERC1155D is cheaper than 1 mint with ERC721A.

Developers can also determine token ownership more easily than with a traditional ERC721.

Quick Refresher on Gas Cost

--

--