
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@aeternity/aepp-cli
Advanced tools
Command Line Interface for the æternity blockchain.
You can install aecli
using your preferred tool (yarn
or npm
). Here's an npm
example
$ npm install --global @aeternity/aepp-cli
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, 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:
$ aecli account create ./wallet.json
Address ak_21A27UVVt3hDkBE5J7rhhqnH5YNb4Y1dqo4PnSybrH85pnWo7E
Path /path/to/wallet.json
You need to send some coins to the created wallet.
On testnet you can do that using faucet. Switch to testnet using
$ aecli select-node
.
Run $ aecli inspect <wallet address>
to ensure that it got coins.
$ aecli inspect ak_21A27UVVt3hDkBE5J7rhhqnH5YNb4Y1dqo4PnSybrH85pnWo7E
Account ID ak_21A27UVVt3hDkBE5J7rhhqnH5YNb4Y1dqo4PnSybrH85pnWo7E
Account balance 10000ae
Account nonce 0
No pending transactions
At the last step, we will send our coins to another account:
$ aecli spend ./wallet.json ak_AgV756Vfo99juwzNVgnjP1gXX1op1QN3NXTxvkPnHJPUDE8NT 42ae
Transaction mined
Transaction hash th_2muLsbZeFaVJ3tePTnLqobPhxBzwFsm1zUv8sjgMX4LKuevX2T
Block hash mh_dnoULQWpiRtcrntd5yJPUxcu7YrTu18xZ1e9EC2b8prKdShME
Block height 2 (about now)
Signatures ["sg_SG5uW5KEGiy5iG1cCkKq4VEdpyvewcW4NjVf4vj2ZoCiap5iB7UQoknWpyWsD4FkziBuGPE88zwXemq3ZvPrdzNtXtKuD"]
Transaction type SpendTx (ver. 1)
Sender address ak_21A27UVVt3hDkBE5J7rhhqnH5YNb4Y1dqo4PnSybrH85pnWo7E
Recipient address ak_AgV756Vfo99juwzNVgnjP1gXX1op1QN3NXTxvkPnHJPUDE8NT
Amount 42ae
Payload ba_Xfbg4g==
Fee 0.00001684ae
Nonce 1
TTL 4 (about now)
Find out more in the user guide.
account
sign
— sign a transaction using walletsign-message
— sign a personal message using walletverify-message
— check if message was signed by addressaddress
— get wallet address and optionally secret keycreate
— create a wallet by a secret key or generate a new onespend
— send coins to another account or contractname
contract
compile
— compile a contract to get bytecodeencode-calldata
— encode calldata for contract calldecode-call-result
— decode contract call resultcall
— execute a function of the contractdeploy
— deploy a contract on the chainoracle
create
— register current account as oracleextend
— extend oracle's time to leavecreate-query
— create an oracle queryrespond-query
— respond to an oracle querychain
inspect
— get details of a node entitytx
spend
— build spend transactionname-preclaim
— build name preclaim transactionname-claim
— build name claim transactionname-update
— build name update transactionname-transfer
— build name transfer transactionname-revoke
— build name revoke transactioncontract-deploy
— build contract deploy transactioncontract-call
— build contract call transactionoracle-register
— build oracle register transactionoracle-extend
— build oracle extend transactionoracle-post-query
— build oracle post query transactionoracle-respond
— build oracle respond transactionverify
— verify transaction using nodeconfig
— print the current sdk configurationselect-node
— specify node to use in other commandsselect-compiler
— specify compiler to use in other commands7.0.0 (2025-01-30)
aecli
migrates to a new secret key format. Use SDK's [tools] page to convert secret keys.
account: aecli account address
accepts --secretKey
instead --privateKey
contract: uses v8 compiler by default
contract: not compatible with v7 compiler
aens: commitmentId
removed from the JSON output of aecli name pre-claim
Use tx.commitmentId
instead.
some fields in node responses returned as numbers instead of strings
Namely:
abiVersion
vmVersion
callerNonce
senderNonce
oracleTtl.value
responseTtl.value
queryTtl.value
endsAt
tabbed data aligned without underscores
width of the first column in tabbed data depends on the content
FAQs
Aeternity command line interface
The npm package @aeternity/aepp-cli receives a total of 14 weekly downloads. As such, @aeternity/aepp-cli popularity was classified as not popular.
We found that @aeternity/aepp-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.