@aztec/node-keystore 2.0.3 → 2.1.0-rc.2
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/dest/keystore_manager.d.ts +11 -0
- package/dest/keystore_manager.d.ts.map +1 -1
- package/dest/keystore_manager.js +117 -33
- package/dest/loader.js +22 -3
- package/dest/schemas.d.ts +391 -94
- package/dest/schemas.d.ts.map +1 -1
- package/dest/schemas.js +22 -2
- package/dest/signer.d.ts +8 -0
- package/dest/signer.d.ts.map +1 -1
- package/dest/signer.js +51 -0
- package/dest/types.d.ts +17 -6
- package/dest/types.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/keystore_manager.ts +142 -44
- package/src/loader.ts +23 -3
- package/src/schemas.ts +22 -3
- package/src/signer.ts +76 -0
- package/src/types.ts +18 -6
package/dest/schemas.d.ts
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import type { EthPrivateKey } from './types.js';
|
|
3
|
+
import type { BLSPrivateKey, EthPrivateKey } from './types.js';
|
|
4
4
|
export declare const ethPrivateKeySchema: z.ZodEffects<z.ZodString, EthPrivateKey, string>;
|
|
5
|
+
export declare const blsPrivateKeySchema: z.ZodEffects<z.ZodString, BLSPrivateKey, string>;
|
|
5
6
|
export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
6
7
|
schemaVersion: z.ZodLiteral<1>;
|
|
7
8
|
validators: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodArray<z.ZodObject<{
|
|
8
|
-
attester: z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
9
|
+
attester: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
9
10
|
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
10
|
-
remoteSignerUrl:
|
|
11
|
+
remoteSignerUrl: z.ZodString;
|
|
11
12
|
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
12
13
|
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
13
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
remoteSignerUrl: string;
|
|
14
16
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
15
|
-
remoteSignerUrl?: string | undefined;
|
|
16
17
|
certPath?: string | undefined;
|
|
17
18
|
certPass?: string | undefined;
|
|
18
19
|
}, {
|
|
20
|
+
remoteSignerUrl: string;
|
|
19
21
|
address: string;
|
|
20
|
-
remoteSignerUrl?: string | undefined;
|
|
21
22
|
certPath?: string | undefined;
|
|
22
23
|
certPass?: string | undefined;
|
|
23
24
|
}>]>, z.ZodObject<{
|
|
@@ -29,19 +30,83 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
29
30
|
}, {
|
|
30
31
|
path: string;
|
|
31
32
|
password?: string | undefined;
|
|
32
|
-
}>]>, z.
|
|
33
|
+
}>]>, z.ZodObject<{
|
|
34
|
+
eth: z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
35
|
+
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
36
|
+
remoteSignerUrl: z.ZodString;
|
|
37
|
+
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
38
|
+
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
remoteSignerUrl: string;
|
|
41
|
+
address: import("@aztec/foundation/schemas").EthAddress;
|
|
42
|
+
certPath?: string | undefined;
|
|
43
|
+
certPass?: string | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
remoteSignerUrl: string;
|
|
46
|
+
address: string;
|
|
47
|
+
certPath?: string | undefined;
|
|
48
|
+
certPass?: string | undefined;
|
|
49
|
+
}>]>, z.ZodObject<{
|
|
50
|
+
path: z.ZodString;
|
|
51
|
+
password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
path: string;
|
|
54
|
+
password?: string | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
path: string;
|
|
57
|
+
password?: string | undefined;
|
|
58
|
+
}>]>;
|
|
59
|
+
bls: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, BLSPrivateKey, string>, z.ZodObject<{
|
|
60
|
+
path: z.ZodString;
|
|
61
|
+
password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
path: string;
|
|
64
|
+
password?: string | undefined;
|
|
65
|
+
}, {
|
|
66
|
+
path: string;
|
|
67
|
+
password?: string | undefined;
|
|
68
|
+
}>]>>;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
eth: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
71
|
+
remoteSignerUrl: string;
|
|
72
|
+
address: import("@aztec/foundation/schemas").EthAddress;
|
|
73
|
+
certPath?: string | undefined;
|
|
74
|
+
certPass?: string | undefined;
|
|
75
|
+
} | {
|
|
76
|
+
path: string;
|
|
77
|
+
password?: string | undefined;
|
|
78
|
+
};
|
|
79
|
+
bls?: BLSPrivateKey | {
|
|
80
|
+
path: string;
|
|
81
|
+
password?: string | undefined;
|
|
82
|
+
} | undefined;
|
|
83
|
+
}, {
|
|
84
|
+
eth: string | {
|
|
85
|
+
remoteSignerUrl: string;
|
|
86
|
+
address: string;
|
|
87
|
+
certPath?: string | undefined;
|
|
88
|
+
certPass?: string | undefined;
|
|
89
|
+
} | {
|
|
90
|
+
path: string;
|
|
91
|
+
password?: string | undefined;
|
|
92
|
+
};
|
|
93
|
+
bls?: string | {
|
|
94
|
+
path: string;
|
|
95
|
+
password?: string | undefined;
|
|
96
|
+
} | undefined;
|
|
97
|
+
}>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
33
98
|
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
34
|
-
remoteSignerUrl:
|
|
99
|
+
remoteSignerUrl: z.ZodString;
|
|
35
100
|
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
36
101
|
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
37
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
remoteSignerUrl: string;
|
|
38
104
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
39
|
-
remoteSignerUrl?: string | undefined;
|
|
40
105
|
certPath?: string | undefined;
|
|
41
106
|
certPass?: string | undefined;
|
|
42
107
|
}, {
|
|
108
|
+
remoteSignerUrl: string;
|
|
43
109
|
address: string;
|
|
44
|
-
remoteSignerUrl?: string | undefined;
|
|
45
110
|
certPath?: string | undefined;
|
|
46
111
|
certPass?: string | undefined;
|
|
47
112
|
}>]>, z.ZodObject<{
|
|
@@ -53,6 +118,70 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
53
118
|
}, {
|
|
54
119
|
path: string;
|
|
55
120
|
password?: string | undefined;
|
|
121
|
+
}>]>, z.ZodObject<{
|
|
122
|
+
eth: z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
123
|
+
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
124
|
+
remoteSignerUrl: z.ZodString;
|
|
125
|
+
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
126
|
+
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
remoteSignerUrl: string;
|
|
129
|
+
address: import("@aztec/foundation/schemas").EthAddress;
|
|
130
|
+
certPath?: string | undefined;
|
|
131
|
+
certPass?: string | undefined;
|
|
132
|
+
}, {
|
|
133
|
+
remoteSignerUrl: string;
|
|
134
|
+
address: string;
|
|
135
|
+
certPath?: string | undefined;
|
|
136
|
+
certPass?: string | undefined;
|
|
137
|
+
}>]>, z.ZodObject<{
|
|
138
|
+
path: z.ZodString;
|
|
139
|
+
password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
path: string;
|
|
142
|
+
password?: string | undefined;
|
|
143
|
+
}, {
|
|
144
|
+
path: string;
|
|
145
|
+
password?: string | undefined;
|
|
146
|
+
}>]>;
|
|
147
|
+
bls: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, BLSPrivateKey, string>, z.ZodObject<{
|
|
148
|
+
path: z.ZodString;
|
|
149
|
+
password: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
150
|
+
}, "strip", z.ZodTypeAny, {
|
|
151
|
+
path: string;
|
|
152
|
+
password?: string | undefined;
|
|
153
|
+
}, {
|
|
154
|
+
path: string;
|
|
155
|
+
password?: string | undefined;
|
|
156
|
+
}>]>>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
eth: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
159
|
+
remoteSignerUrl: string;
|
|
160
|
+
address: import("@aztec/foundation/schemas").EthAddress;
|
|
161
|
+
certPath?: string | undefined;
|
|
162
|
+
certPass?: string | undefined;
|
|
163
|
+
} | {
|
|
164
|
+
path: string;
|
|
165
|
+
password?: string | undefined;
|
|
166
|
+
};
|
|
167
|
+
bls?: BLSPrivateKey | {
|
|
168
|
+
path: string;
|
|
169
|
+
password?: string | undefined;
|
|
170
|
+
} | undefined;
|
|
171
|
+
}, {
|
|
172
|
+
eth: string | {
|
|
173
|
+
remoteSignerUrl: string;
|
|
174
|
+
address: string;
|
|
175
|
+
certPath?: string | undefined;
|
|
176
|
+
certPass?: string | undefined;
|
|
177
|
+
} | {
|
|
178
|
+
path: string;
|
|
179
|
+
password?: string | undefined;
|
|
180
|
+
};
|
|
181
|
+
bls?: string | {
|
|
182
|
+
path: string;
|
|
183
|
+
password?: string | undefined;
|
|
184
|
+
} | undefined;
|
|
56
185
|
}>]>, "many">, z.ZodObject<{
|
|
57
186
|
mnemonic: z.ZodString;
|
|
58
187
|
addressIndex: z.ZodDefault<z.ZodNumber>;
|
|
@@ -75,17 +204,17 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
75
204
|
coinbase: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>>;
|
|
76
205
|
publisher: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
77
206
|
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
78
|
-
remoteSignerUrl:
|
|
207
|
+
remoteSignerUrl: z.ZodString;
|
|
79
208
|
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
80
209
|
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
81
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
remoteSignerUrl: string;
|
|
82
212
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
83
|
-
remoteSignerUrl?: string | undefined;
|
|
84
213
|
certPath?: string | undefined;
|
|
85
214
|
certPass?: string | undefined;
|
|
86
215
|
}, {
|
|
216
|
+
remoteSignerUrl: string;
|
|
87
217
|
address: string;
|
|
88
|
-
remoteSignerUrl?: string | undefined;
|
|
89
218
|
certPath?: string | undefined;
|
|
90
219
|
certPass?: string | undefined;
|
|
91
220
|
}>]>, z.ZodObject<{
|
|
@@ -99,17 +228,17 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
99
228
|
password?: string | undefined;
|
|
100
229
|
}>]>, z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
101
230
|
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
102
|
-
remoteSignerUrl:
|
|
231
|
+
remoteSignerUrl: z.ZodString;
|
|
103
232
|
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
104
233
|
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
105
234
|
}, "strip", z.ZodTypeAny, {
|
|
235
|
+
remoteSignerUrl: string;
|
|
106
236
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
107
|
-
remoteSignerUrl?: string | undefined;
|
|
108
237
|
certPath?: string | undefined;
|
|
109
238
|
certPass?: string | undefined;
|
|
110
239
|
}, {
|
|
240
|
+
remoteSignerUrl: string;
|
|
111
241
|
address: string;
|
|
112
|
-
remoteSignerUrl?: string | undefined;
|
|
113
242
|
certPath?: string | undefined;
|
|
114
243
|
certPass?: string | undefined;
|
|
115
244
|
}>]>, z.ZodObject<{
|
|
@@ -156,17 +285,17 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
156
285
|
}>]>>;
|
|
157
286
|
fundingAccount: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
158
287
|
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
159
|
-
remoteSignerUrl:
|
|
288
|
+
remoteSignerUrl: z.ZodString;
|
|
160
289
|
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
161
290
|
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
162
291
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
remoteSignerUrl: string;
|
|
163
293
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
164
|
-
remoteSignerUrl?: string | undefined;
|
|
165
294
|
certPath?: string | undefined;
|
|
166
295
|
certPass?: string | undefined;
|
|
167
296
|
}, {
|
|
297
|
+
remoteSignerUrl: string;
|
|
168
298
|
address: string;
|
|
169
|
-
remoteSignerUrl?: string | undefined;
|
|
170
299
|
certPath?: string | undefined;
|
|
171
300
|
certPass?: string | undefined;
|
|
172
301
|
}>]>, z.ZodObject<{
|
|
@@ -181,8 +310,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
181
310
|
}>]>>;
|
|
182
311
|
}, "strip", z.ZodTypeAny, {
|
|
183
312
|
attester: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
313
|
+
remoteSignerUrl: string;
|
|
184
314
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
185
|
-
remoteSignerUrl?: string | undefined;
|
|
186
315
|
certPath?: string | undefined;
|
|
187
316
|
certPass?: string | undefined;
|
|
188
317
|
} | {
|
|
@@ -194,19 +323,47 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
194
323
|
accountIndex: number;
|
|
195
324
|
addressCount: number;
|
|
196
325
|
accountCount: number;
|
|
326
|
+
} | {
|
|
327
|
+
eth: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
328
|
+
remoteSignerUrl: string;
|
|
329
|
+
address: import("@aztec/foundation/schemas").EthAddress;
|
|
330
|
+
certPath?: string | undefined;
|
|
331
|
+
certPass?: string | undefined;
|
|
332
|
+
} | {
|
|
333
|
+
path: string;
|
|
334
|
+
password?: string | undefined;
|
|
335
|
+
};
|
|
336
|
+
bls?: BLSPrivateKey | {
|
|
337
|
+
path: string;
|
|
338
|
+
password?: string | undefined;
|
|
339
|
+
} | undefined;
|
|
197
340
|
} | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
341
|
+
remoteSignerUrl: string;
|
|
198
342
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
199
|
-
remoteSignerUrl?: string | undefined;
|
|
200
343
|
certPath?: string | undefined;
|
|
201
344
|
certPass?: string | undefined;
|
|
202
345
|
} | {
|
|
203
346
|
path: string;
|
|
204
347
|
password?: string | undefined;
|
|
348
|
+
} | {
|
|
349
|
+
eth: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
350
|
+
remoteSignerUrl: string;
|
|
351
|
+
address: import("@aztec/foundation/schemas").EthAddress;
|
|
352
|
+
certPath?: string | undefined;
|
|
353
|
+
certPass?: string | undefined;
|
|
354
|
+
} | {
|
|
355
|
+
path: string;
|
|
356
|
+
password?: string | undefined;
|
|
357
|
+
};
|
|
358
|
+
bls?: BLSPrivateKey | {
|
|
359
|
+
path: string;
|
|
360
|
+
password?: string | undefined;
|
|
361
|
+
} | undefined;
|
|
205
362
|
})[];
|
|
206
363
|
feeRecipient: AztecAddress;
|
|
207
364
|
publisher?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
365
|
+
remoteSignerUrl: string;
|
|
208
366
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
209
|
-
remoteSignerUrl?: string | undefined;
|
|
210
367
|
certPath?: string | undefined;
|
|
211
368
|
certPass?: string | undefined;
|
|
212
369
|
} | {
|
|
@@ -219,8 +376,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
219
376
|
addressCount: number;
|
|
220
377
|
accountCount: number;
|
|
221
378
|
} | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
379
|
+
remoteSignerUrl: string;
|
|
222
380
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
223
|
-
remoteSignerUrl?: string | undefined;
|
|
224
381
|
certPath?: string | undefined;
|
|
225
382
|
certPass?: string | undefined;
|
|
226
383
|
} | {
|
|
@@ -234,8 +391,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
234
391
|
certPass?: string | undefined;
|
|
235
392
|
} | undefined;
|
|
236
393
|
fundingAccount?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
394
|
+
remoteSignerUrl: string;
|
|
237
395
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
238
|
-
remoteSignerUrl?: string | undefined;
|
|
239
396
|
certPath?: string | undefined;
|
|
240
397
|
certPass?: string | undefined;
|
|
241
398
|
} | {
|
|
@@ -244,8 +401,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
244
401
|
} | undefined;
|
|
245
402
|
}, {
|
|
246
403
|
attester: string | {
|
|
404
|
+
remoteSignerUrl: string;
|
|
247
405
|
address: string;
|
|
248
|
-
remoteSignerUrl?: string | undefined;
|
|
249
406
|
certPath?: string | undefined;
|
|
250
407
|
certPass?: string | undefined;
|
|
251
408
|
} | {
|
|
@@ -257,18 +414,46 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
257
414
|
accountIndex?: number | undefined;
|
|
258
415
|
addressCount?: number | undefined;
|
|
259
416
|
accountCount?: number | undefined;
|
|
417
|
+
} | {
|
|
418
|
+
eth: string | {
|
|
419
|
+
remoteSignerUrl: string;
|
|
420
|
+
address: string;
|
|
421
|
+
certPath?: string | undefined;
|
|
422
|
+
certPass?: string | undefined;
|
|
423
|
+
} | {
|
|
424
|
+
path: string;
|
|
425
|
+
password?: string | undefined;
|
|
426
|
+
};
|
|
427
|
+
bls?: string | {
|
|
428
|
+
path: string;
|
|
429
|
+
password?: string | undefined;
|
|
430
|
+
} | undefined;
|
|
260
431
|
} | (string | {
|
|
432
|
+
remoteSignerUrl: string;
|
|
261
433
|
address: string;
|
|
262
|
-
remoteSignerUrl?: string | undefined;
|
|
263
434
|
certPath?: string | undefined;
|
|
264
435
|
certPass?: string | undefined;
|
|
265
436
|
} | {
|
|
266
437
|
path: string;
|
|
267
438
|
password?: string | undefined;
|
|
439
|
+
} | {
|
|
440
|
+
eth: string | {
|
|
441
|
+
remoteSignerUrl: string;
|
|
442
|
+
address: string;
|
|
443
|
+
certPath?: string | undefined;
|
|
444
|
+
certPass?: string | undefined;
|
|
445
|
+
} | {
|
|
446
|
+
path: string;
|
|
447
|
+
password?: string | undefined;
|
|
448
|
+
};
|
|
449
|
+
bls?: string | {
|
|
450
|
+
path: string;
|
|
451
|
+
password?: string | undefined;
|
|
452
|
+
} | undefined;
|
|
268
453
|
})[];
|
|
269
454
|
publisher?: string | {
|
|
455
|
+
remoteSignerUrl: string;
|
|
270
456
|
address: string;
|
|
271
|
-
remoteSignerUrl?: string | undefined;
|
|
272
457
|
certPath?: string | undefined;
|
|
273
458
|
certPass?: string | undefined;
|
|
274
459
|
} | {
|
|
@@ -281,8 +466,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
281
466
|
addressCount?: number | undefined;
|
|
282
467
|
accountCount?: number | undefined;
|
|
283
468
|
} | (string | {
|
|
469
|
+
remoteSignerUrl: string;
|
|
284
470
|
address: string;
|
|
285
|
-
remoteSignerUrl?: string | undefined;
|
|
286
471
|
certPath?: string | undefined;
|
|
287
472
|
certPass?: string | undefined;
|
|
288
473
|
} | {
|
|
@@ -297,8 +482,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
297
482
|
certPass?: string | undefined;
|
|
298
483
|
} | undefined;
|
|
299
484
|
fundingAccount?: string | {
|
|
485
|
+
remoteSignerUrl: string;
|
|
300
486
|
address: string;
|
|
301
|
-
remoteSignerUrl?: string | undefined;
|
|
302
487
|
certPath?: string | undefined;
|
|
303
488
|
certPass?: string | undefined;
|
|
304
489
|
} | {
|
|
@@ -308,17 +493,17 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
308
493
|
}>, "many">>;
|
|
309
494
|
slasher: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
310
495
|
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
311
|
-
remoteSignerUrl:
|
|
496
|
+
remoteSignerUrl: z.ZodString;
|
|
312
497
|
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
313
498
|
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
314
499
|
}, "strip", z.ZodTypeAny, {
|
|
500
|
+
remoteSignerUrl: string;
|
|
315
501
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
316
|
-
remoteSignerUrl?: string | undefined;
|
|
317
502
|
certPath?: string | undefined;
|
|
318
503
|
certPass?: string | undefined;
|
|
319
504
|
}, {
|
|
505
|
+
remoteSignerUrl: string;
|
|
320
506
|
address: string;
|
|
321
|
-
remoteSignerUrl?: string | undefined;
|
|
322
507
|
certPath?: string | undefined;
|
|
323
508
|
certPass?: string | undefined;
|
|
324
509
|
}>]>, z.ZodObject<{
|
|
@@ -332,17 +517,17 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
332
517
|
password?: string | undefined;
|
|
333
518
|
}>]>, z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
334
519
|
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
335
|
-
remoteSignerUrl:
|
|
520
|
+
remoteSignerUrl: z.ZodString;
|
|
336
521
|
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
337
522
|
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
338
523
|
}, "strip", z.ZodTypeAny, {
|
|
524
|
+
remoteSignerUrl: string;
|
|
339
525
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
340
|
-
remoteSignerUrl?: string | undefined;
|
|
341
526
|
certPath?: string | undefined;
|
|
342
527
|
certPass?: string | undefined;
|
|
343
528
|
}, {
|
|
529
|
+
remoteSignerUrl: string;
|
|
344
530
|
address: string;
|
|
345
|
-
remoteSignerUrl?: string | undefined;
|
|
346
531
|
certPath?: string | undefined;
|
|
347
532
|
certPass?: string | undefined;
|
|
348
533
|
}>]>, z.ZodObject<{
|
|
@@ -388,17 +573,17 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
388
573
|
}>]>>;
|
|
389
574
|
prover: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
390
575
|
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
391
|
-
remoteSignerUrl:
|
|
576
|
+
remoteSignerUrl: z.ZodString;
|
|
392
577
|
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
393
578
|
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
394
579
|
}, "strip", z.ZodTypeAny, {
|
|
580
|
+
remoteSignerUrl: string;
|
|
395
581
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
396
|
-
remoteSignerUrl?: string | undefined;
|
|
397
582
|
certPath?: string | undefined;
|
|
398
583
|
certPass?: string | undefined;
|
|
399
584
|
}, {
|
|
585
|
+
remoteSignerUrl: string;
|
|
400
586
|
address: string;
|
|
401
|
-
remoteSignerUrl?: string | undefined;
|
|
402
587
|
certPath?: string | undefined;
|
|
403
588
|
certPass?: string | undefined;
|
|
404
589
|
}>]>, z.ZodObject<{
|
|
@@ -414,17 +599,17 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
414
599
|
id: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
415
600
|
publisher: z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
416
601
|
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
417
|
-
remoteSignerUrl:
|
|
602
|
+
remoteSignerUrl: z.ZodString;
|
|
418
603
|
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
419
604
|
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
420
605
|
}, "strip", z.ZodTypeAny, {
|
|
606
|
+
remoteSignerUrl: string;
|
|
421
607
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
422
|
-
remoteSignerUrl?: string | undefined;
|
|
423
608
|
certPath?: string | undefined;
|
|
424
609
|
certPass?: string | undefined;
|
|
425
610
|
}, {
|
|
611
|
+
remoteSignerUrl: string;
|
|
426
612
|
address: string;
|
|
427
|
-
remoteSignerUrl?: string | undefined;
|
|
428
613
|
certPath?: string | undefined;
|
|
429
614
|
certPass?: string | undefined;
|
|
430
615
|
}>]>, z.ZodObject<{
|
|
@@ -438,17 +623,17 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
438
623
|
password?: string | undefined;
|
|
439
624
|
}>]>, z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
440
625
|
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
441
|
-
remoteSignerUrl:
|
|
626
|
+
remoteSignerUrl: z.ZodString;
|
|
442
627
|
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
443
628
|
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
444
629
|
}, "strip", z.ZodTypeAny, {
|
|
630
|
+
remoteSignerUrl: string;
|
|
445
631
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
446
|
-
remoteSignerUrl?: string | undefined;
|
|
447
632
|
certPath?: string | undefined;
|
|
448
633
|
certPass?: string | undefined;
|
|
449
634
|
}, {
|
|
635
|
+
remoteSignerUrl: string;
|
|
450
636
|
address: string;
|
|
451
|
-
remoteSignerUrl?: string | undefined;
|
|
452
637
|
certPath?: string | undefined;
|
|
453
638
|
certPass?: string | undefined;
|
|
454
639
|
}>]>, z.ZodObject<{
|
|
@@ -482,8 +667,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
482
667
|
}, "strip", z.ZodTypeAny, {
|
|
483
668
|
id: import("@aztec/foundation/schemas").EthAddress;
|
|
484
669
|
publisher: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
670
|
+
remoteSignerUrl: string;
|
|
485
671
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
486
|
-
remoteSignerUrl?: string | undefined;
|
|
487
672
|
certPath?: string | undefined;
|
|
488
673
|
certPass?: string | undefined;
|
|
489
674
|
} | {
|
|
@@ -496,8 +681,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
496
681
|
addressCount: number;
|
|
497
682
|
accountCount: number;
|
|
498
683
|
} | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
684
|
+
remoteSignerUrl: string;
|
|
499
685
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
500
|
-
remoteSignerUrl?: string | undefined;
|
|
501
686
|
certPath?: string | undefined;
|
|
502
687
|
certPass?: string | undefined;
|
|
503
688
|
} | {
|
|
@@ -507,8 +692,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
507
692
|
}, {
|
|
508
693
|
id: string;
|
|
509
694
|
publisher: string | {
|
|
695
|
+
remoteSignerUrl: string;
|
|
510
696
|
address: string;
|
|
511
|
-
remoteSignerUrl?: string | undefined;
|
|
512
697
|
certPath?: string | undefined;
|
|
513
698
|
certPass?: string | undefined;
|
|
514
699
|
} | {
|
|
@@ -521,8 +706,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
521
706
|
addressCount?: number | undefined;
|
|
522
707
|
accountCount?: number | undefined;
|
|
523
708
|
} | (string | {
|
|
709
|
+
remoteSignerUrl: string;
|
|
524
710
|
address: string;
|
|
525
|
-
remoteSignerUrl?: string | undefined;
|
|
526
711
|
certPath?: string | undefined;
|
|
527
712
|
certPass?: string | undefined;
|
|
528
713
|
} | {
|
|
@@ -532,17 +717,17 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
532
717
|
}>]>>;
|
|
533
718
|
fundingAccount: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, EthPrivateKey, string>, z.ZodUnion<[z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>, z.ZodObject<{
|
|
534
719
|
address: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
535
|
-
remoteSignerUrl:
|
|
720
|
+
remoteSignerUrl: z.ZodString;
|
|
536
721
|
certPath: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
537
722
|
certPass: import("@aztec/foundation/schemas").ZodNullableOptional<z.ZodString>;
|
|
538
723
|
}, "strip", z.ZodTypeAny, {
|
|
724
|
+
remoteSignerUrl: string;
|
|
539
725
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
540
|
-
remoteSignerUrl?: string | undefined;
|
|
541
726
|
certPath?: string | undefined;
|
|
542
727
|
certPass?: string | undefined;
|
|
543
728
|
}, {
|
|
729
|
+
remoteSignerUrl: string;
|
|
544
730
|
address: string;
|
|
545
|
-
remoteSignerUrl?: string | undefined;
|
|
546
731
|
certPath?: string | undefined;
|
|
547
732
|
certPass?: string | undefined;
|
|
548
733
|
}>]>, z.ZodObject<{
|
|
@@ -563,8 +748,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
563
748
|
certPass?: string | undefined;
|
|
564
749
|
} | undefined;
|
|
565
750
|
fundingAccount?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
751
|
+
remoteSignerUrl: string;
|
|
566
752
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
567
|
-
remoteSignerUrl?: string | undefined;
|
|
568
753
|
certPath?: string | undefined;
|
|
569
754
|
certPass?: string | undefined;
|
|
570
755
|
} | {
|
|
@@ -573,8 +758,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
573
758
|
} | undefined;
|
|
574
759
|
validators?: {
|
|
575
760
|
attester: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
761
|
+
remoteSignerUrl: string;
|
|
576
762
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
577
|
-
remoteSignerUrl?: string | undefined;
|
|
578
763
|
certPath?: string | undefined;
|
|
579
764
|
certPass?: string | undefined;
|
|
580
765
|
} | {
|
|
@@ -586,19 +771,47 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
586
771
|
accountIndex: number;
|
|
587
772
|
addressCount: number;
|
|
588
773
|
accountCount: number;
|
|
774
|
+
} | {
|
|
775
|
+
eth: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
776
|
+
remoteSignerUrl: string;
|
|
777
|
+
address: import("@aztec/foundation/schemas").EthAddress;
|
|
778
|
+
certPath?: string | undefined;
|
|
779
|
+
certPass?: string | undefined;
|
|
780
|
+
} | {
|
|
781
|
+
path: string;
|
|
782
|
+
password?: string | undefined;
|
|
783
|
+
};
|
|
784
|
+
bls?: BLSPrivateKey | {
|
|
785
|
+
path: string;
|
|
786
|
+
password?: string | undefined;
|
|
787
|
+
} | undefined;
|
|
589
788
|
} | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
789
|
+
remoteSignerUrl: string;
|
|
590
790
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
591
|
-
remoteSignerUrl?: string | undefined;
|
|
592
791
|
certPath?: string | undefined;
|
|
593
792
|
certPass?: string | undefined;
|
|
594
793
|
} | {
|
|
595
794
|
path: string;
|
|
596
795
|
password?: string | undefined;
|
|
796
|
+
} | {
|
|
797
|
+
eth: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
798
|
+
remoteSignerUrl: string;
|
|
799
|
+
address: import("@aztec/foundation/schemas").EthAddress;
|
|
800
|
+
certPath?: string | undefined;
|
|
801
|
+
certPass?: string | undefined;
|
|
802
|
+
} | {
|
|
803
|
+
path: string;
|
|
804
|
+
password?: string | undefined;
|
|
805
|
+
};
|
|
806
|
+
bls?: BLSPrivateKey | {
|
|
807
|
+
path: string;
|
|
808
|
+
password?: string | undefined;
|
|
809
|
+
} | undefined;
|
|
597
810
|
})[];
|
|
598
811
|
feeRecipient: AztecAddress;
|
|
599
812
|
publisher?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
813
|
+
remoteSignerUrl: string;
|
|
600
814
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
601
|
-
remoteSignerUrl?: string | undefined;
|
|
602
815
|
certPath?: string | undefined;
|
|
603
816
|
certPass?: string | undefined;
|
|
604
817
|
} | {
|
|
@@ -611,8 +824,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
611
824
|
addressCount: number;
|
|
612
825
|
accountCount: number;
|
|
613
826
|
} | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
827
|
+
remoteSignerUrl: string;
|
|
614
828
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
615
|
-
remoteSignerUrl?: string | undefined;
|
|
616
829
|
certPath?: string | undefined;
|
|
617
830
|
certPass?: string | undefined;
|
|
618
831
|
} | {
|
|
@@ -626,8 +839,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
626
839
|
certPass?: string | undefined;
|
|
627
840
|
} | undefined;
|
|
628
841
|
fundingAccount?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
842
|
+
remoteSignerUrl: string;
|
|
629
843
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
630
|
-
remoteSignerUrl?: string | undefined;
|
|
631
844
|
certPath?: string | undefined;
|
|
632
845
|
certPass?: string | undefined;
|
|
633
846
|
} | {
|
|
@@ -636,8 +849,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
636
849
|
} | undefined;
|
|
637
850
|
}[] | undefined;
|
|
638
851
|
slasher?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
852
|
+
remoteSignerUrl: string;
|
|
639
853
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
640
|
-
remoteSignerUrl?: string | undefined;
|
|
641
854
|
certPath?: string | undefined;
|
|
642
855
|
certPass?: string | undefined;
|
|
643
856
|
} | {
|
|
@@ -650,8 +863,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
650
863
|
addressCount: number;
|
|
651
864
|
accountCount: number;
|
|
652
865
|
} | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
866
|
+
remoteSignerUrl: string;
|
|
653
867
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
654
|
-
remoteSignerUrl?: string | undefined;
|
|
655
868
|
certPath?: string | undefined;
|
|
656
869
|
certPass?: string | undefined;
|
|
657
870
|
} | {
|
|
@@ -659,8 +872,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
659
872
|
password?: string | undefined;
|
|
660
873
|
})[] | undefined;
|
|
661
874
|
prover?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
875
|
+
remoteSignerUrl: string;
|
|
662
876
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
663
|
-
remoteSignerUrl?: string | undefined;
|
|
664
877
|
certPath?: string | undefined;
|
|
665
878
|
certPass?: string | undefined;
|
|
666
879
|
} | {
|
|
@@ -669,8 +882,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
669
882
|
} | {
|
|
670
883
|
id: import("@aztec/foundation/schemas").EthAddress;
|
|
671
884
|
publisher: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
885
|
+
remoteSignerUrl: string;
|
|
672
886
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
673
|
-
remoteSignerUrl?: string | undefined;
|
|
674
887
|
certPath?: string | undefined;
|
|
675
888
|
certPass?: string | undefined;
|
|
676
889
|
} | {
|
|
@@ -683,8 +896,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
683
896
|
addressCount: number;
|
|
684
897
|
accountCount: number;
|
|
685
898
|
} | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
899
|
+
remoteSignerUrl: string;
|
|
686
900
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
687
|
-
remoteSignerUrl?: string | undefined;
|
|
688
901
|
certPath?: string | undefined;
|
|
689
902
|
certPass?: string | undefined;
|
|
690
903
|
} | {
|
|
@@ -700,8 +913,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
700
913
|
certPass?: string | undefined;
|
|
701
914
|
} | undefined;
|
|
702
915
|
fundingAccount?: string | {
|
|
916
|
+
remoteSignerUrl: string;
|
|
703
917
|
address: string;
|
|
704
|
-
remoteSignerUrl?: string | undefined;
|
|
705
918
|
certPath?: string | undefined;
|
|
706
919
|
certPass?: string | undefined;
|
|
707
920
|
} | {
|
|
@@ -710,8 +923,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
710
923
|
} | undefined;
|
|
711
924
|
validators?: {
|
|
712
925
|
attester: string | {
|
|
926
|
+
remoteSignerUrl: string;
|
|
713
927
|
address: string;
|
|
714
|
-
remoteSignerUrl?: string | undefined;
|
|
715
928
|
certPath?: string | undefined;
|
|
716
929
|
certPass?: string | undefined;
|
|
717
930
|
} | {
|
|
@@ -723,18 +936,46 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
723
936
|
accountIndex?: number | undefined;
|
|
724
937
|
addressCount?: number | undefined;
|
|
725
938
|
accountCount?: number | undefined;
|
|
939
|
+
} | {
|
|
940
|
+
eth: string | {
|
|
941
|
+
remoteSignerUrl: string;
|
|
942
|
+
address: string;
|
|
943
|
+
certPath?: string | undefined;
|
|
944
|
+
certPass?: string | undefined;
|
|
945
|
+
} | {
|
|
946
|
+
path: string;
|
|
947
|
+
password?: string | undefined;
|
|
948
|
+
};
|
|
949
|
+
bls?: string | {
|
|
950
|
+
path: string;
|
|
951
|
+
password?: string | undefined;
|
|
952
|
+
} | undefined;
|
|
726
953
|
} | (string | {
|
|
954
|
+
remoteSignerUrl: string;
|
|
727
955
|
address: string;
|
|
728
|
-
remoteSignerUrl?: string | undefined;
|
|
729
956
|
certPath?: string | undefined;
|
|
730
957
|
certPass?: string | undefined;
|
|
731
958
|
} | {
|
|
732
959
|
path: string;
|
|
733
960
|
password?: string | undefined;
|
|
961
|
+
} | {
|
|
962
|
+
eth: string | {
|
|
963
|
+
remoteSignerUrl: string;
|
|
964
|
+
address: string;
|
|
965
|
+
certPath?: string | undefined;
|
|
966
|
+
certPass?: string | undefined;
|
|
967
|
+
} | {
|
|
968
|
+
path: string;
|
|
969
|
+
password?: string | undefined;
|
|
970
|
+
};
|
|
971
|
+
bls?: string | {
|
|
972
|
+
path: string;
|
|
973
|
+
password?: string | undefined;
|
|
974
|
+
} | undefined;
|
|
734
975
|
})[];
|
|
735
976
|
publisher?: string | {
|
|
977
|
+
remoteSignerUrl: string;
|
|
736
978
|
address: string;
|
|
737
|
-
remoteSignerUrl?: string | undefined;
|
|
738
979
|
certPath?: string | undefined;
|
|
739
980
|
certPass?: string | undefined;
|
|
740
981
|
} | {
|
|
@@ -747,8 +988,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
747
988
|
addressCount?: number | undefined;
|
|
748
989
|
accountCount?: number | undefined;
|
|
749
990
|
} | (string | {
|
|
991
|
+
remoteSignerUrl: string;
|
|
750
992
|
address: string;
|
|
751
|
-
remoteSignerUrl?: string | undefined;
|
|
752
993
|
certPath?: string | undefined;
|
|
753
994
|
certPass?: string | undefined;
|
|
754
995
|
} | {
|
|
@@ -763,8 +1004,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
763
1004
|
certPass?: string | undefined;
|
|
764
1005
|
} | undefined;
|
|
765
1006
|
fundingAccount?: string | {
|
|
1007
|
+
remoteSignerUrl: string;
|
|
766
1008
|
address: string;
|
|
767
|
-
remoteSignerUrl?: string | undefined;
|
|
768
1009
|
certPath?: string | undefined;
|
|
769
1010
|
certPass?: string | undefined;
|
|
770
1011
|
} | {
|
|
@@ -773,8 +1014,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
773
1014
|
} | undefined;
|
|
774
1015
|
}[] | undefined;
|
|
775
1016
|
slasher?: string | {
|
|
1017
|
+
remoteSignerUrl: string;
|
|
776
1018
|
address: string;
|
|
777
|
-
remoteSignerUrl?: string | undefined;
|
|
778
1019
|
certPath?: string | undefined;
|
|
779
1020
|
certPass?: string | undefined;
|
|
780
1021
|
} | {
|
|
@@ -787,8 +1028,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
787
1028
|
addressCount?: number | undefined;
|
|
788
1029
|
accountCount?: number | undefined;
|
|
789
1030
|
} | (string | {
|
|
1031
|
+
remoteSignerUrl: string;
|
|
790
1032
|
address: string;
|
|
791
|
-
remoteSignerUrl?: string | undefined;
|
|
792
1033
|
certPath?: string | undefined;
|
|
793
1034
|
certPass?: string | undefined;
|
|
794
1035
|
} | {
|
|
@@ -796,8 +1037,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
796
1037
|
password?: string | undefined;
|
|
797
1038
|
})[] | undefined;
|
|
798
1039
|
prover?: string | {
|
|
1040
|
+
remoteSignerUrl: string;
|
|
799
1041
|
address: string;
|
|
800
|
-
remoteSignerUrl?: string | undefined;
|
|
801
1042
|
certPath?: string | undefined;
|
|
802
1043
|
certPass?: string | undefined;
|
|
803
1044
|
} | {
|
|
@@ -806,8 +1047,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
806
1047
|
} | {
|
|
807
1048
|
id: string;
|
|
808
1049
|
publisher: string | {
|
|
1050
|
+
remoteSignerUrl: string;
|
|
809
1051
|
address: string;
|
|
810
|
-
remoteSignerUrl?: string | undefined;
|
|
811
1052
|
certPath?: string | undefined;
|
|
812
1053
|
certPass?: string | undefined;
|
|
813
1054
|
} | {
|
|
@@ -820,8 +1061,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
820
1061
|
addressCount?: number | undefined;
|
|
821
1062
|
accountCount?: number | undefined;
|
|
822
1063
|
} | (string | {
|
|
1064
|
+
remoteSignerUrl: string;
|
|
823
1065
|
address: string;
|
|
824
|
-
remoteSignerUrl?: string | undefined;
|
|
825
1066
|
certPath?: string | undefined;
|
|
826
1067
|
certPass?: string | undefined;
|
|
827
1068
|
} | {
|
|
@@ -837,8 +1078,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
837
1078
|
certPass?: string | undefined;
|
|
838
1079
|
} | undefined;
|
|
839
1080
|
fundingAccount?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1081
|
+
remoteSignerUrl: string;
|
|
840
1082
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
841
|
-
remoteSignerUrl?: string | undefined;
|
|
842
1083
|
certPath?: string | undefined;
|
|
843
1084
|
certPass?: string | undefined;
|
|
844
1085
|
} | {
|
|
@@ -847,8 +1088,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
847
1088
|
} | undefined;
|
|
848
1089
|
validators?: {
|
|
849
1090
|
attester: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1091
|
+
remoteSignerUrl: string;
|
|
850
1092
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
851
|
-
remoteSignerUrl?: string | undefined;
|
|
852
1093
|
certPath?: string | undefined;
|
|
853
1094
|
certPass?: string | undefined;
|
|
854
1095
|
} | {
|
|
@@ -860,19 +1101,47 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
860
1101
|
accountIndex: number;
|
|
861
1102
|
addressCount: number;
|
|
862
1103
|
accountCount: number;
|
|
1104
|
+
} | {
|
|
1105
|
+
eth: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1106
|
+
remoteSignerUrl: string;
|
|
1107
|
+
address: import("@aztec/foundation/schemas").EthAddress;
|
|
1108
|
+
certPath?: string | undefined;
|
|
1109
|
+
certPass?: string | undefined;
|
|
1110
|
+
} | {
|
|
1111
|
+
path: string;
|
|
1112
|
+
password?: string | undefined;
|
|
1113
|
+
};
|
|
1114
|
+
bls?: BLSPrivateKey | {
|
|
1115
|
+
path: string;
|
|
1116
|
+
password?: string | undefined;
|
|
1117
|
+
} | undefined;
|
|
863
1118
|
} | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1119
|
+
remoteSignerUrl: string;
|
|
864
1120
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
865
|
-
remoteSignerUrl?: string | undefined;
|
|
866
1121
|
certPath?: string | undefined;
|
|
867
1122
|
certPass?: string | undefined;
|
|
868
1123
|
} | {
|
|
869
1124
|
path: string;
|
|
870
1125
|
password?: string | undefined;
|
|
1126
|
+
} | {
|
|
1127
|
+
eth: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1128
|
+
remoteSignerUrl: string;
|
|
1129
|
+
address: import("@aztec/foundation/schemas").EthAddress;
|
|
1130
|
+
certPath?: string | undefined;
|
|
1131
|
+
certPass?: string | undefined;
|
|
1132
|
+
} | {
|
|
1133
|
+
path: string;
|
|
1134
|
+
password?: string | undefined;
|
|
1135
|
+
};
|
|
1136
|
+
bls?: BLSPrivateKey | {
|
|
1137
|
+
path: string;
|
|
1138
|
+
password?: string | undefined;
|
|
1139
|
+
} | undefined;
|
|
871
1140
|
})[];
|
|
872
1141
|
feeRecipient: AztecAddress;
|
|
873
1142
|
publisher?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1143
|
+
remoteSignerUrl: string;
|
|
874
1144
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
875
|
-
remoteSignerUrl?: string | undefined;
|
|
876
1145
|
certPath?: string | undefined;
|
|
877
1146
|
certPass?: string | undefined;
|
|
878
1147
|
} | {
|
|
@@ -885,8 +1154,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
885
1154
|
addressCount: number;
|
|
886
1155
|
accountCount: number;
|
|
887
1156
|
} | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1157
|
+
remoteSignerUrl: string;
|
|
888
1158
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
889
|
-
remoteSignerUrl?: string | undefined;
|
|
890
1159
|
certPath?: string | undefined;
|
|
891
1160
|
certPass?: string | undefined;
|
|
892
1161
|
} | {
|
|
@@ -900,8 +1169,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
900
1169
|
certPass?: string | undefined;
|
|
901
1170
|
} | undefined;
|
|
902
1171
|
fundingAccount?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1172
|
+
remoteSignerUrl: string;
|
|
903
1173
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
904
|
-
remoteSignerUrl?: string | undefined;
|
|
905
1174
|
certPath?: string | undefined;
|
|
906
1175
|
certPass?: string | undefined;
|
|
907
1176
|
} | {
|
|
@@ -910,8 +1179,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
910
1179
|
} | undefined;
|
|
911
1180
|
}[] | undefined;
|
|
912
1181
|
slasher?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1182
|
+
remoteSignerUrl: string;
|
|
913
1183
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
914
|
-
remoteSignerUrl?: string | undefined;
|
|
915
1184
|
certPath?: string | undefined;
|
|
916
1185
|
certPass?: string | undefined;
|
|
917
1186
|
} | {
|
|
@@ -924,8 +1193,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
924
1193
|
addressCount: number;
|
|
925
1194
|
accountCount: number;
|
|
926
1195
|
} | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1196
|
+
remoteSignerUrl: string;
|
|
927
1197
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
928
|
-
remoteSignerUrl?: string | undefined;
|
|
929
1198
|
certPath?: string | undefined;
|
|
930
1199
|
certPass?: string | undefined;
|
|
931
1200
|
} | {
|
|
@@ -933,8 +1202,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
933
1202
|
password?: string | undefined;
|
|
934
1203
|
})[] | undefined;
|
|
935
1204
|
prover?: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1205
|
+
remoteSignerUrl: string;
|
|
936
1206
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
937
|
-
remoteSignerUrl?: string | undefined;
|
|
938
1207
|
certPath?: string | undefined;
|
|
939
1208
|
certPass?: string | undefined;
|
|
940
1209
|
} | {
|
|
@@ -943,8 +1212,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
943
1212
|
} | {
|
|
944
1213
|
id: import("@aztec/foundation/schemas").EthAddress;
|
|
945
1214
|
publisher: EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1215
|
+
remoteSignerUrl: string;
|
|
946
1216
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
947
|
-
remoteSignerUrl?: string | undefined;
|
|
948
1217
|
certPath?: string | undefined;
|
|
949
1218
|
certPass?: string | undefined;
|
|
950
1219
|
} | {
|
|
@@ -957,8 +1226,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
957
1226
|
addressCount: number;
|
|
958
1227
|
accountCount: number;
|
|
959
1228
|
} | (EthPrivateKey | import("@aztec/foundation/schemas").EthAddress | {
|
|
1229
|
+
remoteSignerUrl: string;
|
|
960
1230
|
address: import("@aztec/foundation/schemas").EthAddress;
|
|
961
|
-
remoteSignerUrl?: string | undefined;
|
|
962
1231
|
certPath?: string | undefined;
|
|
963
1232
|
certPass?: string | undefined;
|
|
964
1233
|
} | {
|
|
@@ -974,8 +1243,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
974
1243
|
certPass?: string | undefined;
|
|
975
1244
|
} | undefined;
|
|
976
1245
|
fundingAccount?: string | {
|
|
1246
|
+
remoteSignerUrl: string;
|
|
977
1247
|
address: string;
|
|
978
|
-
remoteSignerUrl?: string | undefined;
|
|
979
1248
|
certPath?: string | undefined;
|
|
980
1249
|
certPass?: string | undefined;
|
|
981
1250
|
} | {
|
|
@@ -984,8 +1253,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
984
1253
|
} | undefined;
|
|
985
1254
|
validators?: {
|
|
986
1255
|
attester: string | {
|
|
1256
|
+
remoteSignerUrl: string;
|
|
987
1257
|
address: string;
|
|
988
|
-
remoteSignerUrl?: string | undefined;
|
|
989
1258
|
certPath?: string | undefined;
|
|
990
1259
|
certPass?: string | undefined;
|
|
991
1260
|
} | {
|
|
@@ -997,18 +1266,46 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
997
1266
|
accountIndex?: number | undefined;
|
|
998
1267
|
addressCount?: number | undefined;
|
|
999
1268
|
accountCount?: number | undefined;
|
|
1269
|
+
} | {
|
|
1270
|
+
eth: string | {
|
|
1271
|
+
remoteSignerUrl: string;
|
|
1272
|
+
address: string;
|
|
1273
|
+
certPath?: string | undefined;
|
|
1274
|
+
certPass?: string | undefined;
|
|
1275
|
+
} | {
|
|
1276
|
+
path: string;
|
|
1277
|
+
password?: string | undefined;
|
|
1278
|
+
};
|
|
1279
|
+
bls?: string | {
|
|
1280
|
+
path: string;
|
|
1281
|
+
password?: string | undefined;
|
|
1282
|
+
} | undefined;
|
|
1000
1283
|
} | (string | {
|
|
1284
|
+
remoteSignerUrl: string;
|
|
1001
1285
|
address: string;
|
|
1002
|
-
remoteSignerUrl?: string | undefined;
|
|
1003
1286
|
certPath?: string | undefined;
|
|
1004
1287
|
certPass?: string | undefined;
|
|
1005
1288
|
} | {
|
|
1006
1289
|
path: string;
|
|
1007
1290
|
password?: string | undefined;
|
|
1291
|
+
} | {
|
|
1292
|
+
eth: string | {
|
|
1293
|
+
remoteSignerUrl: string;
|
|
1294
|
+
address: string;
|
|
1295
|
+
certPath?: string | undefined;
|
|
1296
|
+
certPass?: string | undefined;
|
|
1297
|
+
} | {
|
|
1298
|
+
path: string;
|
|
1299
|
+
password?: string | undefined;
|
|
1300
|
+
};
|
|
1301
|
+
bls?: string | {
|
|
1302
|
+
path: string;
|
|
1303
|
+
password?: string | undefined;
|
|
1304
|
+
} | undefined;
|
|
1008
1305
|
})[];
|
|
1009
1306
|
publisher?: string | {
|
|
1307
|
+
remoteSignerUrl: string;
|
|
1010
1308
|
address: string;
|
|
1011
|
-
remoteSignerUrl?: string | undefined;
|
|
1012
1309
|
certPath?: string | undefined;
|
|
1013
1310
|
certPass?: string | undefined;
|
|
1014
1311
|
} | {
|
|
@@ -1021,8 +1318,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1021
1318
|
addressCount?: number | undefined;
|
|
1022
1319
|
accountCount?: number | undefined;
|
|
1023
1320
|
} | (string | {
|
|
1321
|
+
remoteSignerUrl: string;
|
|
1024
1322
|
address: string;
|
|
1025
|
-
remoteSignerUrl?: string | undefined;
|
|
1026
1323
|
certPath?: string | undefined;
|
|
1027
1324
|
certPass?: string | undefined;
|
|
1028
1325
|
} | {
|
|
@@ -1037,8 +1334,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1037
1334
|
certPass?: string | undefined;
|
|
1038
1335
|
} | undefined;
|
|
1039
1336
|
fundingAccount?: string | {
|
|
1337
|
+
remoteSignerUrl: string;
|
|
1040
1338
|
address: string;
|
|
1041
|
-
remoteSignerUrl?: string | undefined;
|
|
1042
1339
|
certPath?: string | undefined;
|
|
1043
1340
|
certPass?: string | undefined;
|
|
1044
1341
|
} | {
|
|
@@ -1047,8 +1344,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1047
1344
|
} | undefined;
|
|
1048
1345
|
}[] | undefined;
|
|
1049
1346
|
slasher?: string | {
|
|
1347
|
+
remoteSignerUrl: string;
|
|
1050
1348
|
address: string;
|
|
1051
|
-
remoteSignerUrl?: string | undefined;
|
|
1052
1349
|
certPath?: string | undefined;
|
|
1053
1350
|
certPass?: string | undefined;
|
|
1054
1351
|
} | {
|
|
@@ -1061,8 +1358,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1061
1358
|
addressCount?: number | undefined;
|
|
1062
1359
|
accountCount?: number | undefined;
|
|
1063
1360
|
} | (string | {
|
|
1361
|
+
remoteSignerUrl: string;
|
|
1064
1362
|
address: string;
|
|
1065
|
-
remoteSignerUrl?: string | undefined;
|
|
1066
1363
|
certPath?: string | undefined;
|
|
1067
1364
|
certPass?: string | undefined;
|
|
1068
1365
|
} | {
|
|
@@ -1070,8 +1367,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1070
1367
|
password?: string | undefined;
|
|
1071
1368
|
})[] | undefined;
|
|
1072
1369
|
prover?: string | {
|
|
1370
|
+
remoteSignerUrl: string;
|
|
1073
1371
|
address: string;
|
|
1074
|
-
remoteSignerUrl?: string | undefined;
|
|
1075
1372
|
certPath?: string | undefined;
|
|
1076
1373
|
certPass?: string | undefined;
|
|
1077
1374
|
} | {
|
|
@@ -1080,8 +1377,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1080
1377
|
} | {
|
|
1081
1378
|
id: string;
|
|
1082
1379
|
publisher: string | {
|
|
1380
|
+
remoteSignerUrl: string;
|
|
1083
1381
|
address: string;
|
|
1084
|
-
remoteSignerUrl?: string | undefined;
|
|
1085
1382
|
certPath?: string | undefined;
|
|
1086
1383
|
certPass?: string | undefined;
|
|
1087
1384
|
} | {
|
|
@@ -1094,8 +1391,8 @@ export declare const keystoreSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1094
1391
|
addressCount?: number | undefined;
|
|
1095
1392
|
accountCount?: number | undefined;
|
|
1096
1393
|
} | (string | {
|
|
1394
|
+
remoteSignerUrl: string;
|
|
1097
1395
|
address: string;
|
|
1098
|
-
remoteSignerUrl?: string | undefined;
|
|
1099
1396
|
certPath?: string | undefined;
|
|
1100
1397
|
certPass?: string | undefined;
|
|
1101
1398
|
} | {
|