想知道为什么 Rarible 和 Opensea 使用同一个钱包地址来同步物品吗?

Want to know the reason how Rarible and Opensea sync the items using the same wallet address?

我正在做一个 NFT 项目,一旦我在 Rarible 上创建了一个项目,然后使用相同的钱包地址登录到 Opensea。然后我在 Rarible 上创建的项目会自动同步到 Opensea,包括标题、历史等。 所以,作为程序员。我想知道这个过程背后的原因,以及他们如何使用同一个钱包从一个人到另一个人获取这些数据。

当任何合约向以太坊写入符合 ERC721 的交易时,OpenSea 和 Rarible 等市场能够 monitor new blocks(例如通过事件流)创建新代币。由于此信息是 public,因此发行合约 id、所有者地址和令牌 id 等信息立即可用并可以检索。有关合约的其他信息也可以从合约构造者处获得。

此外,ERC721 合约的一种方法是 tokenURI. By navigating to this URI (often stored on immutable storage like IPFS), anyone observing the blockchain can retrieve additional metadata information about the token. This metadata usually includes an image, description and other custom attributes,它描述了 NFT。这允许市场在他们的交易所呈现 NFT。