Command Line Interface for the æternity blockchain.
Installation
You can install aecli using your preferred tool (yarn or npm). Here's an npm example
$ npm install --global @aeternity/aepp-cli
Quick start
Let's ensure that CLI installed correctly by running $ aecli. It will show the available commands as below.
$ aecli
Usage: aecli [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
account handle wallet operations
spend [options] <wallet> <receiver> <amount> send coins to another account or contract
name manage AENS names
contract contract interactions
oracle interact with oracles
chain make a request to the node
inspect [options] <identifier> get details of a node entity
tx generate transactions to sign and submit manually
config [options] print the current sdk configuration
select-node [nodeUrl] specify node to use in other commands
select-compiler [compilerUrl] specify compiler to use in other commands
help [command] display help for command
To read documentation of other commands and sub-commands, you can append --help. For example, type aecli account --help to get a list of commands available in account module.
The next step is to create a wallet to use in other commands: