Peera.

Пост

Поделитесь своими знаниями.

skywinder.
Apr 20, 2025
Экспертные Вопросы и Ответы

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
Поделиться
Комментарии
.

Ответы

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
Комментарии
.
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
Комментарии
.

Знаете ответ?

Пожалуйста, войдите в систему и поделитесь им.

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

14Посты23Ответы
Sui.X.Peera.

Заработай свою долю из 1000 Sui

Зарабатывай очки репутации и получай награды за помощь в развитии сообщества Sui.

Мы используем файлы cookie, чтобы гарантировать вам лучший опыт на нашем сайте.
Подробнее