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 社区成长而获得奖励。