Post
Share your knowledge.
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
Answers
2Blobs 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.
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.
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"