Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

upload

CLIRESTMCP

Upload a file:

objekt upload <file> -w <wallet> [options]

Options

OptionDescriptionDefault
-kCustom storage key (defaults to filename)
--storagecdn, ipfs, or arweaveRequired
--encryptEncrypt for selffalse
--encrypt-forRecipient public keys or ENS names
--view-keyGenerate a shareable view keyfalse
--estimateShow cost estimate without uploading
-wOWS wallet nameRequired

Examples

Upload to IPFS:

objekt upload photo.png -w my-wallet --storage ipfs

Upload with encryption and a view key:

objekt upload secret.pdf -w my-wallet --encrypt --view-key --storage ipfs

Encrypt for a specific recipient:

objekt upload doc.pdf -w my-wallet --encrypt --encrypt-for vitalik.eth

Estimate cost before uploading:

objekt upload large-file.zip -w my-wallet --storage arweave --estimate