市值: $2.1465T -0.90%
成交额(24h): $42.1626B 6.62%
  • 市值: $2.1465T -0.90%
  • 成交额(24h): $42.1626B 6.62%
  • 恐惧与贪婪指数:
  • 市值: $2.1465T -0.90%
加密货币
话题
百科
资讯
加密话题
视频
热门新闻
加密货币
话题
百科
资讯
加密话题
视频
bitcoin
bitcoin

$87959.907984 USD

1.34%

ethereum
ethereum

$2920.497338 USD

3.04%

tether
tether

$0.999775 USD

0.00%

xrp
xrp

$2.237324 USD

8.12%

bnb
bnb

$860.243768 USD

0.90%

solana
solana

$138.089498 USD

5.43%

usd-coin
usd-coin

$0.999807 USD

0.01%

tron
tron

$0.272801 USD

-1.53%

dogecoin
dogecoin

$0.150904 USD

2.96%

cardano
cardano

$0.421635 USD

1.97%

hyperliquid
hyperliquid

$32.152445 USD

2.23%

bitcoin-cash
bitcoin-cash

$533.301069 USD

-1.94%

chainlink
chainlink

$12.953417 USD

2.68%

unus-sed-leo
unus-sed-leo

$9.535951 USD

0.73%

zcash
zcash

$521.483386 USD

-2.87%

加密货币新闻

Paima Studios 解决了 Cardano 的 NFT 交易元数据挑战,实现了新的用例

2024/07/08 19:07

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

Paima Studios 解决了 Cardano 的 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 美元。

原文来源:crypto-news-flash

免责声明:info@kdj.com

所提供的信息并非交易建议。根据本文提供的信息进行的任何投资,kdj.com不承担任何责任。加密货币具有高波动性,强烈建议您深入研究后,谨慎投资!

如您认为本网站上使用的内容侵犯了您的版权,请立即联系我们(info@kdj.com),我们将及时删除。

2026年08月03日 发表的其他文章