|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
随着卡尔达诺逐渐融入蓬勃发展的去中心化生态系统,困扰该网络的一项挑战是原生智能合约语言 Plutus 无法访问交易元数据,从而阻碍了 NFT、链上游戏等。

Cardano’s decentralized ecosystem is expanding rapidly, but one challenge that has limited the network’s capabilities is the inability of Plutus, the native smart contracts language, to access transaction metadata. This limitation has hindered the development of NFTs, on-chain games, and other applications.
卡尔达诺的去中心化生态系统正在迅速扩张,但限制网络功能的一个挑战是原生智能合约语言 Plutus 无法访问交易元数据。这一限制阻碍了 NFT、链上游戏和其他应用的发展。
However, Paima Studios, a Web3 application engine company, has now found a solution to this problem. Sebastien Guillemot, co-founder of Paima, announced the new update on Monday.
不过,Web3应用引擎公司Paima Studios现在已经找到了解决这个问题的方法。 Paima 联合创始人 Sebastien Guillemot 于周一宣布了新的更新。
We managed to get a Cardano Plutus script to validate CIP25 metadata ?
我们设法获得了 Cardano Plutus 脚本来验证 CIP25 元数据 ?
Big implications, and enables many new use-cases:
意义重大,并支持许多新的用例:
- NFT AMMs (not easily doable in EVM!)
- NFT AMM(在 EVM 中不容易实现!)
- New interop standards
- 新的互操作标准
- Onchain games
- 链上游戏
and we just open-sourced it
我们刚刚将其开源
Cardano NFTs are issued under the token standard CIP25, which defines how NFT issuers can specify an NFT’s attributes, such as its image, name, URL, and more, in its transaction metadata. However, the challenge for Cardano developers is that Plutus is unable to access this metadata. This limitation prevents dApps built on Cardano from accessing this data and limits the use cases for NFTs on the network.
Cardano NFT 是根据代币标准 CIP25 发行的,该标准定义了 NFT 发行者如何在其交易元数据中指定 NFT 的属性,例如其图像、名称、URL 等。然而,卡尔达诺开发人员面临的挑战是普利拓斯无法访问这些元数据。这一限制阻止了基于 Cardano 构建的 dApp 访问这些数据,并限制了 NFT 在网络上的使用案例。
To solve this problem, Guillemot and his team at Paima are proposing a new approach that can access metadata directly from Plutus, regardless of the token standard. This is achieved by having Plutus access the final transaction hash, which contains the metadata.
为了解决这个问题,Guillemot 和他在 Paima 的团队提出了一种新方法,可以直接从 Plutus 访问元数据,而不管代币标准如何。这是通过让 Plutus 访问包含元数据的最终交易哈希来实现的。
But what if we could access tx metadata (CIP25 & more) directly from Plutus? ?
但是,如果我们可以直接从 Plutus 访问交易元数据(CIP25 及更多)呢? ?
It turns out you can using a clever trick!
事实证明你可以使用一个聪明的技巧!
Plutus cannot access metadata directly, but can access the tx hash (which contains the metadata!) pic.twitter.com/pmDxqc8ohK
Plutus 无法直接访问元数据,但可以访问 tx 哈希(其中包含元数据!)pic.twitter.com/pmDxqc8ohK
— Sebastien Guillemot (@SebastienGllmt) July 6, 2024
- Sebastien Guillemot (@SebastienGllmt) 2024 年 7 月 6 日
A Plutus smart contract is then armed with all the other fields and checks that the hash matches. Guillemot explains the mechanics further, stating:
然后,普利拓斯智能合约配备所有其他字段并检查哈希是否匹配。 Guillemot 进一步解释了其机制,指出:
We built an Aiken smart contract that does exactly this: it reconstructs the transaction binary data in Aiken and checks if it matches the hash! This answers one of two questions: Is it feasible? Is it efficient/cheap enough?
我们构建了一个 Aiken 智能合约,它正是这样做的:它重建 Aiken 中的交易二进制数据并检查它是否与哈希匹配!这回答了两个问题之一:可行吗?它足够高效/便宜吗?
According to Guillemot’s team, this new approach costs half as much as the standard CIP68, as it reduces the number of UTXOs.
Guillemot 团队表示,这种新方法的成本是标准 CIP68 的一半,因为它减少了 UTXO 的数量。
Meanwhile, ADA is trading at $0.3744, up 2.36% in the last 24 hours. It dipped to a 24-hour low of $0.3335 before staging a comeback.
与此同时,ADA 的交易价格为 0.3744 美元,在过去 24 小时内上涨了 2.36%。在卷土重来之前,它跌至 24 小时低点 0.3335 美元。
免责声明:info@kdj.com
所提供的信息并非交易建议。根据本文提供的信息进行的任何投资,kdj.com不承担任何责任。加密货币具有高波动性,强烈建议您深入研究后,谨慎投资!
如您认为本网站上使用的内容侵犯了您的版权,请立即联系我们(info@kdj.com),我们将及时删除。
-
- 比特币、eCash 分叉和空投动态:深入探讨加密货币的最新争议
- 2026-05-03 00:52:02
- 探索最近的 eCash 分叉、其作为高风险空投的分类,以及对比特币和加密生态系统的更广泛影响。
-
-
- 美联储维持利率稳定,地缘政治紧张局势引发比特币价格下跌
- 2026-05-01 04:04:38
- 美联储维持利率的决定,加上中东冲突,影响了比特币的价格。分析近期趋势和市场反应。
-
-
-
-
-
-

































