Last updated
Was this helpful?
Last updated
Was this helpful?
Command Line Interface for the æternity blockchain.
You can install aecli
using your preferred tool (yarn
or npm
). Here's an npm
example
Let's ensure that CLI installed correctly by running $ aecli
. It will show the available commands as below.
To read documentation of other commands and sub-commands, you can append
--help
. For example, typeaecli account --help
to get a list of commands available inaccount
module.
The next step is to create a wallet to use in other commands:
You need to send some coins to the created wallet.
Run $ aecli inspect <wallet address>
to ensure that it got coins.
At the last step, we will send our coins to another account:
account
name
contract
oracle
chain
tx
On testnet you can do that using . Switch to testnet using $ aecli select-node
.
Find out more in the .
— sign a transaction using wallet
— sign a personal message using wallet
— check if message was signed by address
— get wallet address and optionally secret key
— create a wallet by a secret key or generate a new one
— send coins to another account or contract
— claim an AENS name in a single command
— pre-claim an AENS name
— claim an AENS name (requires pre-claim)
— bid on name in auction
— update a name pointer
— extend name TTL
— revoke an AENS name
— transfer a name to another account
— compile a contract to get bytecode
— encode calldata for contract call
— decode contract call result
— execute a function of the contract
— deploy a contract on the chain
— register current account as oracle
— extend oracle's time to leave
— create an oracle query
— respond to an oracle query
— query the top key/micro block of the chain
— query node version, network id, and related details of the selected node
— get relative TTL by absolute TTL
— prints blocks from top until condition
— send signed transaction to the chain
— get details of a node entity
— build spend transaction
— build name preclaim transaction
— build name claim transaction
— build name update transaction
— build name transfer transaction
— build name revoke transaction
— build contract deploy transaction
— build contract call transaction
— build oracle register transaction
— build oracle extend transaction
— build oracle post query transaction
— build oracle respond transaction
— verify transaction using node
— print the current sdk configuration
— specify node to use in other commands
— specify compiler to use in other commands