aepp-cli-js

Command line interface for the æternity blockchain

View on GitHub

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

6.0.1 (2024-04-22)

Bug Fixes

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

5.0.0 (2023-04-08)

⚠ BREAKING CHANGES

The format of contract descriptor file changed

Contract descriptors needs to be regenerated.

contract: contract call accepts wallet_path as the last argument

For 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 parameter

Features

Bug Fixes

4.1.0 (2022-07-28)

Features

Bug Fixes

4.0.0 (2022-04-07)

⚠ BREAKING CHANGES

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.

Features

Bug Fixes

3.0.0 (2021-06-10)

Bug Fixes

Features

2.7.0 (2020-06-10)

Bug Fixes

Features

2.6.0 (2019-10-07)

Features

2.5.0 (2019-08-28)

Features

2.4.0 (2019-08-21)

Features

2.3.0 (2019-08-05)

Bug Fixes

Features

2.2.0 (2019-07-16)

Features

Bug Fixes

2.1.0 (2019-05-20)

Bug Fixes

Features

2.0.0 (2019-04-26)

Features

BREAKING CHANGES

1.0.1 (2019-01-10)

Features

BREAKING CHANGES