6.0.0
⚠ Ceres and aehopsia@8 compatibility not stable, since they are not officially released yet
Check out the new documentation at docs.aeternity.com/aepp-cli-js
⚠ BREAKING CHANGES
oracle: aecli oracle get
removed
Use aecli inspect
instead.
oracle: aecli don't accept already known account address in oracles
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
account: aecli account verify-message
accepts signer address instead wallet
chain: aecli chain network_id
removed
Use aecli chain status
instead.
Commands don't accept --no-waitMined
anymore
In 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: account save
removed
Use account create
instead:
-$ aecli account save ./my-wallet.json <hex secret key>
+$ aecli account create ./my-wallet.json <hex secret key>
account: aecli account spend
renamed to aecli spend
chain: aecli connects to mainnet by default
Use the below to switch back to testnet.
$ aecli select-node https://testnet.aeternity.io
require nodejs@18 or newer
Because nodejs@16 is not maintained currently.
name: name lookup
command removed
Use inspect
instead.
- aecli name lookup <name.chain>
+ aecli inspect <name.chain>
account: account generate
command removed
Use account create
in a cycle instead.
crypto: crypto sign
command removed
Use account sign
instead.
crypto: crypto unpack
command removed
Use inspect
instead.
- aecli crypto unpack <tx-prefixed transaction>
+ aecli inspect <tx-prefixed transaction>
crypto: crypto decode
removed
Use another base58 decoder if necessary.
account: account balance
, account nonce
commands removed
Use 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
account: remove useless output
option
account: account spend
returns unwrapped JSON
- aecli account spend ... | jq .tx.tx.amount
+ aecli spend ... | jq .tx.amount
account: account transfer
command removed
Use spend
instead.
- aecli account transfer 0.42 <recipient>
+ aecli spend 42% <recipient>
Features
- account: accept password in env variable, notice password recorded (302c8b3)
- account: show approximate tx execution cost before asking password (9c97844)
- account: verify message by address instead wallet (4128276)
- aens: don't require name ttl in
name extend
(0d4aa51) - aens: print missed name details, be human-friendly (91c7731)
- aens: show auction details (75217c3)
- chain: show protocol version in config (35496fb)
- contract: accept amount in contract and tx builder commands (1dbd195)
- show extra info in tx details, consistent fields naming (5a9f4cc)
Bug Fixes
- account: don't ask for password if it is empty (daefd21)
- account: don't ask password if it is not required (54d70fb)
- aens: handle revoked names, refactor docs (70b46c2)
- chain: use mainnet instead testnet by default (5a81814)
- contract: don't show stacktrace if static contract call failed (694d400)
- contract: don't use
-G
flag for both gas and gas price (047cf8e) - don't accept
--networkId
in commands where node is required (cfd7ac5) - don't print contract deposit because it can't be used (47e0306)
- don't show stacktraces for RestErrors (e7f2e58)
- oracle: don't require extra arguments, refactor examples (4fada6e)
- oracle: remove extra arguments in tx builder, refactor, fix examples (e3be365)
Other commits with breaking changes
- account: combine
account create
andaccount save
(fdaeeff) - account: combine spend and transfer commands (2a2a94b)
- account: move
aecli account spend
toaecli spend
(4af1b4c) - account: remove extra object wrapping json output (b1d4585)
- account: remove unnecessary
account generate
command (1c6abd8) - account: remove unnecessary
balance
,nonce
commands (b4792e6) - account: remove useless
output
option (74a8a37) - chain: remove
network_id
command (4d4adce) - crypto: remove duplicate
crypto sign
command (bb39f07) - crypto: remove duplicate
crypto unpack
command (37b9965) - crypto: remove unnecessary
crypto decode
command (a0d9b05) - name: remove duplicate
name lookup
command (e4f9b50) - oracle: remove
oracle get
(6db5dc2) - remove --no-waitMined option (5fe7dc4)
- require nodejs@18 (5fd3bfa)