aeternity / aepp-cli-js

Command line interface for the æternity blockchain
http://docs.aeternity.com/aepp-cli-js/
ISC License
7 stars 6 forks source link

Release 6.0.0 #254

Closed davidyuk closed 7 months ago

davidyuk commented 7 months ago

6.0.0 (2024-04-16)

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

Bug Fixes

Other commits with breaking changes

This PR is supported by the Æternity Foundation