What is Ethereum ERC721G

Introducing ๐—˜๐—ฅ๐—–๐Ÿณ๐Ÿฎ๐Ÿญ๐—š – The Smart Contract powering Gangster All Star: Evolution NFTs

๐—˜๐—ฅ๐—–๐Ÿณ๐Ÿฎ๐Ÿญ๐—š aims to bring batch minting to the next levelโ€Š – by exploring what is possible within optimization constraints and introducing built-in staking functions and metrics for fractions of traditional gas cost.

๐—˜๐—ฅ๐—–๐Ÿณ๐Ÿฎ๐Ÿญ๐—š’s most notable features are:

โ˜… Gas Optimized Batch Minting

โ˜… Gas Optimized and Innovative Batch Mint and Stake

โ˜… Gas Optimized Stake and Unstake

โ˜… Trackers for Accumulated Stake Time and HODLing

โ˜… Modularity

Batch Minting

Batch Minting – an NFT minting method popularized by ERC721A, which has largely reduced the costs associated with minting for the NFT space. In the past, minting 5 NFTs would have costed upwards of 600k gas. With batch minting, these costs are reduced by upwards of over ๐Ÿต๐Ÿฌ%.

Gas costs of batch minting for ERC721G is comparable to that of the highly optimized ERC721Aโ€Š โ€Šwhile offering a larger set of features and NFT staking metrics. For flexibility and features, there’s ERC721G, and for hyper-optimization, there’s ERC721A.

Batch Mint and Stake

Batch Mint and Stakeโ€Š – An innovative mint + stake solution that allows users to mint and stake tokens in a single transaction. By packing data and using a single contract (normal staking solutions require 2), up to 90% of the gas costs associated with staking can be saved.

In traditional minting and staking, upwards of 3 transactions are required for the processโ€Š:

  1. mint
  2. Approve
  3. Stake

With ERC721G, all three transactions are compressed into one, using less storage and processing, ultimately saving tons of gas. Data excludes mint costs.

Staking and HODLING metrics

Staking and HODLING metrics have become increasingly popular for NFT collections. We love to know who the diamond hands areโ€Š: those who held since mint, stake, and long a token has been staked for. ๐—˜๐—ฅ๐—–๐Ÿณ๐Ÿฎ๐Ÿญ๐—š, includes all these with no additional storage requirements.

How does that work?โ€Š How can we store more data without needing more storage? Data Packing. By exploring what is possible, we were able to pack all the data mentioned above into our smart contract. Simply put – we stored a ton of data for the price of one.

ERC721G

Modularity

๐—˜๐—ฅ๐—–๐Ÿณ๐Ÿฎ๐Ÿญ๐—š functions are designed to be modular by nature. Developers can choose to either include, exclude, or modify staking and metrics functions while having no impact to minting costs. Creative and novel mechanics are limited only to developers’ imaginations.

For the tech-curious, we will be publishing a technical deep-dive on our website detailing how we have made all these features possible while still working within the constraints of a highly optimized NFT contract, and what obstacles we had to overcome to achieve such results.

The NFT space is built by its usersโ€Š: โ€Šartists, creators, investors, innovators, and developers. Everyone plays a role in the development of the spaceโ€Š- whether we are aware of it or not.

We are happy to contribute to the ever-growing space of NFTs and push forwards creative coding and innovation. By open-sourcing our smart contract to the public, we seek to inspire other developers to innovative and create their own smart contracts built upon ๐—˜๐—ฅ๐—–๐Ÿณ๐Ÿฎ๐Ÿญ๐—š.

Leave a Reply

Your email address will not be published.