$ ./arweave -h
Usage: arweave [options] [command]
Options:
-v --version Show the version number
--host <hostname_or_ip> Set the network hostname to use
--protocol <protocol> Set the protocol to use (http or https)
--port <port_number> Set the network port to use
--timeout <milliseconds> Set the network request timeout
--key-file <key_file_path> Path to an Arweave key file
--winston Display winston values instead of AR
--debug Enable additional logging
-h, --help output usage information
Commands:
deploy [options] <file_path> Deploy a file
deploy-dir [options] <dir_path> Deploy a directory
send <amount_in_ar> <to_arweave_address> Send AR to another wallet
status <transaction_id> Check the status of a given transaction ID
balance Get the balance of your wallet.
network-info Get current network info
key-create <output_file> Create a key file for a new wallet
key-save <key_file_path> Save a key file and remove the need for the --key-file option
key-export Decrypt and export your key file
key-forget Forget your saved key file
key-inspect Inspect a key file
package [options] <file_path> <packaged_output_path> Package a web app into a single file
Examples:
Without a saved key file
arweave deploy index.html --key-file path/to/my/keyfile.json
arweave save-key --key-file path/to/my/keyfile.json
arweave balance --key-file path/to/my/keyfile.json
With a saved key file
arweave deploy index.html
arweave balance
Command specific options and flags:
arweave {command} --help, e.g. arweave deploy --help
More help:
https://github.com/arweaveTeam/arweave-deploy
$ ./arweave deploy dog.jpg --key-file arweave-key-YrAy1d●●●B0Hw.json
File
Path: dog.jpg
Size: 840.78 kB
Transaction
ID: FFqyYqWKFOVwTyIxWaYeG1_Cji0l6-E_ckV9Ha05jpY
Price: 0.000191845766 AR
Tags:
- Content-Type:image/jpeg
- User-Agent:ArweaveDeploy/1.8.2
Wallet
Address: YrAy1d●●●B0Hw
Current balance: 0.020000000000 AR
Balance after uploading: 0.019808154234 AR
Carefully check the above details are correct, then Type CONFIRM to complete this upload
Carefully check the above details are correct, then Type CONFIRM to complete this upload CONFIRM
Your file is deploying! 🚀
Once your file is mined into a block it'll be available on the following URL