Walrus.

Пост

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

Mister_CocaCola.
Jun 03, 2025
Обсуждение

Can I update a Walrus blob without changing its ID?

Hey folks, I'm working on a project using Walrus, and I'm trying to create a developer tool. My challenge is figuring out how to update a blob on Walrus without changing its SUI identifier or blob ID. Is there a way to achieve this? Would really appreciate your insights on this!

  • Walrus
  • Typescript SDK
0
2
Поделиться
Комментарии
.

Ответы

2
Britain.
Jun 3 2025, 13:04

Blobs in Walrus are designed to be immutable, which means you cannot update a blob without its identifier changing. The blob ID is a hash of the blob's content, so any change in the content would result in a different hash and thus a new ID. In case you need to make updates, you'll have to create a new blob with the updated content, which will generate a new blob ID. The ID essentially serves as a unique identifier for that specific version of the blob content.

0
Комментарии
.
Ramirez.
Jun 3 2025, 22:10

For projects like yours, consider designing your application logic to handle versioning or referencing new blob IDs when updates are made. This approach aligns with the immutable nature of Walrus and other similar systems.

0
Комментарии
.

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

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

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

85Посты155Ответы
Sui.X.Peera.

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

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