nexus walrus
Audience: Nexus CLI users storing inputs or outputs in Walrus.
Command: nexus walrus.
Generated from: Nexus CLI source at annotated tag v2.2.0, peeled commit c996eda4f125989cbec4f1cdc5d5e5235a558167, cli/src/walrus.
Transaction-writing Walrus commands use the wallet and network selected by the Sui RPC; uploads need WAL for storage and SUI for transaction gas. Install CLI 2.2.0 from the checksum-verified GitHub release archive or use the optional source route before using these commands. upload --estimate does not need a signing wallet.
Commands
status
Show the storage network, wallet address, aggregator, and defaults.
configure --epochs 5
Set the default retention period; accepted values are 1–53 epochs.
configure --aggregator URL --network testnet
Select a custom reader for the named network; mainnet is also supported.
configure --reset-aggregator
Restore the network's default reader.
upload FILE --estimate
Validate JSON and display storage quotes without signing or submitting transactions.
upload FILE --out REFERENCE
Pay for, upload, certify, and verify data, then save a reusable reference.
inspect REFERENCE
Read saved metadata and verify content and its digest; no signing key is needed.
download REFERENCE --out FILE
Download and verify the data without a signing key.
list [--include-expired]
List Blob objects owned by the wallet.
extend REFERENCE --epochs 2 --max-storage-cost-frost 100000000
Extend owned storage and refresh the reference from chain.
delete REFERENCE --yes
Delete owned, explicitly deletable storage.
upload --estimate follows the upload encoding and price path without constructing a signing wallet. It returns payer: null and includes_sui_gas: false, so its estimate covers storage pricing only.
upload treats the JSON document as one value. --many instead uploads each array item separately. --epochs overrides retention, --deletable permits owner deletion, and --out defaults to FILE.walrus.json. Each upload must fit the 8 MiB resolved-data budget. Permanent storage remains available until expiry; it does not mean indefinite retention.
--max-storage-cost-frost limits the estimated WAL storage cost per blob, not the total of a batch. The actual charge uses prices at execution and may differ. --storage-gas-budget limits SUI gas per storage transaction and defaults to 100,000,000 MIST. extend requires an explicit storage-cost ceiling.
Upload and reuse a task input
The final command creates funded on-chain work; replace the DAG identifier and port with the intended published DAG. A portable reference contains network, ownership, expiry, and content metadata. Only blob identifiers and SHA256 commitments enter protocol inputs. See Task input options for --input-file, selected --remote uploads, and reference output paths.
Interrupted uploads and expiry
Uploads save signed registrations and progress beside the reference in a .uploads directory. After interruption, repeat the same standalone upload command and options with --resume; do not use --estimate with --resume. Resume reuses the saved paid registration. If submission is uncertain, reconcile the original signed transaction instead of buying another registration.
Task uploads resume matching work when the same --remote-receipts directory is reused. Keep reference and recovery files even if Task submission fails: storage payment and Task submission are separate operations. Neither a local reference file nor a successful upload proves that a Task was created.
Tasks do not renew storage automatically. Choose retention that covers every occurrence and extend the owned Blob objects before expiry. Deletion can break tasks that still reference the data. Walrus data is public; it is not a secret store. Verify ownership, content, and expiry before scheduling dependent work.
The CLI does not use a publisher URL. Legacy publisher configuration is ignored and removed on the next configuration save. Default aggregators follow the Sui network; custom aggregators are explicitly network-bound.
Last updated

