What is ERC721A and How to Deploy ERC721A Smart contract in Solidity | Day 9
Автор: Shiva Mangina
Загружено: 2024-03-11
Просмотров: 132
Описание:
This video is part of the series 30 Smart contracts in 30 days
EIP: https://www.erc721a.org/
ERC 721a is a modification of ERC 721 that is optimized for lesser gas consumption while minting multiple tokens at once. ERC 721a has three optimizations: (1) data storage, (2) updated owner balance once per mint, and (3) updating owner data once per batch instead of every time every token is minted. The gas consumption for minting one token in ERC 721 is 154,000 gas, while in ERC 721a, it is only 76,000 gas, resulting in a savings of 78,000 gas. If five tokens are minted, the savings are significantly higher, resulting in a savings of 531,000 units in terms of dollars, which is almost $650. However, ERC 721a has a disadvantage when finding owners, as it only updates the owner data once per batch. When finding the owner of a specific token, ERC 721a has to move up to the last set owner in the sequence. ERC 721 is more straightforward in finding owners. ERC 721a is best used for minting a large number of tokens at once, like concert tickets, where they are less likely to be transferred.
ERC 721a is a modification of ERC 721 optimized for lesser gas consumption while minting multiple tokens at once
ERC 721a uses less gas than ERC 721 for minting tokens, resulting in cost savings
ERC 721a has three optimizations, including reming of dgate storage and updating owner balance once per batch
ERC 721a has a disadvantage in finding owners as it only updates the owner data once per batch
Deploying ERC 721a and minting tokens using it is demonstrated in the video
ERC 721a is suitable for minting a large number of tokens at once, like concert tickets
ERC 721a may not be suitable for tokens that are likely to be transferred frequently
ERC 721a is a modification of ERC 721 with optimizations for gas consumption.
GitHub Repo: https://github.com/shivamangina/solid...
Instagram: / shiva_mangina
Linkedin: / shivamangina
website: https://shivamangina.com/
Timeline:
00:00 Introduction
00:58 Key Differences
02:02 Disadvantages
03:08 Contract Deployment
06:43 Closing Thoughts
#solidity #solidityforbeginners #soliditytutorial #solidityprogramming #soliditysmartcontracts #solidityprojects #soliditycrashcourse #soliditydeveloper #soliditytutorialforbeginners #solidityblockchain #solidityblockchainandsmartcontracts #soliditysmartcontractstutorial #solidityprogramminglanguage #solidityandsmartcontracts #erc721A #nft
All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please make decisions based on your research. This video is not forcing anything on you.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: