CHANGELOG
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
7.0.0 (2025-01-30)
aecli migrates to a new secret key format. Use SDK's tools page to convert secret keys.
⚠ BREAKING CHANGES
account:
aecli account addressaccepts--secretKeyinstead--privateKeycontract: uses v8 compiler by default
contract: not compatible with v7 compiler
aens:
commitmentIdremoved from the JSON output ofaecli name pre-claimUsetx.commitmentIdinstead.some fields in node responses returned as numbers instead of strings Namely:
abiVersionvmVersioncallerNoncesenderNonceoracleTtl.valueresponseTtl.valuequeryTtl.valueendsAt
tabbed data aligned without underscores
width of the first column in tabbed data depends on the content
Features
Bug Fixes
contract: print details of static call (5c119c5)
name keystore as filename instead of full path (d8325f6)
race condition while setting options (1f03275)
Commits with breaking changes
account: consistently use secret key instead private key (476aec1)
deps: update sdk to 14.0.0 (894083f)
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... +16Degreeaccount: 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.iorequire 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 $addressaccount: remove useless output option
account: account spend returns unwrapped JSON
- aecli account spend ... | jq .tx.tx.amount
+ aecli spend ... | jq .tx.amountaccount: 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
-Gflag for both gas and gas price (047cf8e)don't accept
--networkIdin 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 createandaccount save(fdaeeff)account: combine spend and transfer commands (2a2a94b)
account: move
aecli account spendtoaecli spend(4af1b4c)account: remove extra object wrapping json output (b1d4585)
account: remove unnecessary
account generatecommand (1c6abd8)account: remove unnecessary
balance,noncecommands (b4792e6)account: remove useless
outputoption (74a8a37)chain: remove
network_idcommand (4d4adce)crypto: remove duplicate
crypto signcommand (bb39f07)crypto: remove duplicate
crypto unpackcommand (37b9965)crypto: remove unnecessary
crypto decodecommand (a0d9b05)name: remove duplicate
name lookupcommand (e4f9b50)oracle: remove
oracle get(6db5dc2)remove --no-waitMined option (5fe7dc4)
require nodejs@18 (5fd3bfa)
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.jsonaccount spend doesn't accept denomination parameter
Features
accept amount suffixed with
aeinstead ofdenominationoption (70ceb67)add
select-node,select-compilercommands (87b2ede)add update-notifier to ask user to switch to the latest version (2516446)
aesophia_cli support (a74fc2b)
contract: includes support (818f375)
get urls from AECLI_NODE_URL, AECLI_COMPILER_URL env variables (78a9953)
specify and check contract descriptor file version (ea17f80)
Bug Fixes
account: show network id in sign call output (836f421)
contract: allow to static calls without wallet (7bf7bb6)
contract: stringify maps as arrays (b80e3b4)
don't show stack trace when entered an invalid password to wallet (8d24bec)
tx: remove missed
depositfield in contract call tx (a1aa7c7)tx: show bytecode and call data instead of missed payload (75f5eee)
tx: show name of transaction type (18ee736)
chain: calculation of relative ttl (651ba1a)
chain: height calculation, improve markup, remove confusing timeout (4f5329d)
chain: padding of top output (ca661d7)
chain: show correctly consensus protocol version (a5fa358)
don't override files by default (d09eabe)
inspect: encoded tx, plain contract output, oracle queries in json (dae4df9)
oracle: decoding of oracle query (fa2764b)
oracle: providing oracleTtl, queryTtl, responseTtl (a0cc66c)
show name pointers line by line (9dbcf41)
4.1.0 (2022-07-28)
Features
don't print stack traces for cli errors (e62be74)
Bug Fixes
commands in crypto module (6d6da0c)
contract: always store aci in descriptor, override descr by options (278a6ff)
contract: clear error when can't parse call arguments (34ae285)
contract: create file descriptor at not existing path (485117e)
contract: fall if descriptor file specified but not exists (37b490f)
remove broken
crypto decryptcommand (03c645c)remove broken
crypto genkeycommand (32e5b0f)
4.0.0 (2022-04-07)
⚠ BREAKING CHANGES
contract deploy: accept args and bytecode, custom descrPath
Run aecli contract deploy --help to get the latest documentation.
contract call: accept arguments as JSON-encoded array
Affected commands: contract deploy, contract call.
contract: decode call result, make args flexible
Removed commands: contract encodeData, contract decodeCallData.
Added commands: contract encode-calldata, contract decode-call-result.
Features
contract deploy: accept args and bytecode, custom descrPath (cb25bb7)
Bug Fixes
account transfer: remove unimplemented excludeFee option (cddbbe9)
account transfer: remove unused denomination option (4c4d215)
contract call: accept arguments as JSON-encoded array (201a7e0)
name full-claim: key of created pointer (7c278f1)
config command (27a1169)
usage show correct command name (223f05d)
contract: decode call result, make args flexible (b0a5cdc)
3.0.0 (2021-06-10)
Bug Fixes
docker: enable dry-run endpoints (3afa3f5)
test: aens suite (0fe69eb)
test: contract suite (334f4dd)
test: oracle suite lint (960bb4a)
test: tx suite (64993ba)
exit code of get address command (fddd2b0)
remove compiler decodeData commend that depends on unsupported api (e198ea2)
typo in gasPrice (347e733)
Features
ci: add github actions workflow (3e0589e)
env: bump node and compiler version (b5103e4)
oracle: implement Oracle Test's (26e8820)
oracle: Implement Oracle Test's (23296dd)
oracle: Implement Oracle Test's (854ce61)
2.7.0 (2020-06-10)
Bug Fixes
Features
Account: Add
verify-messagecommand toaccountmodule (f26de1e)Account: Add message sign command (d05e611)
Account: Adjust printing and json serialization for
sign-messageresult (7399377)AENS: Add bid, transfer, revoke and fullClaim commands (a5eb23a)
AENS: Add test for auction (9f4f6b2)
AENS: extend name ttl command (63c99ae)
AENS: Fix
transfercommand. Add more test for transfer AENS names (547af5a)AENS: Fix BC for all of AENS commands. (77d2d3c)
AENS: Implement name update command (b65c5e6)
CLI: Refactor constant(Use constant from sdk). Refactor error handling in AENS module. Add
pre-claimcommand. Refactor claim command (7038629)Contract: Add test for calling contract using cointract descriptor file or source code and address (3f77138)
Contract: contract
callcommand (ae723d5)Contract: Enable test's for contract (ed48a83)
2.6.0 (2019-10-07)
Features
Compiler: Add
backendoption to compiler(Can befateoraevm.fateby default)AENS: Add
nameFeeoption toclaimcommand
2.5.0 (2019-08-28)
Features
Node Node 5.0.0-rc1 compatibility
2.4.0 (2019-08-21)
Features
2.3.0 (2019-08-05)
Bug Fixes
Features
2.2.0 (2019-07-16)
Features
Node: Compatibility for node 4.0.0
Inspect Ability to unpack transaction using
inspectcommand
Bug Fixes
2.1.0 (2019-05-20)
Bug Fixes
Features
Fortuna: Add Fortune(3.0.0) compatibility
Account: Feature/allow to spend percentage of balance (#68)
2.0.0 (2019-04-26)
Features
CI: Configure Jenkins pipeline
Account: Add option to get
balanceon specificheigh/hashCLI: Make compatible with spec
Contract: Implement standalone
compilercommandsDOCS add command for auto generating
CHANGELOG
BREAKING CHANGES
Remove contract
callanddeploycommands. Remove aensclaim,revokeandupdatecommands.
1.0.1 (2019-01-10)
Features
Contract: Add contract inspect command
CLI Improve error printing
TX: Add --networkId flag to each command which build a tx
CLI: Remove default fee for each command's (SDK calculate fee by itself)
AENS: Add
AENStransaction's build commands for offline mode totxmoduleContract: Add
contracttransaction's build commands for offline mode totxmoduleOracle: Add
oracletransaction's build commands for offline mode totxmoduleTX:
txroot command, which allow to build transaction's in offline-modeTX: Add
broadcastsub-command totxAccount: Add 'sign' sub-command to
account
BREAKING CHANGES
Default node url changed to sdk-mainnet.aepps.com
Last updated
Was this helpful?