To install the CLI from npm
, run the following command:
npm i -g @availproject/cli
To use the CLI, then run:
avail --help
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>
You can use the lc
command to spin up a light client on a network of your choice:
avail lc up --network <network>
You can use the data
command to submit a data blob on a network of your choice:
avail data submit --network <network> <blob>