Command Line
deploy/scripts/storage.sh runs the tool in the stack's network with the current directory mounted.
| Command |
Purpose |
whoami |
Author key |
file publish PATH [--propagate] [--region R]... [--not-before S] [--expires-at S] [--priority N] |
Publish a file |
file command CID hot\|cold\|stop\|rewarm |
Command |
file delete CID |
Delete |
file get AUTHOR CID OUT [--proxy URL] |
Download and verify |
asset publish METADATA [--asset PATH] |
Publish an asset |
asset find [--name N] [--publisher K] |
Find assets |
Environment
| Variable |
Meaning |
AUTHOR_KEY |
Name of the key in the signer. author by default |
SIGNER_URL, SIGNER_TOKEN |
Signer |
ORIGIN_URL, ORIGIN_TOKEN, ORIGIN_PUBLIC_URL |
Origin, and its address in manifests |
HYPERDRIVE_URL, HYPERDRIVE_TOKEN |
Hyperdrive |
L2_URL |
Asset index |
AGGREGATOR_URL |
File index |
DFDAEMON_PROXY |
Dragonfly peer |
RELAYS_FILE |
JSON list of relays. /config/relays.json by default |