@twin.org/crypto-cli 0.0.1-next.9 → 0.0.2-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +6 -10
- package/dist/esm/index.mjs +6 -10
- package/dist/locales/en.json +334 -322
- package/dist/types/commands/address.d.ts +0 -2
- package/docs/changelog.md +506 -1
- package/docs/examples.md +34 -37
- package/docs/reference/classes/CLI.md +14 -8
- package/docs/reference/functions/actionCommandAddress.md +3 -1
- package/docs/reference/functions/actionCommandMnemonic.md +3 -1
- package/locales/en.json +4 -9
- package/package.json +8 -8
package/dist/locales/en.json
CHANGED
|
@@ -1,323 +1,335 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
2
|
+
"error": {
|
|
3
|
+
"commands": {
|
|
4
|
+
"common": {
|
|
5
|
+
"missingEnv": "The \"{option}\" option is configured as an environment variable, but there is no environment variable with the name \"{value}\" set.",
|
|
6
|
+
"optionInvalidHex": "The \"{option}\" does not appear to be hex. \"{value}\"",
|
|
7
|
+
"optionInvalidBase64": "The \"{option}\" does not appear to be base64. \"{value}\"",
|
|
8
|
+
"optionInvalidHexBase64": "The \"{option}\" does not appear to be hex or base64. \"{value}\"",
|
|
9
|
+
"optionInvalidBech32": "The \"{option}\" does not appear to be bech32. \"{value}\"",
|
|
10
|
+
"optionMinValue": "The \"{option}\" option must be greater than or equal to {minValue}, it is {value}.",
|
|
11
|
+
"optionMaxValue": "The \"{option}\" option must be less than or equal to {maxValue}, it is {value}."
|
|
12
|
+
},
|
|
13
|
+
"address": {
|
|
14
|
+
"seedMissingEnv": "The seed does not appear to be hex or base64, assuming it is an environment variable, but there is no environment variable with the name \"{env}\" set.",
|
|
15
|
+
"seedInvalidEnv": "The seed does not appear to be hex or base64, assuming it is an environment variable, but there the environment variable is neither hex or base64. \"{envValue}\"",
|
|
16
|
+
"seedInvalidFormat": "The seed does not appear to be hex, base64 or an environment variable. \"{seed}\""
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"validation": {
|
|
20
|
+
"beEmpty": "{fieldName} must be empty",
|
|
21
|
+
"beNotEmpty": "{fieldName} must not be empty",
|
|
22
|
+
"beText": "{fieldName} must be text",
|
|
23
|
+
"beTextValue": "{fieldName} must contain some text",
|
|
24
|
+
"beTextMinMax": "{fieldName} must be longer than {minLength} and shorter than {maxLength} characters",
|
|
25
|
+
"beTextMin": "{fieldName} must be longer than {minLength} characters",
|
|
26
|
+
"beTextMax": "{fieldName} must be shorter than {maxLength} characters",
|
|
27
|
+
"beTextBase58": "{fieldName} must be text formatted using Base58 characters",
|
|
28
|
+
"beTextBase64": "{fieldName} must be text formatted using Base64 characters",
|
|
29
|
+
"beTextHex": "{fieldName} must be text formatted using Hex characters",
|
|
30
|
+
"beTextRegExp": "{fieldName} must be text formatted using the matching pattern {format}",
|
|
31
|
+
"beNumber": "{fieldName} must be a number",
|
|
32
|
+
"beNumberMinMax": "{fieldName} must be >= {minValue} and <= {maxValue}",
|
|
33
|
+
"beNumberMin": "{fieldName} must be >= {minValue}",
|
|
34
|
+
"beNumberMax": "{fieldName} must be <= {maxValue}",
|
|
35
|
+
"beWholeNumber": "{fieldName} must be a whole number",
|
|
36
|
+
"beWholeNumberMinMax": "{fieldName} must be a whole number >= {minValue} and <= {maxValue}",
|
|
37
|
+
"beWholeNumberMin": "{fieldName} must be a whole number >= {minValue}",
|
|
38
|
+
"beWholeNumberMax": "{fieldName} must be a whole number <= {maxValue}",
|
|
39
|
+
"beBigInteger": "{fieldName} must be a bigint",
|
|
40
|
+
"beBigIntegerMinMax": "{fieldName} must be a bigint >= {minValue} and <= {maxValue}",
|
|
41
|
+
"beBigIntegerMin": "{fieldName} must be a bigint >= {minValue}",
|
|
42
|
+
"beBigIntegerMax": "{fieldName} must be a bigint <= {maxValue}",
|
|
43
|
+
"beBoolean": "{fieldName} must be true or false",
|
|
44
|
+
"beDate": "{fieldName} must be a date",
|
|
45
|
+
"beDateTime": "{fieldName} must be a date/time",
|
|
46
|
+
"beTime": "{fieldName} must be a time",
|
|
47
|
+
"beTimestampMilliseconds": "{fieldName} must be a timestamp in milliseconds",
|
|
48
|
+
"beTimestampSeconds": "{fieldName} must be a timestamp in seconds",
|
|
49
|
+
"beObject": "{fieldName} must be an object",
|
|
50
|
+
"beArray": "{fieldName} must be an array",
|
|
51
|
+
"beArrayValue": "{fieldName} must be an array with at least one item",
|
|
52
|
+
"beIncluded": "{fieldName} is unrecognised",
|
|
53
|
+
"beByteArray": "{fieldName} must be a byte array",
|
|
54
|
+
"beUrn": "{fieldName} must be a correctly formatted urn",
|
|
55
|
+
"beUrl": "{fieldName} must be a correctly formatted url",
|
|
56
|
+
"beJSON": "{fieldName} must be correctly formatted JSON",
|
|
57
|
+
"beEmail": "{fieldName} must be a correctly formatted e-mail address",
|
|
58
|
+
"failed": "Validation failed",
|
|
59
|
+
"failedObject": "Validation of \"{objectName}\" failed"
|
|
60
|
+
},
|
|
61
|
+
"guard": {
|
|
62
|
+
"undefined": "Property \"{property}\" must be defined, it is \"{value}\"",
|
|
63
|
+
"string": "Property \"{property}\" must be a string, it is \"{value}\"",
|
|
64
|
+
"stringEmpty": "Property \"{property}\" must have a value, it is empty",
|
|
65
|
+
"stringBase64": "Property \"{property}\" must be a base64 encoded string, it is \"{value}\"",
|
|
66
|
+
"stringBase64Url": "Property \"{property}\" must be a base64 url encoded string, it is \"{value}\"",
|
|
67
|
+
"stringBase58": "Property \"{property}\" must be a base58 encoded string, it is \"{value}\"",
|
|
68
|
+
"stringHex": "Property \"{property}\" must be a hex string, it is \"{value}\"",
|
|
69
|
+
"stringHexLength": "Property \"{property}\" must be a hex string of length \"{options}\", it is \"{value}\"",
|
|
70
|
+
"stringJson": "Property \"{property}\" must be a JSON string",
|
|
71
|
+
"number": "Property \"{property}\" must be a number, it is \"{value}\"",
|
|
72
|
+
"integer": "Property \"{property}\" must be an integer, it is \"{value}\"",
|
|
73
|
+
"bigint": "Property \"{property}\" must be a bigint, it is \"{value}\"",
|
|
74
|
+
"boolean": "Property \"{property}\" must be a boolean, it is \"{value}\"",
|
|
75
|
+
"date": "Property \"{property}\" must be a date, it is \"{value}\"",
|
|
76
|
+
"timestampMilliseconds": "Property \"{property}\" must be a timestamp in milliseconds, it is \"{value}\"",
|
|
77
|
+
"timestampSeconds": "Property \"{property}\" must be a timestamp in seconds, it is \"{value}\"",
|
|
78
|
+
"objectUndefined": "Property \"{property}\" must be an object, it is \"undefined\"",
|
|
79
|
+
"object": "Property \"{property}\" must be an object, it is \"{value}\"",
|
|
80
|
+
"objectValue": "Property \"{property}\" must be an object, with at least one property, it is \"{value}\"",
|
|
81
|
+
"array": "Property \"{property}\" must be an array, it is \"{value}\"",
|
|
82
|
+
"arrayValue": "Property \"{property}\" must be an array with at least one item",
|
|
83
|
+
"arrayOneOf": "Property \"{property}\" must be one of [{options}], it is \"{value}\"",
|
|
84
|
+
"arrayStartsWith": "Property \"{property}\" must be an array starting with [{startValues}], it is \"{value}\"",
|
|
85
|
+
"arrayEndsWith": "Property \"{property}\" must be an array ending with [{endValues}], it is \"{value}\"",
|
|
86
|
+
"uint8Array": "Property \"{property}\" must be a Uint8Array, it is \"{value}\"",
|
|
87
|
+
"function": "Property \"{property}\" must be a function, it is \"{value}\"",
|
|
88
|
+
"urn": "Property \"{property}\" must be a Urn formatted string, it is \"{value}\"",
|
|
89
|
+
"url": "Property \"{property}\" must be a Url formatted string, it is \"{value}\"",
|
|
90
|
+
"email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
|
|
91
|
+
"length32Multiple": "Property \"{property}\" should be a multiple of 32, it is {value}",
|
|
92
|
+
"lengthEntropy": "Property \"{property}\" should be a multiple of 4, >=16 and <= 32, it is {value}",
|
|
93
|
+
"length3Multiple": "Property \"{property}\" should be a multiple of 3, it is {value}",
|
|
94
|
+
"greaterThan0": "Property \"{property}\" must be greater than zero, it is {value}"
|
|
95
|
+
},
|
|
96
|
+
"objectHelper": {
|
|
97
|
+
"failedBytesToJSON": "Failed converting bytes to JSON",
|
|
98
|
+
"cannotSetArrayIndex": "Cannot set property \"{property}\" using index \"{index}\" as it is not an array",
|
|
99
|
+
"cannotSetProperty": "Cannot set property \"{property}\" when the target is not an object"
|
|
100
|
+
},
|
|
101
|
+
"common": {
|
|
102
|
+
"notImplementedMethod": "The method \"{method}\" has not been implemented",
|
|
103
|
+
"validation": "Validation failed"
|
|
104
|
+
},
|
|
105
|
+
"factory": {
|
|
106
|
+
"noUnregister": "There is no {typeName} registered with the name \"{name}\"",
|
|
107
|
+
"noGet": "The requested {typeName} \"{name}\" does not exist in the factory"
|
|
108
|
+
},
|
|
109
|
+
"bitString": {
|
|
110
|
+
"outOfRange": "The index should be >= 0 and less than the length of the bit string"
|
|
111
|
+
},
|
|
112
|
+
"base32": {
|
|
113
|
+
"invalidCharacter": "Data contains a character \"{invalidCharacter}\" which is not in the charset"
|
|
114
|
+
},
|
|
115
|
+
"base64": {
|
|
116
|
+
"length4Multiple": "Invalid length should be a multiple of 4, it is \"{value}\""
|
|
117
|
+
},
|
|
118
|
+
"base58": {
|
|
119
|
+
"invalidCharacter": "Data contains a character \"{invalidCharacter}\" which is not in the charset"
|
|
120
|
+
},
|
|
121
|
+
"jsonHelper": {
|
|
122
|
+
"failedPatch": "Failed to patch the JSON object, patch index \"{index}\" failed"
|
|
123
|
+
},
|
|
124
|
+
"bip39": {
|
|
125
|
+
"missingMnemonicWord": "The mnemonic contains a word not in the wordlist, \"{value}\"",
|
|
126
|
+
"checksumMismatch": "The checksum does not match \"{newChecksum}\" != \"{checksumBits}\""
|
|
127
|
+
},
|
|
128
|
+
"ed25519": {
|
|
129
|
+
"privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
|
|
130
|
+
"publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
|
|
131
|
+
},
|
|
132
|
+
"secp256k1": {
|
|
133
|
+
"privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
|
|
134
|
+
"publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
|
|
135
|
+
},
|
|
136
|
+
"x25519": {
|
|
137
|
+
"invalidPublicKey": "Invalid Ed25519 Public Key"
|
|
138
|
+
},
|
|
139
|
+
"blake2b": {
|
|
140
|
+
"outputLength64": "The output length should be between 1 and 64, it is \"{outputLength}\"",
|
|
141
|
+
"keyLength64": "The key length should be between 1 and 64, it is \"{keyLength}\""
|
|
142
|
+
},
|
|
143
|
+
"sha512": {
|
|
144
|
+
"bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
|
|
145
|
+
},
|
|
146
|
+
"sha256": {
|
|
147
|
+
"bitSize": "Only 224 or 256 bits are supported, it is \"{bitSize}\""
|
|
148
|
+
},
|
|
149
|
+
"sha3": {
|
|
150
|
+
"bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
|
|
151
|
+
},
|
|
152
|
+
"hmacSha256": {
|
|
153
|
+
"bitSize": "Only 224 or 256 bits are supported, it is \"{bitSize}\""
|
|
154
|
+
},
|
|
155
|
+
"hmacSha512": {
|
|
156
|
+
"bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
|
|
157
|
+
},
|
|
158
|
+
"bech32": {
|
|
159
|
+
"decodeFailed": "The address contains decoding failed for address \"{bech32}\"",
|
|
160
|
+
"invalidChecksum": "The address contains an invalid checksum in address, \"{bech32}\"",
|
|
161
|
+
"separatorMisused": "The separator character '1' should only be used between hrp and data, \"{bech32}\"",
|
|
162
|
+
"lowerUpper": "The address my use either lowercase or uppercase, \"{bech32}\"",
|
|
163
|
+
"dataTooShort": "The address does not contain enough data to decode, \"{bech32}\""
|
|
164
|
+
},
|
|
165
|
+
"pbkdf2": {
|
|
166
|
+
"keyTooLong": "The requested key length \"{keyLength}\" is too long, based on the \"{macLength}\""
|
|
167
|
+
},
|
|
168
|
+
"chaCha20Poly1305": {
|
|
169
|
+
"noAadWithData": "You can not set the aad when there is already data",
|
|
170
|
+
"noAuthTag": "Can not finalise when the auth tag is not set",
|
|
171
|
+
"authenticationFailed": "The data could not be authenticated",
|
|
172
|
+
"authTagDecrypting": "Can not get the auth tag when decrypting",
|
|
173
|
+
"authTagEncrypting": "Can not set the auth tag when encrypting",
|
|
174
|
+
"noAuthTagSet": "The auth tag has not been set"
|
|
175
|
+
},
|
|
176
|
+
"bip44": {
|
|
177
|
+
"unsupportedKeyType": "The key type \"{keyType}\" is not supported"
|
|
178
|
+
},
|
|
179
|
+
"slip0010": {
|
|
180
|
+
"invalidSeed": "The seed is invalid \"{seed}\""
|
|
181
|
+
},
|
|
182
|
+
"rsa": {
|
|
183
|
+
"noPrivateKey": "Private key is required for decryption",
|
|
184
|
+
"invalidKeySize": "Invalid RSA key size"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"cli": {
|
|
188
|
+
"progress": {
|
|
189
|
+
"done": "Done.",
|
|
190
|
+
"error": "Error",
|
|
191
|
+
"loadingEnvFiles": "Loading env files",
|
|
192
|
+
"pleaseWait": "Please wait...",
|
|
193
|
+
"writingJsonFile": "Writing JSON file",
|
|
194
|
+
"writingEnvFile": "Writing env file",
|
|
195
|
+
"readingJsonFile": "Reading JSON file",
|
|
196
|
+
"readingEnvFile": "Reading env file"
|
|
197
|
+
},
|
|
198
|
+
"options": {
|
|
199
|
+
"lang": {
|
|
200
|
+
"param": "--lang '<'lang'>'",
|
|
201
|
+
"description": "The language to display the output in."
|
|
202
|
+
},
|
|
203
|
+
"load-env": {
|
|
204
|
+
"param": "--load-env [env...]",
|
|
205
|
+
"description": "Load the env files to initialise any environment variables."
|
|
206
|
+
},
|
|
207
|
+
"no-console": {
|
|
208
|
+
"param": "--no-console",
|
|
209
|
+
"description": "Hides the output in the console."
|
|
210
|
+
},
|
|
211
|
+
"json": {
|
|
212
|
+
"param": "--json '<'filename'>'",
|
|
213
|
+
"description": "Creates a JSON file containing the output."
|
|
214
|
+
},
|
|
215
|
+
"env": {
|
|
216
|
+
"param": "--env '<'filename'>'",
|
|
217
|
+
"description": "Creates an env file containing the output."
|
|
218
|
+
},
|
|
219
|
+
"merge-json": {
|
|
220
|
+
"param": "--merge-json",
|
|
221
|
+
"description": "If the JSON file already exists merge the data instead of overwriting."
|
|
222
|
+
},
|
|
223
|
+
"merge-env": {
|
|
224
|
+
"param": "--merge-env",
|
|
225
|
+
"description": "If the env file already exists merge the data instead of overwriting."
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"errorNames": {
|
|
230
|
+
"error": "Error",
|
|
231
|
+
"generalError": "General",
|
|
232
|
+
"guardError": "Guard",
|
|
233
|
+
"conflictError": "Conflict",
|
|
234
|
+
"notFoundError": "Not Found",
|
|
235
|
+
"notSupportedError": "Not Supported",
|
|
236
|
+
"alreadyExistsError": "Already Exists",
|
|
237
|
+
"notImplementedError": "Not Implemented",
|
|
238
|
+
"validationError": "Validation",
|
|
239
|
+
"unprocessableError": "Unprocessable"
|
|
240
|
+
},
|
|
241
|
+
"validation": {
|
|
242
|
+
"defaultFieldName": "The field"
|
|
243
|
+
},
|
|
244
|
+
"commands": {
|
|
245
|
+
"mnemonic": {
|
|
246
|
+
"summary": "Create a mnemonic.",
|
|
247
|
+
"description": "Create a mnemonic, will also generate the equivalent seed in hex and base64 format.",
|
|
248
|
+
"options": {
|
|
249
|
+
"strength": {
|
|
250
|
+
"param": "--strength '<'number'>'",
|
|
251
|
+
"description": "The number of words in the mnemonic, defaults to 256 which produces 24 words."
|
|
252
|
+
},
|
|
253
|
+
"seed-format": {
|
|
254
|
+
"param": "--seed-format '<'format'>'",
|
|
255
|
+
"description": "The format to output the seed."
|
|
256
|
+
},
|
|
257
|
+
"no-console": {
|
|
258
|
+
"param": "--no-console",
|
|
259
|
+
"description": "Hides the mnemonic and seed in the console."
|
|
260
|
+
},
|
|
261
|
+
"json": {
|
|
262
|
+
"param": "--json '<'filename'>'",
|
|
263
|
+
"description": "Creates a JSON file containing the mnemonic and seed."
|
|
264
|
+
},
|
|
265
|
+
"env": {
|
|
266
|
+
"param": "--env '<'filename'>'",
|
|
267
|
+
"description": "Creates an env file containing the mnemonic and seed."
|
|
268
|
+
},
|
|
269
|
+
"env-prefix": {
|
|
270
|
+
"param": "--env-prefix '<'prefix'>'",
|
|
271
|
+
"description": "Prefixes the env variables with the value."
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"progress": {
|
|
275
|
+
"writingJsonFile": "Writing JSON file",
|
|
276
|
+
"writingEnvFile": "Writing env file"
|
|
277
|
+
},
|
|
278
|
+
"labels": {
|
|
279
|
+
"mnemonic": "Mnemonic",
|
|
280
|
+
"seed": "Seed",
|
|
281
|
+
"envPrefix": "Env Prefix"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"address": {
|
|
285
|
+
"summary": "Create addresses and keys from the seed.",
|
|
286
|
+
"description": "Create a number of addresses and their associated key pairs from the seed.",
|
|
287
|
+
"options": {
|
|
288
|
+
"seed": {
|
|
289
|
+
"param": "--seed '<'seed'>'",
|
|
290
|
+
"description": "The seed to use for generating the addresses, this can be either hex, base64 or an environment variable name. For an environment variable start the value with a !"
|
|
291
|
+
},
|
|
292
|
+
"start": {
|
|
293
|
+
"param": "--start '<'number'>'",
|
|
294
|
+
"description": "The index of the first address to create."
|
|
295
|
+
},
|
|
296
|
+
"count": {
|
|
297
|
+
"param": "--count '<'number'>'",
|
|
298
|
+
"description": "The number of addresses to create, max 100."
|
|
299
|
+
},
|
|
300
|
+
"account": {
|
|
301
|
+
"param": "--account '<'number'>'",
|
|
302
|
+
"description": "The account used to generate the addresses."
|
|
303
|
+
},
|
|
304
|
+
"coin": {
|
|
305
|
+
"param": "--coin '<'coin'>'",
|
|
306
|
+
"description": "The coin type used to generate the addresses."
|
|
307
|
+
},
|
|
308
|
+
"key-type": {
|
|
309
|
+
"param": "--key-type '<'type'>'",
|
|
310
|
+
"description": "The type of key to generate."
|
|
311
|
+
},
|
|
312
|
+
"key-format": {
|
|
313
|
+
"param": "--key-format '<'format'>'",
|
|
314
|
+
"description": "The format to output the keys."
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
"progress": {
|
|
318
|
+
"generatingAddresses": "Generating addresses"
|
|
319
|
+
},
|
|
320
|
+
"labels": {
|
|
321
|
+
"seed": "Seed",
|
|
322
|
+
"start": "Start",
|
|
323
|
+
"count": "Count",
|
|
324
|
+
"account": "Account",
|
|
325
|
+
"coin": "Coin",
|
|
326
|
+
"key-type": "Key Type",
|
|
327
|
+
"key-format": "Key Format",
|
|
328
|
+
"index": "Index",
|
|
329
|
+
"address": "Address",
|
|
330
|
+
"public-key": "Public Key",
|
|
331
|
+
"private-key": "Private Key"
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|