Skip to content

Uploader

View as Markdown

Use thru uploader when you need the lower-level upload-buffer lifecycle rather than managed program operations.

  • you want to upload a binary without going through the managed program flow
  • you need to inspect or clean up uploader accounts directly

Choose another family when:

CommandUse it for
uploadUpload a program binary through uploader accounts.
cleanupRemove uploader-related accounts for a seed.
statusInspect uploader account state for a seed.
FlagWhy it matters
--uploaderOverride the configured uploader program ID.
—fee-payer <KEY_NAME>Select the configured key that signs and pays for every upload or cleanup transaction.
--chunk-sizeControl chunk sizing for upload transactions.
Terminal window
thru uploader upload --fee-payer deployer my_program ./build/thruvm/bin/my_program_c.bin
thru uploader status my_program
thru uploader cleanup --fee-payer deployer my_program
  • Prefer program create or program upgrade for most app-facing deployment tasks.
  • Use cleanup when a previous upload left partial uploader state behind.
  • If --fee-payer is omitted, mutating commands fall back to the configured default key. status is read-only and does not load a private key.