浅析不同 NFT 数据存储方法的优缺点以及未来展望

巴比特Published on 2022-04-25Last updated on 2022-04-25

Abstract

NFT 媒体存储领域仍然处在非常早期的阶段,还有很多工作要做

在过去的一年的时间里,创作者们通过使用NFT(非同质化代币)向他们的真正粉丝出售了数字艺术、收藏品和游戏项目,累计赚取了数十亿美元的资金。NFT是代表区块链上独特资产所有权的代币。每个NFT项目都有一个基于区块链的智能合约,可以跟踪谁拥有哪种资产。

每个NFT的核心是其元数据(metadata)。这个元数据包括对NFT的描述(名称、属性、属性等)和其媒体文件(图像、视频、音频等)的指示器(pointer)。

将这些信息直接存储在区块链上是很昂贵的,所以大多数NFT项目将其数据存储在其他地方,只在其智能合约中保留一个存储链接。

常见的NFT数据结构的例子

在这篇作品中,我将介绍:

概述不同的NFT数据存储方法的优势和劣势

调查每种数据存储方法的采用程度

讨论NFT数据存储的未来

存储方法

中心化存储

存储NFT数据最糟糕的选择是在中心化的服务器上。如果一个NFT项目的元数据和媒体文件存储在一个服务器上,而创建者停止维护该服务器,那么该数据将永远消失,从而最终使NFT成为“空白”。控制服务器的人也可以在任何时候改变NFT的描述和内容,而无需得到所有者的许可。这完全违背了NFT的目的。如果你的资产可以被查封、改变或审查,那么你就没有它的真正所有权。

使用一个去中心化的文件存储解决方案是防止扣押、更改和审查的关键。两个最流行的存储NFT数据的去中心化方案是InterPlanetaryFileSystem(IPFS)和Arweave。

IPFS

IPFS是一个点对点的文件存储网络。一个被称为节点的计算机存储已上传到网络的文件,并使用独特的哈希值来识别这些文件。IPFS和基于网络的文件存储之间最大的区别是,IPFS使用了一个基于内容的地址系统。当一个文件请求被提出时,网络会使用文件的哈希值找到一个持有该文件的节点,并将其提供给请求者。

IPFS的弱点是不能保证文件存储的持久性。这意味着上传到IPFS的数据不会永久地留在那里。只要网络中的一个节点正在存储内容并使其可用,那么文件就会存在于IPFS上,这也被称为“钉(pinning)”。

为了在IPFS上长期存储文件,许多NFT项目和市场要么手动钉住他们的数据,要么使用pining服务,以确保总是至少有一个IPFS节点持有副本。如果维护NFT的IPFS数据的项目或平台发生故障并停止钉住文件,那么随着持有副本的节点清除其内存缓存或被关闭,所有存储的信息将随着时间的推移而丢失。

Arweave

Arweave是一个去中心化的文件存储网络,它可以保证文件存储的持久性。用户支付一次性费用来支付200年的存储成本。200年的基准是一个极其保守的估计,因为物理数据存储价格的将在未来不断下降。如果成本下降的速度超过估计,Arweave文件的存储时间将远远超过200年。

Arweave网络中的计算机被称为矿工,矿工被激励使用AR代币来复制和存储其他矿工很少存储的数据副本。这确保了文件不会随着时间的推移而丢失,不需要原始上传者的持续维护。

Arweave在一个叫做blockweave的结构中存储数据。每个新的数据块都与前一个区块和一个历史区块相连。矿工必须证明他们有机会接触到这些随机选择的历史区块,从而挖出新的区块并获得奖励,这确保了较早的区块被保留下来。

Blockweave

链上

使用IPFS或Arweave比依靠中心化存储要好得多,但它仍然需要指向链下。将NFT元数据和媒体存储在与NFT相同的链上是最抗脆弱的方法,但在链上存储数据的成本很高。保持数据在链上的NFT项目利用一系列的压缩技术来降低这一成本。

当前主要公链上的NFT存储采用情况

以太坊

在以太坊上,IPFS是最受欢迎的NFT元数据存储媒介。按交易量排名前100的NFT合约中,48%的合约的元数据存储在IPFS上。不幸的是,中心化服务器是以太坊上NFT元数据存储的第二大选择。

此外,同样值得注意的是,在IPFS上存储元数据的顶级项目中,有20%在它们的合约中使用了来自Pinata的专用网关链接,而不是默认的IPFS链接。Pinata是最受欢迎的IPFSpining和数据管理服务之一。如果Pinata有一天关闭了,这些链接就会中断,那么相对应的NFT就会变成空白。

前100名以太坊元数据存储

前100名以太坊收藏品媒体文件存储

在样本组中,有31%的项目使用了中心化服务器来存储元数据,并将其媒体文件存储在IPFS或Arweave上。虽然这比把所有东西都存储在私人服务器上要好,但它并没有降低收集者的风险。基本上,如果元数据被破坏了,那么媒体文件也会丢失。

Solana

Arweave是Solana上最主要的NFT数据存储选项,90%的顶级交易项目都使用它来保存元数据。对持久性的保证和缺乏维护的要求使得Arweave成为较新的生态系统中的项目的一个有吸引力的选择,在那里IPFS并不占有那么多的市场份额。此外,一些最流行的铸造SolanaNFT的工具包,例如Metaplex,使用Arweave作为默认存储方法。

前50名的Solana收藏品元数据存储

前50名的Solana收藏品媒体文件存储

Polygon

PolygonNFT生态系统有很高的中心化风险。61%的顶级交易项目依靠私人服务器进行元数据存储。

前100名的Polygon元数据存储

前100名的Polygon收藏品媒体文件存储

我应该如何存储NFT项目的数据?

将您的NFT元数据和媒体存储在链上,确保数据在底层区块链存续的时间内得到保存。你可以作为参考的强大实现包括UniswapV3NFT、Blitmaps和NounsDAO。然而,在链上存储大型媒体资产可能会非常昂贵,所以这种方法并不总是非常实用。

大多数NFT项目的最佳存储选项是Arweave。如果你有编程技术,你可以使用BundlrCLI将你的NFT数据上传至Arweave。如果你是技术小白,那么ArDrive网络应用程序为Arweave文件上传提供了一个无代码的解决方案。在以太坊生态系统中,你可以使用Manifold平台来轻松创建和部署带有Arweave数据存储的NFT合约。而在Solana上,Metaplex提供了一个工具包,用于用Arweave数据存储铸造NFT。

IPFS是下一个最佳选择。有大量的平台和开发者工具用于管理IPFS存储,包括NFT.Storage、Pinata和IPFSCLI。Thirdweb提供了一个无代码的仪表板和一个开发者工具包,用于在多个链上创建具有IPFS数据存储的NFT项目。

你不应该使用中心化服务器进行元数据和媒体的长期存储。这种选择带来了最高的数据丢失和损坏的风险。

NFT媒体存储的未来

我预测,我们将看到许多高价值的NFT藏品的媒体文件被损坏或永远丢失的事件。迟早有一天,一个具有高地板价和中心化存储的项目会崩溃。维护服务器的团队要么停止支付他们的服务器费用,要么忘记更新NFT合约指向的元数据的域名所有权。

像这样的事件将提高人们对NFT数据存储环境的脆弱性的认识,认真的NFT收集者将避免使用那些不使用去中心化的数据存储的项目。

更多依靠中心化数据存储的NFT项目和平台将过渡到去中心化的选择,以确保其寿命。这个过程通常会涉及以下内容:

将项目的数据上传到IPFS或Arweave

让NFT合约的创建者重置元数据的链接。

销毁合约创建者钱包的钥匙,以确保未来没有人有能力改变这个链接。

开放的问题

目前NFT媒体存储的状态比大多数收藏家意识到的风险要大得多。该领域仍然处在非常早期的阶段,还有很多工作要做。需要取得进展的具体领域包括:

NFT市场和应用程序公布NFT元数据和媒体资产的存储位置信息,以便有风险意识的持有者能够做出明智的决定。

新的平台使高价值资产的所有者能够简单地检查其IPFS依赖的NFT的健康状况,锁定其NFT的数据,并在丢失的情况下恢复这些数据。

改善使用去中心化存储NFT平台的基础设施的体验。例如,Bundlr帮助平台更有效地在Arweave上存储它们的数据,并允许它们用它们的原生代币进行支付,而不是使用AR代币。

Related Reads

Podcast Notes: Hyperliquid Has Become the Top Interest Point for Traditional Hedge Funds

