@aeternity/aepp-cli
Advanced tools
Changelog
6.0.0 (2024-04-16)
Check out the new documentation at docs.aeternity.com/aepp-cli-js
aecli oracle get
removedUse aecli inspect
instead.
Remove extra argument:
- $ aecli oracle extend ./wallet.json ok_2a1j2Mk9YSmC1gioUq4PWRm3bsv887MbuRVwyv4KaUGoR1eiKi 200
+ $ aecli oracle extend ./wallet.json 200
- $ aecli oracle respond-query ./wallet.json ok_2a1j2Mk9YSmC1gi... oq_6y3N9KqQb74QsvR... +16Degree
+ $ aecli oracle respond-query ./wallet.json oq_6y3N9KqQb74QsvR... +16Degree
aecli account verify-message
accepts signer address instead walletaecli chain network_id
removedUse aecli chain status
instead.
--no-waitMined
anymoreIn the most cases transactions gets mined immediately. In case of NameClaim, tx needs to be
submitted in the next keyblock after preclaim. In that case it would be mined also immediately,
with no early name revealing.
If still needed, use aecli chain broadcast tx_... --no-waitMined
instead.
account save
removedUse account create
instead:
-$ aecli account save ./my-wallet.json <hex secret key>
+$ aecli account create ./my-wallet.json <hex secret key>
aecli account spend
renamed to aecli spend
Use the below to switch back to testnet.
$ aecli select-node https://testnet.aeternity.io
Because nodejs@16 is not maintained currently.
name lookup
command removedUse inspect
instead.
- aecli name lookup <name.chain>
+ aecli inspect <name.chain>
account generate
command removedUse account create
in a cycle instead.
crypto sign
command removedUse account sign
instead.
crypto unpack
command removedUse inspect
instead.
- aecli crypto unpack <tx-prefixed transaction>
+ aecli inspect <tx-prefixed transaction>
crypto decode
removedUse another base58 decoder if necessary.
account balance
, account nonce
commands removedUse inspect <ak-address>
instead.
- aecli account balance wallet.json --password=123
- aecli account nonce wallet.json --password=123
+ address=$(aecli account address wallet.json --json | jq -r .publicKey)
+ aecli inspect $address
output
optionaccount spend
returns unwrapped JSON- aecli account spend ... | jq .tx.tx.amount
+ aecli spend ... | jq .tx.amount
account transfer
command removedUse spend
instead.
- aecli account transfer 0.42 <recipient>
+ aecli spend 42% <recipient>
name extend
(0d4aa51)-G
flag for both gas and gas price (047cf8e)--networkId
in commands where node is required (cfd7ac5)account create
and account save
(fdaeeff)aecli account spend
to aecli spend
(4af1b4c)account generate
command (1c6abd8)balance
, nonce
commands (b4792e6)output
option (74a8a37)network_id
command (4d4adce)crypto sign
command (bb39f07)crypto unpack
command (37b9965)crypto decode
command (a0d9b05)name lookup
command (e4f9b50)oracle get
(6db5dc2)Changelog
5.0.0 (2023-04-08)
Contract descriptors needs to be regenerated.
contract call
accepts wallet_path
as the last argumentFor example, replace
$ aecli contract call ./wallet.json foo '[1, 2]'
with
$ aecli contract call foo '[1, 2]' ./wallet.json
account spend
doesn't accept denomination
parameterae
instead of denomination
option (70ceb67)select-node
, select-compiler
commands (87b2ede)deposit
field in contract call tx (a1aa7c7)Changelog
4.1.0 (2022-07-28)
crypto decrypt
command (03c645c)crypto genkey
command (32e5b0f)Changelog
4.0.0 (2022-04-07)
Run aecli contract deploy --help
to get the latest documentation.
Affected commands: contract deploy
, contract call
.
Removed commands: contract encodeData
, contract decodeCallData
.
Added commands: contract encode-calldata
, contract decode-call-result
.
Changelog
3.0.0 (2021-06-10)