Nfts
Cardano’s NFT Metadata Challenge Solved by Paima Studios
As Cardano continues to expand its decentralized ecosystem, a significant challenge has been its native smart contract language, Plutus, and its inability to access transaction metadata. This limitation has impacted the functionality of NFTs, blockchain games, and other decentralized applications. Paima Studios, a Web3 application engine company, has now solved this problem, providing a breakthrough for Cardano developers.
Background and initial challenges
Paima co-founder Sébastien Guillemot unveiled the new update, highlighting the growing popularity of Cardano NFTs. These NFTs are issued under the CIP25 token standard, which is similar to Ethereum’s ERC-721. CIP25 defines an NFT’s attributes, such as image, name, and URL, in its transaction metadata. However, the inability of the Plutus language to access this metadata has hampered the development and use of dApps on the Cardano network.
See more
We managed to get a Cardano Plutus script to validate CIP25 metadata 🔥
Big implications and many new possible use cases:
・AMM NFT (not easily achievable in EVM!)
・New interoperability standards
・Chain Gamesand we just made it open-source🫡
How did we get there? ↓🧵 pic.twitter.com/KUikGQtWzX— Sébastien Guillemot (@SebastienGllmt) July 6, 2024
This problem is not unique to Cardano. Even Ethereum, which is more advanced, faces similar issues. Ethereum developers often use oracles to connect to off-chain data or implement complex mechanisms to work around this limitation. Cardano developers have also been looking for solutions, including through the CIP68 standard. CIP68 bypasses transaction metadata by introducing a new on-chain data system called datums. While effective, this solution has created additional challenges, such as higher costs and compatibility issues with existing tools that still support CIP25.
A new approach by Paima Studios
Guillemot and his team at Paima Studios have proposed a new approach to directly access metadata via Plutus, regardless of the token standard. This method involves using Plutus to access the transaction hash, which contains the metadata. A Plutus smart contract is equipped with the final transaction hash and performs all the necessary fields and checks to ensure the hash matches.
See more
So let’s say you have a Plutus smart contract
He knows the final hash of the transaction
So to prove that the transaction contains some metadata, you just need to
1. provide all other fields
2. Check hash matches!Fortunately, many fields are duplicated between the transaction body and the Plutus context pic.twitter.com/6G0zzbxaIJ
— Sébastien Guillemot (@SebastienGllmt) July 6, 2024
Guillemot explained the mechanics of this solution, explaining that they built an Aiken smart contract that can reconstruct the transaction binary data in Aiken and verify its correspondence with the hash. This new approach answers two key questions: feasibility and profitability.
The team found that this method significantly reduces costs compared to the CIP68 standard because it reduces the number of UTXOs required, cutting costs in half.
Consequences for the Cardano ecosystem
This development by Paima Studios represents a significant step forward for the Cardano ecosystem. By allowing Plutus to directly access transaction metadata, the new approach removes a major hurdle for developers, enabling greater innovation and better use of NFTs and other decentralized applications. The reduced costs also make the Cardano network more attractive to developers and users.
Additionally, this solution demonstrates the continued evolution of blockchain technology and the potential for continued improvement. By addressing one of the major limitations of the Cardano network, Paima Studios has paved the way for a more robust and versatile ecosystem.
Future prospects and potential
Looking ahead, the implications of this solution are profound. As Cardano developers begin to implement this new approach, it is likely to spark a wave of new applications and use cases, improving the overall functionality and appeal of the network. The ability to efficiently access and use transaction metadata will open up new possibilities for NFTs, on-chain gaming, and other decentralized applications.
Furthermore, this development highlights the importance of innovation and problem-solving in the blockchain space. By tackling complex challenges and finding effective solutions, companies like Paima Studios are driving the industry forward, paving the way for a more vibrant and integrated digital ecosystem.
In conclusion, Paima Studios’ breakthrough in enabling Plutus to access transaction metadata marks a turning point for the Cardano network. This solution not only solves a significant technical challenge, but also positions Cardano for continued growth and innovation. As the ecosystem evolves, contributions from forward-thinking companies and developers will be crucial in shaping the future of blockchain technology.