@@ -4,79 +4,96 @@ All notable changes to this project will be documented in this file. See [standa
4
4
5
5
## [ 6.0.0] ( https://github.com/aeternity/aepp-cli-js/compare/v5.0.0...v6.0.0 ) (2024-04-16)
6
6
7
+ * Check out the new documentation at [ docs.aeternity.com/aepp-cli-js] ( https://docs.aeternity.com/aepp-cli-js/ ) *
7
8
8
9
### ⚠ BREAKING CHANGES
9
10
10
- * ** oracle:** ` aecli oracle get ` removed
11
+ #### ** oracle:** ` aecli oracle get ` removed
11
12
Use ` aecli inspect ` instead.
12
- * ** oracle:** aecli won't accept already known account address in oracles
13
+
14
+ #### ** oracle:** aecli don't accept already known account address in oracles
13
15
Remove extra argument:
14
16
``` diff
15
17
- $ aecli oracle extend ./wallet.json ok_2a1j2Mk9YSmC1gioUq4PWRm3bsv887MbuRVwyv4KaUGoR1eiKi 200
16
18
+ $ aecli oracle extend ./wallet.json 200
17
19
- $ aecli oracle respond-query ./wallet.json ok_2a1j2Mk9YSmC1gi... oq_6y3N9KqQb74QsvR... +16Degree
18
20
+ $ aecli oracle respond-query ./wallet.json oq_6y3N9KqQb74QsvR... +16Degree
19
21
```
20
- * ** account:** ` aecli account verify-message ` accepts signer address instead wallet
21
- * ** chain:** ` aecli chain network_id ` removed
22
+
23
+ #### ** account:** ` aecli account verify-message ` accepts signer address instead wallet
24
+
25
+ #### ** chain:** ` aecli chain network_id ` removed
22
26
Use ` aecli chain status ` instead.
23
- * Commands don't accept ` --no-waitMined ` anymore
27
+
28
+ #### Commands don't accept ` --no-waitMined ` anymore
24
29
In the most cases transactions gets mined immediately. In case of NameClaim, tx needs to be
25
30
submitted in the next keyblock after preclaim. In that case it would be mined also immediately,
26
31
with no early name revealing.
27
32
If still needed, use ` aecli chain broadcast tx_... --no-waitMined ` instead.
28
- * ** account:** ` account save ` removed
33
+
34
+ #### ** account:** ` account save ` removed
29
35
Use ` account create ` instead:
30
36
``` diff
31
37
- $ aecli account save ./my-wallet.json <hex secret key>
32
38
+ $ aecli account create ./my-wallet.json <hex secret key>
33
39
```
34
- * ** account:** ` aecli account spend ` renamed to ` aecli spend `
35
- * ** chain:** aecli connects to mainnet by default
36
- Use
40
+
41
+ #### ** account:** ` aecli account spend ` renamed to ` aecli spend `
42
+
43
+ #### ** chain:** aecli connects to mainnet by default
44
+ Use the below to switch back to testnet.
37
45
```
38
46
$ aecli select-node https://testnet.aeternity.io
39
47
```
40
- to switch back to testnet.
41
- * require nodejs@18 or newer
48
+
49
+ #### require nodejs@18 or newer
42
50
Because nodejs@16 is not maintained currently.
43
- * ** name:** ` name lookup ` command removed
51
+
52
+ #### ** name:** ` name lookup ` command removed
44
53
Use ` inspect ` instead.
45
54
``` diff
46
55
- aecli name lookup <name.chain>
47
56
+ aecli inspect <name.chain>
48
57
```
49
- * ** account:** ` account generate ` command removed
58
+
59
+ #### ** account:** ` account generate ` command removed
50
60
Use ` account create ` in a cycle instead.
51
- * ** crypto:** ` crypto sign ` command removed
61
+
62
+ #### ** crypto:** ` crypto sign ` command removed
52
63
Use ` account sign ` instead.
53
- * ** crypto:** ` crypto unpack ` command removed
64
+
65
+ #### ** crypto:** ` crypto unpack ` command removed
54
66
Use ` inspect ` instead.
55
67
``` diff
56
68
- aecli crypto unpack <tx-prefixed transaction>
57
69
+ aecli inspect <tx-prefixed transaction>
58
70
```
59
- * ** crypto:** ` crypto decode ` removed
71
+
72
+ #### ** crypto:** ` crypto decode ` removed
60
73
Use another base58 decoder if necessary.
61
- * ** account:** ` account balance ` , ` account nonce ` commands removed
74
+
75
+ #### ** account:** ` account balance ` , ` account nonce ` commands removed
62
76
Use ` inspect <ak-address> ` instead.
63
77
``` diff
64
78
- aecli account balance wallet.json --password=123
65
79
- aecli account nonce wallet.json --password=123
66
- + address=$(aecli account address wallet.json --json --password=123 | jq -r .publicKey)
80
+ + address=$(aecli account address wallet.json --json | jq -r .publicKey)
67
81
+ aecli inspect $address
68
82
```
69
- * ** account:** remove useless ` output ` option
70
- * ** account:** ` account spend ` returns unwrapped JSON
83
+
84
+ #### ** account:** remove useless ` output ` option
85
+
86
+ #### ** account:** ` account spend ` returns unwrapped JSON
71
87
``` diff
72
88
- aecli account spend ... | jq .tx.tx.amount
73
- + aecli account spend ... | jq .tx.amount
89
+ + aecli spend ... | jq .tx.amount
74
90
```
75
- * ** account:** ` account transfer ` command removed
76
- Use ` account spend ` instead.
91
+
92
+ #### ** account:** ` account transfer ` command removed
93
+ Use ` spend ` instead.
77
94
``` diff
78
95
- aecli account transfer 0.42 <recipient>
79
- + aecli account spend 42% <recipient>
96
+ + aecli spend 42% <recipient>
80
97
```
81
98
82
99
### Features
@@ -107,6 +124,8 @@ Use `account spend` instead.
107
124
* ** oracle:** remove extra arguments in tx builder, refactor, fix examples ([ e3be365] ( https://github.com/aeternity/aepp-cli-js/commit/e3be36575f32d9c346048e5d0a7495017be0e9d1 ) )
108
125
109
126
127
+ #### Other commits with breaking changes
128
+
110
129
* ** account:** combine ` account create ` and ` account save ` ([ fdaeeff] ( https://github.com/aeternity/aepp-cli-js/commit/fdaeeff250c8e267de000b0bb244e07422014553 ) )
111
130
* ** account:** combine spend and transfer commands ([ 2a2a94b] ( https://github.com/aeternity/aepp-cli-js/commit/2a2a94b76a67d96154f45d9da3f1cd1ad338c1b3 ) )
112
131
* ** account:** move ` aecli account spend ` to ` aecli spend ` ([ 4af1b4c] ( https://github.com/aeternity/aepp-cli-js/commit/4af1b4ced43a9f6af82d333b9572aed783f5e9f1 ) )
0 commit comments