ERC721 vs. ERC721A

Maciej Zieliński

29 Mar 2022
ERC721 vs. ERC721A

Technology can be a great solution for many businesses and companies. Unfortunately, one of the unfortunate side effects is the amount of various technical jargon, which may be unintelligible to the average person. For the end-user, NFT often means little more than a decentralized collectors' item or a work of digital art. You can enjoy this industry without understanding how it works. But the trends in blockchain technology can be fascinating even for those who are not involved with creating it. Why are ERC721 and ERC721A so important in NFT? What makes it special and why should we learn about this technology? We're writing about this below!

What is ERC721?

Although blockchain technology is decentralized, we need a common language which will allow us to understand the data contained within it. As such, token standards like ERC721 become essential. It is a standard which works in a similar way to how all ports or plugs on various devices work. It is worth noting, for example, that formats such as PNG i JPEG, which are commonly associated with NFT, are by themselves image standards.
ERC721 is an extremely popular token standard for creating non-fungible tokens – NFT – on blockchains, such as Ethereum and Polygon. The letter ‘E’ in ‘ERC721’ stands for ‘Ethereum’ and is not the NFT standard that runs on blockchains that are incompatible with Ethereum portfolios such as Solana and Tezos.

​What makes ERC721 compliant tokens useful?

Below we outline some of the advantages of this solution:

  • Each token is unique (previously mentioned non-fungibility)
  • Each token can be transferred or sold
  • Owners can authorize other smart contracts to manage tokens

In addition, each of them is crucial to ensuring that NFT markets, such as OpenSea and LooksRare, can operate as intended. It should be pointed out that smart contracts are simply applications that live within blockchain technology. Seems complicated? It can be described in an even simpler way: ERC721 is a standardized way of creating unique blockchain tokens, which can be traded at markets.

​What is ERC721A?

Software developers in crypto typically use existing code libraries to simplify the development process of a project. When you write a code that's in the blockchain, there's even more pressure to use a battle-proven, existing code wherever possible, because blockchain technology prevents any code editing! In the NFT sector, a single open source code was widely accepted in order to enable the use of ERC721. Then there was the “Azuki” project, which quickly gained recognition in the NFT sector. In addition to the NFT issue itself, the project has created a new implementation of ERC721A.
The implementation of ERC721A is not meant to change the token standard. Its main purpose is to fit the token perfectly, but this task requires a number of other standards to be met, as opposed to ERC721 which has been used to date.
This has led to the reduction of the amount of gas needed to mint new NFT (especially those that are minted in batches).
The gas costs incurred in transferring NFT based on ERC721A to other persons at the original owner's prices are slightly higher. Overall, the gas savings that ERC721A can provide compared to ERC721 are excellent, but this solution cannot be implemented everywhere. For example, entities that do not mint NFT in bulk will still spend a significant amount of gas if we consider the transfer costs.

Let us remember that NFT provides many limitless possibilities not only for art, music, or sports. It is important to know and understand ERC721 and ERC721A, as this allows us to understand what NFT really is from its very basics. This makes us more aware of the direction in which this sector is developing. It is worth noting that while both implementations are important, they are neither the first nor last elements of NFT. They are the benchmark to follow.

How does ERC721A work?

ERC721A adopts specific conditions which then affect the smart contract project. This impact makes the following things happen:

  • Token IDs should always grow steadily – starting from zero. Currently, many NFT projects fulfill this condition.
  • The reduction of the gas costs related to minting NFT is the most important part of NFT production.

With these assumptions, ERC721A makes the following optimization of contracts:

  • Reduces the unused space, which is used to store metadata from tokens.
  • Limits ownership to one coin from the entire NFT batch.

Why is ERC721A so important?

Because it allows us to understand how high the gas charges really are, and what they result from! Reducing your work to sending transactions saves energy. At this point, we should emphasize that blockchain generates 2 types of transactions – reads and writes.

  • Write – occurs when we are doing something in a blockchain and its condition changes (for example, we sell NFT).
  • Read – it can be said that this is a review of the transaction file.

Users who use blockchain technology incur higher write costs than read costs. Therefore, if we reduce the pool of write information or transaction transfer requirements, we will reduce the cost of minting NFT.

What risks are involved with using ERC721A contracts for generating multiple NFT transactions?

