Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated with a table to improve readability #742

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,13 @@

Azuki has measured the gas costs and prices for mining, where they compared OpenZeppelin’s ERC721Enumerable vs ERC721A which they have documented below. This explains how users are charged an exorbitant amount of gas fee per transaction which adds up to become quite costly.

**NUMBER MINTED**

**GAS USED (ENUMERABLE)**

**GAS USED (ERC721A)**

**GAS SAVED**

Mint 1

154,814

76,690

**78,124**

Mint 2

270,339

78,819

**191,520**

Mint 3

384,864

80,948

**303,916**

Mint 4

501,389

83,077

**418,312**

Mint 5

616,914

85,206

**531,708**
| NUMBER MINTED | GAS USED (ENUMERABLE) | GAS USED (ERC721A) | GAS SAVED |
| --- | --- | --- | --- |
| Mint 1 | 154,814 | 76,690 | **78,124** |
| Mint 2 | 270,339 | 78,819 | **191,520** |
| Mint 3 | 384,864 | 80,948 | **303,916** |
| Mint 4 | 501,389 | 83,077 | **418,312** |
| Mint 5 | 616,914 | 85,206 | **531,708** |

As a result, ERC-721A has brought forth some optimizations in order to reduce the gas prices, which are explained below.

Expand Down