Uploads a single file.

Option
Description
-n
The network to check, mainnet or devnet, defaults to mainnet.
-t
The token to use when funding.
-w
Your private key.
--tags
Tags to include, format <name> <value>.
--provider-url
RPC URL to use.

irys upload myImage.png \
  -t ethereum \
  -w bf20......c9885307 \
  --tags tagName1 tagValue1 tagName2 tagValue2 

irys upload myImage.png \
  -n devnet \
  -t ethereum \
  -w bf20......c9885307 \
  --tags tagName1 tagValue1 tagName2 tagValue2 \
  --provider-url https://rpc.sepolia.dev
ℹ️

RPC URLs change often, use a recent one from https://chainlist.org/

Files uploaded via irys upload can be downloaded using the transaction ID provided after a successful upload.

irys upload myImage.png \
  -n devnet \
  -t aptos \
  -w bf20......c9885307 \
  --tags tagName1 tagValue1 tagName2 tagValue2

Loaded address: 0xac568a981b1370b2e1baa8ce30bd5ac9e28c572d
Uploaded to https://gateway.irys.xyz/yPX6_rwxfJ_2gTvXSHGoumIvlFR-EwuRlUMmHpeLHUM