Skip to content

availproject/cli

Repository files navigation

Avail CLI

To install the CLI from npm, run the following command:

npm i -g @availproject/cli

To use the CLI, then run:

avail --help

Commands

transfer

You can use the transfer command to transfer on any Avail network:

export AVAIL_SEED=<your seed phrase>
avail transfer --network <network> <to> <value>
# or you can pass it like:
AVAIL_SEED=<your seed phrase> avail transfer --network <network> <to> <value>

lc

You can use the lc command to spin up a light client on a network of your choice:

avail lc up --network <network>

data

You can use the data command to submit a data blob on a network of your choice:

avail data submit --network <network> <blob>