From 553475c5b7e6aa2544c2f318232d8cf8330dd5e4 Mon Sep 17 00:00:00 2001 From: Ronica Singh Date: Wed, 13 Nov 2024 11:25:27 +0200 Subject: [PATCH] Updated with a table to improve readability Improving readability by wrapping the line-by-line text into a table, as that is what it looked like given the raw data. --- .../3. Perks Entailing ERC-721A.md" | 54 +++---------------- 1 file changed, 7 insertions(+), 47 deletions(-) diff --git "a/Creating NFTs using different token standards/3. ERC-721A \342\200\223 The Superior Iteration/3. Perks Entailing ERC-721A.md" "b/Creating NFTs using different token standards/3. ERC-721A \342\200\223 The Superior Iteration/3. Perks Entailing ERC-721A.md" index 6f8f2b34..48866275 100644 --- "a/Creating NFTs using different token standards/3. ERC-721A \342\200\223 The Superior Iteration/3. Perks Entailing ERC-721A.md" +++ "b/Creating NFTs using different token standards/3. ERC-721A \342\200\223 The Superior Iteration/3. Perks Entailing ERC-721A.md" @@ -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.