Post
Share your knowledge.
How to use Walrus storage with Sui without Move language?
I'm trying to transition my dapp to Sui for using Walrus storage, but I'm currently a solo developer without users. I don't want to switch to the Move language unless absolutely necessary. I need to fetch data from web APIs or preferably directly from Sui or EVM contracts. I wish to understand if it’s possible to interface with Walrus like a database, primarily using blob IDs for data access. Initial documentation looks a bit puzzling. Any thoughts on how to better navigate this?
- Walrus
- Typescript SDK
Answers
2Using Walrus, you mainly interact with blob IDs to manage and store your data. It's possible to utilize blob IDs in combination with the public aggregators to read images and store files, as mentioned in an example available on GitHub. To operate with Walrus without switching fully to the Move language, consider interacting with its CLI or using JSON and HTTP APIs provided by Walrus. However, certain operations like managing metadata and storage lifecycle are still facilitated by Sui smart contracts.
Walrus functions by emitting resource events that storage nodes listen to for validation of off-chain storage operations. After certification and registration of a blob, you can perform reads using the blob ID, which gets you the necessary data without the need to directly manipulate Move code.
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"