Peera.

Publication

Partagez vos connaissances.

skywinder.
Apr 20, 2025
Questions et Réponses avec des Experts

Can blob_id replace image_url in NFT contracts on Sui?

I'm working on my NFT project and considering uploading NFT images to Walrus. I'm curious if Sui's display property supports using the blob_id as an image_url in NFT contracts. Would marketplaces like SuiVision recognize and render the images appropriately, or do I need a workaround?

  • Walrus
  • Typescript SDK
0
2
Partager
Commentaires
.

Réponses

2
DuAn.
Apr 20 2025, 06:13

Currently, you can't directly use the blob_id as the image_url in NFT contracts for Sui. Instead, you need to set the image_url to the URL of an aggregator along with the blob_id. For example, you can provide a URL like https://blobid.walrus/qwer5678…, which uses the blob ID to fetch the image through an aggregator system. One concern is if the aggregator's URL breaks or changes, you might need a function to update the NFT with a new URL. Alternatively, using an intermediary layer between the NFT and various aggregators could help ensure the image remains accessible.

0
Commentaires
.
Grizzly.
Apr 21 2025, 03:16

It's not currently in the plans for Sui's system or marketplaces like SuiVision to automatically recognize and render images just from blob_ids directly. It seems placing the responsibility on other apps is the current way forward.

0
Commentaires
.

Connaissez-vous la réponse ?

Veuillez vous connecter et la partager.

Walrus is a decentralized storage and data availability protocol designed specifically for large binary files, or "blobs"

14Publications23Réponses
Sui.X.Peera.

Gagne ta part de 1000 Sui

Gagne des points de réputation et obtiens des récompenses pour avoir aidé la communauté Sui à se développer.

Nous utilisons des cookies pour vous assurer la meilleure expérience sur notre site Web.
Plus d'infos