Empire Podcast hosts Jason Yanowitz and Santiago Santos discuss the surging institutional interest in Hyperliquid, a decentralized perpetual exchange, marking the highest level of engagement from traditional hedge fund managers since Paul Tudor Jones endorsed Bitcoin in 2020. The primary driver is the demand for weekend trading of commodities like oil, especially during geopolitical tensions such as the Iran conflict, as Hyperliquid provides the only active price discovery venue when traditional markets are closed. Trade XYZ, a front-end on Hyperliquid, has seen significant growth, with weekend oil price predictions having a median error of only 50 basis points. Santos predicts commodity trading volume on Hyperliquid will surpass Bitcoin within the year and that its market cap could rise from $25 billion to $100 billion. Other key points include Kraken raising $200 million at a reduced valuation of $13.3 billion, and the SEC clarifying that self-custodied DeFi frontends like MetaMask are not subject to broker-dealer rules, resolving a major regulatory uncertainty. The hosts also note the strong correlation between crypto and macro markets, with the S&P 500 posting one of its best 10-day rallies since 1950. They highlight MicroStrategy's continued Bitcoin acquisitions and the potential of real-world asset (RWA) tokenization as a key trend. The discussion concludes with skepticism towards many L2 projects, predicting a wave of protocols truly going to zero as capital concentrates in proven assets like Bitcoin and Hyperliquid.

marsbit5h ago

Podcast Notes: Hyperliquid Has Become the Top Interest Point for Traditional Hedge Funds

marsbit5h ago

a16z: The Next Frontier of AI, The Triple Flywheel of Robotics, Autonomous Science, and Brain-Computer Interfaces

a16z presents a comprehensive investment thesis for the next frontier of AI: Physical AI, centered on a synergistic flywheel of robotics, autonomous science, and novel human-computer interfaces (HCIs) like brain-computers. While the current AI paradigm scales on language and code, the most disruptive future capabilities will emerge from three adjacent fields leveraging five core technical primitives: 1) learned representations of physical dynamics (via models like VLA, WAM, and native embodied models), 2) embodied action architectures (e.g., dual-system designs, diffusion-based motion generation, and RL fine-tuning like RECAP), 3) simulation and synthetic data as scaling infrastructure, 4) expanded sensory channels (touch, neural signals, silent speech, olfaction), and 5) closed-loop agent systems for long-horizon tasks. These primitives converge to power three key domains: * **Robotics:** The literal embodiment of AI, requiring all primitives for real-world physical interaction and manipulation. * **Autonomous Science:** Self-driving labs that conduct hypothesis-experiment-analysis loops, generating structured, causally-grounded data to improve physical AI models. * **Novel HCIs:** Devices (AR glasses, EMG wearables, BCIs) that expand human-AI bandwidth and act as massive data-collection networks for real-world human experience. These domains form a mutually reinforcing flywheel: Robotics enable autonomous labs, which in turn generate valuable data for robotics and materials science. New interfaces provide rich human-physical interaction data to train better robots and scientists. Together, they represent a new scaling axis for AI, moving beyond the digital realm to interact with and learn from physical reality, promising significant emergent capabilities and value.

marsbit5h ago

a16z: The Next Frontier of AI, The Triple Flywheel of Robotics, Autonomous Science, and Brain-Computer Interfaces

marsbit5h ago

Trading

Spot
Futures

Hot Articles

How to Buy FIL

Welcome to HTX.com! We've made purchasing Filecoin (FIL) simple and convenient. Follow our step-by-step guide to embark on your crypto journey.Step 1: Create Your HTX AccountUse your email or phone number to sign up for a free account on HTX. Experience a hassle-free registration journey and unlock all features.Get My AccountStep 2: Go to Buy Crypto and Choose Your Payment MethodCredit/Debit Card: Use your Visa or Mastercard to buy Filecoin (FIL) instantly.Balance: Use funds from your HTX account balance to trade seamlessly.Third Parties: We've added popular payment methods such as Google Pay and Apple Pay to enhance convenience.P2P: Trade directly with other users on HTX.Over-the-Counter (OTC): We offer tailor-made services and competitive exchange rates for traders.Step 3: Store Your Filecoin (FIL)After purchasing your Filecoin (FIL), store it in your HTX account. Alternatively, you can send it elsewhere via blockchain transfer or use it to trade other cryptocurrencies.Step 4: Trade Filecoin (FIL)Easily trade Filecoin (FIL) on HTX's spot market. Simply access your account, select your trading pair, execute your trades, and monitor in real-time. We offer a user-friendly experience for both beginners and seasoned traders.

15.4k Total ViewsPublished 2024.03.29Updated 2025.05.06

How to Buy FIL

Discussions

Welcome to the HTX Community. Here, you can stay informed about the latest platform developments and gain access to professional market insights. Users' opinions on the price of FIL (FIL) are presented below.

活动图片