Wallets

為什麼 Opensea 上的所有 NFT 都是從 Null Address 創建的?

  • November 19, 2021

當有人在 OpenSea 上使用自己的錢包作為創建者的身份在 NFT 上鑄幣時,為什麼 Null Address 總是作為創建者出現在 NFT 的交易歷史中?然後歷史上的第二個事件是 Null Address 將 NFT 轉移給創建

因為標準是這樣說的。

https://eips.ethereum.org/EIPS/eip-721

/// @dev This emits when ownership of any NFT changes by any mechanism.
///  This event emits when NFTs are created (`from` == 0) and destroyed
///  (`to` == 0). Exception: during contract creation, any number of NFTs
///  may be created and assigned without emitting Transfer. At the time of
///  any transfer, the approved address for that NFT (if any) is reset to none.
event Transfer(address indexed _from, address indexed _to, uint256 indexed _tokenId);

引用自:https://ethereum.stackexchange.com/questions/98354