Peera.

Post

Share your knowledge.

skywinder.
Apr 20, 2025
Expert Q&A

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
Share
Comments
.

Answers

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
Comments
.
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
Comments
.

Do you know the answer?

Please log in and share it.

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

14Posts23Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

We use cookies to ensure you get the best experience on our website.
More info