[英]How many NFTs can a smart contract hold
I know there is many mappings inside of an ERC721 contracts so let's say this contract has about 2 million NFTs unlike the original 10k.我知道 ERC721 合约内部有很多映射,所以假设这个合约有大约 200 万个 NFT,而不是原来的 10k。 Will this cause contract to freeze or stop working.
这会导致合同冻结或停止工作吗? Or is there no limit?
还是没有限制?
Mapping(uint256 => address)映射(uint256 => 地址)
The ERC-721 standard does not define any limit on how many NFTs can be in a collection, apart from token IDs being defined by an uint256
datatype.除了由
uint256
数据类型定义的代币 ID 之外, ERC-721标准没有对集合中可以包含多少 NFT 进行任何限制。
Which means the technical limit is 2^256, which is approximately 10^77.这意味着技术限制是 2^256,大约是 10^77。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.