TransferFrom and safeTransferFrom transactions cost more gas, which means that NFT can cost more from the moment of its minting. We should emphasize that using ERC721A leads to an increase in performance without the need to set owners of particular token ID.

For example, in the picture below there are two calls to mint a batch, one by Marcus to mint chips #100, #101, and #102 in one call, and the other by Brutus to mint chips #103 and #104

The above diagram shows that ERC721A must set up the property metadata twice, instead of 5 times – once for the Marcus package and once for the Brutus package. This is not so easy because by transferring a tokenID that does not have an owner address, the contract must create actions that include all tokenID’s in order to verify the original NFT owner. This is because the original owner has the right to move the token and set it to a new entity. Below we present a graph associated with this:

ERC721

The method of reading this chart is as follows: first move to the x-axis and then to the y-axis, for example:

  • „Mint a batch of 1 NFT, and then transfer tokenID 0”,
  • „Mint a batch 3 of NFT, and then transfer tokenID 1”
  • „Mint a batch 5 of NFT, and then transfer tokenID 4”

The above results indicate that moving token IDs in the middle of a larger mint batch (i.e. t1, t2) costs more than moving token IDs at the end of the batch (i.e. t0, t4).

How to minimize the cost of transferring an entire batch of NFT?

You can minimize costs if you are always minting the maximum allowed number of NFT when releasing an entire batch. In addition – when moving a batch, it is important to start a cycle with tokens of an ODD number in an ascending manner.
Examples of NFT projects using the ERC721A contract
Here is a list of projects, which are currently using the ERC721A contract:

  • @AzukiZen
  • @cerealclubnft
  • @TheLostGlitches
  • @standardweb3
  • @KittyCryptoGang
  • @XRabbitsClub
  • @WhaleTogether
  • @pixelpiracynft
  • @dastardlyducks
  • @MissMetaNFT
  • @StarcatchersNFT
  • @LivesOfAsuna
  • @richsadcatnft
  • @themonkeypoly
  • @womenofcrypto_
  • @TravelToucans
  • @HuhuNFT

Are ERC721A contracts still considered to be NFT transactions?

Of course. ERC721A contracts are NFT. Any contract that implements the ERC721 token standard, or the ERC1155 interfaces is seen as non-fungible or semi-fungible tokens. To put it simply, ERC721A is an extension and optimization of the previous version, the ERC721. The ERC721A contract is a very good idea which allows for saving money on gas in a given community, while at the same time protecting the Ethereum network from unnecessary workload.

Most viewed


Never miss a story

Stay updated about Nextrope news as it happens.

You are subscribed

Aethir Tokenomics – Case Study

Kajetan Olas

22 Nov 2024
Aethir Tokenomics – Case Study

Authors of the contents are not affiliated to the reviewed project in any way and none of the information presented should be taken as financial advice.

In this article we analyze tokenomics of Aethir - a project providing on-demand cloud compute resources for the AI, Gaming, and virtualized compute sectors.
Aethir aims to aggregate enterprise-grade GPUs from multiple providers into a DePIN (Decentralized Physical Infrastructure Network). Its competitive edge comes from utlizing the GPUs for very specific use-cases, such as low-latency rendering for online games.
Due to decentralized nature of its infrastructure Aethir can meet the demands of online-gaming in any region. This is especially important for some gamer-abundant regions in Asia with underdeveloped cloud infrastructure that causes high latency ("lags").
We will analyze Aethir's tokenomics, give our opinion on what was done well, and provide specific recommendations on how to improve it.

Evaluation Summary

Aethir Tokenomics Structure

The total supply of ATH tokens is capped at 42 billion ATH. This fixed cap provides a predictable supply environment, and the complete emissions schedule is listed here. As of November 2024 there are approximately 5.2 Billion ATH in circulation. In a year from now (November 2025), the circulating supply will almost triple, and will amount to approximately 15 Billion ATH. By November 2028, today's circulating supply will be diluted by around 86%.

From an investor standpoint the rational decision would be to stake their tokens and hope for rewards that will balance the inflation. Currently the estimated APR for 3-year staking is 195% and for 4-year staking APR is 261%. The rewards are paid out weekly. Furthermore, stakers can expect to get additional rewards from partnered AI projects.

Staking Incentives

Rewards are calculated based on the staking duration and staked amount. These factors are equally important and they linearly influence weekly rewards. This means that someone who stakes 100 ATH for 2 weeks will have the same weekly rewards as someone who stakes 200 ATH for 1 week. This mechanism greatly emphasizes long-term holding. That's because holding a token makes sense only if you go for long-term staking. E.g. a whale staking $200k with 1 week lockup. will have the same weekly rewards as person staking $1k with 4 year lockup. Furthermore the ATH staking rewards are fixed and divided among stakers. Therefore Increase of user base is likely to come with decrease in rewards.
We believe the main weak-point of Aethirs staking is the lack of equivalency between rewards paid out to the users and value generated for the protocol as a result of staking.

Token Distribution

The token distribution of $ATH is well designed and comes with long vesting time-frames. 18-month cliff and 36-moths subsequent linear vesting is applied to team's allocation. This is higher than industry standard and is a sign of long-term commitment.

  • Checkers and Compute Providers: 50%
  • Ecosystem: 15%
  • Team: 12.5%
  • Investors: 11.5%
  • Airdrop: 6%
  • Advisors: 5%

Aethir's airdrop is divided into 3 phases to ensure that only loyal users get rewarded. This mechanism is very-well thought and we rate it highly. It fosters high community engagement within the first months of the project and sets the ground for potentially giving more-control to the DAO.

Governance and Community-Led Development

Aethir’s governance model promotes community-led decision-making in a very practical way. Instead of rushing with creation of a DAO for PR and marketing purposes Aethir is trying to make it the right way. They support projects building on their infrastructure and regularly share updates with their community in the most professional manner.

We believe Aethir would benefit from implementing reputation boosted voting. An example of such system is described here. The core assumption is to abandon the simplistic: 1 token = 1 vote and go towards: Votes = tokens * reputation_based_multiplication_factor.

In the attached example, reputation_based_multiplication_factor rises exponentially with the number of standard deviations above norm, with regard to user's rating. For compute compute providers at Aethir, user's rating could be replaced by provider's uptime.

Perspectives for the future

While it's important to analyze aspects such as supply-side tokenomics, or governance, we must keep in mind that 95% of project's success depends on demand-side. In this regard the outlook for Aethir may be very bright. The project declares $36M annual reccuring revenue. Revenue like this is very rare in the web3 space. Many projects are not able to generate any revenue after succesfull ICO event, due to lack fo product-market-fit.

If you're looking to create a robust tokenomics model and go through institutional-grade testing please reach out to contact@nextrope.com. Our team is ready to help you with the token engineering process and ensure your project’s resilience in the long term.

Nextrope Partners with Hacken to Enhance Blockchain Security

Miłosz

21 Nov 2024
Nextrope Partners with Hacken to Enhance Blockchain Security

Nextrope announces a strategic partnership with Hacken, a renowned blockchain security auditor. It marks a significant step in delivering reliable decentralized solutions. After several successful collaborations resulting in flawless smart contract audits, the alliance solidifies the synergy between Nextrope's innovative blockchain development and Hacken's top-tier security auditing services. Together, we aim to set new benchmarks, ensuring that security is an integral part of blockchain technology.

Strengthening Blockchain Security

The partnership aims to fortify the security protocols within blockchain ecosystems. By integrating Hacken's comprehensive security audits with Nextrope's cutting-edge blockchain solutions, we are poised to offer unparalleled security features in our projects.

"Blockchain security should never be an afterthought"

"Our partnership with Hacken underscores our dedication to embedding security at the core of our blockchain solutions. Together, we're building a safer future for the industry."

said Mateusz Mach, CEO of Nextrope

About Nextrope

Nextrope is a forward-thinking blockchain development house specializing in creating innovative solutions for businesses worldwide. With a team of experienced developers and blockchain experts, Nextrope delivers high-quality, scalable, and secure blockchain applications tailored to meet the unique needs of each client.

About Hacken

Hacken is a leading blockchain security auditor known for its rigorous smart contract audits and security assessments. With a mission to make the industry safer, Hacken provides complex security services that help companies identify and mitigate vulnerabilities in their applications.

Looking Ahead

As a joint mission, both Nextrope and Hacken are committed to continuous innovation. We look forward to the exciting opportunities this partnership will bring and are eager to implement a more secure blockchain environment for all.

For more information, please contact:

Nextrope

Hacken

Join us on our journey to deliver top-notch blockchain tech and a safer future for the industry!