Walrus.

Допис

Діліться своїми знаннями.

kryptoschain.
May 16, 2025
Питання та відповіді експертів

How to keep blob ownership when using Node.js for publishing?

I'm building a content posting platform called Scribe, where users can write and post content. Currently, when I publish blobs using CLI, my address is the owner. However, when using Node.js, the publisher's address becomes the owner. Is there a way to maintain ownership of blobs published through Node.js?

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

Відповіді

2
Mister_CocaCola.
May 16 2025, 13:21

Currently, there isn't native support for maintaining ownership via the HTTP API, but plans to add this feature are underway. As a workaround, using the send_object_to query parameter when storing a blob can transfer the blob object to your specified address, thereby maintaining ownership.

0
Коментарі
.
skywinder.
May 16 2025, 19:04

You can maintain ownership of blobs published with Node.js by setting up your own internal publisher using walrus publisher. This will ensure your CLI SUI account owns the objects. However, you'll need to implement some logic to transfer the blobs to the poster's account if needed.

0
Коментарі
.

Ви знаєте відповідь?

Будь ласка, увійдіть та поділіться нею.

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

74Пости129Відповіді
Sui.X.Peera.

Зароби свою частку з 1000 Sui

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

Ми використовуємо файли cookie, щоб гарантувати вам найкращий досвід на нашому сайті.
Детальніше