upload
| CLI | REST | MCP |
|---|---|---|
| ✅ | ✅ | ✅ |
Upload a file:
objekt upload <file> -w <wallet> [options]Options
| Option | Description | Default |
|---|---|---|
-k | Custom storage key (defaults to filename) | — |
--storage | cdn, ipfs, or arweave | Required |
--encrypt | Encrypt for self | false |
--encrypt-for | Recipient public keys or ENS names | — |
--view-key | Generate a shareable view key | false |
--estimate | Show cost estimate without uploading | — |
-w | OWS wallet name | Required |
Examples
Upload to IPFS:
objekt upload photo.png -w my-wallet --storage ipfsUpload with encryption and a view key:
objekt upload secret.pdf -w my-wallet --encrypt --view-key --storage ipfsEncrypt for a specific recipient:
objekt upload doc.pdf -w my-wallet --encrypt --encrypt-for vitalik.ethEstimate cost before uploading:
objekt upload large-file.zip -w my-wallet --storage arweave --estimate