@aztec/cli-wallet 3.0.0-nightly.20251120 → 3.0.0-nightly.20251122
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/utils/options/fees.d.ts +2 -1
- package/dest/utils/options/fees.d.ts.map +1 -1
- package/dest/utils/wallet.d.ts +2 -1
- package/dest/utils/wallet.d.ts.map +1 -1
- package/dest/utils/wallet.js +2 -1
- package/package.json +14 -13
- package/src/utils/options/fees.ts +2 -1
- package/src/utils/wallet.ts +2 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { FeePaymentMethod } from '@aztec/aztec.js/fee';
|
|
2
2
|
import type { AztecNode } from '@aztec/aztec.js/node';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Wallet } from '@aztec/aztec.js/wallet';
|
|
4
4
|
import type { LogFn } from '@aztec/foundation/log';
|
|
5
5
|
import type { FieldsOf } from '@aztec/foundation/types';
|
|
6
6
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
7
7
|
import { GasFees, GasSettings } from '@aztec/stdlib/gas';
|
|
8
|
+
import type { FeeOptions } from '@aztec/wallet-sdk/base-wallet';
|
|
8
9
|
import { Option } from 'commander';
|
|
9
10
|
import type { WalletDB } from '../../storage/wallet_db.js';
|
|
10
11
|
export type RawCliFeeArgs = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fees.d.ts","sourceRoot":"","sources":["../../../src/utils/options/fees.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"fees.d.ts","sourceRoot":"","sources":["../../../src/utils/options/fees.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,O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Z,YAAY,EAAE,OAAO;IAC5B,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,WAAW;gBANZ,YAAY,EAAE,OAAO,EACpB,aAAa,EAAE,CACrB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,YAAY,EACtB,WAAW,EAAE,WAAW,KACrB,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,EAClC,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;IAG/C,gBAAgB,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAUtG,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,EAAE,QAAQ,GAAG,UAAU;IAQxE,MAAM,CAAC,UAAU;CAGlB;AAID,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,UAAU,EACnB,YAAY,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,GAAG,mBAAmB,CAAC,EAClE,GAAG,EAAE,KAAK,QAIX"}
|
package/dest/utils/wallet.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { type Account } from '@aztec/aztec.js/account';
|
|
|
2
2
|
import { type InteractionFeeOptions } from '@aztec/aztec.js/contracts';
|
|
3
3
|
import type { AztecNode } from '@aztec/aztec.js/node';
|
|
4
4
|
import { UniqueNote } from '@aztec/aztec.js/note';
|
|
5
|
-
import { AccountManager, type Aliased,
|
|
5
|
+
import { AccountManager, type Aliased, type SimulateOptions } from '@aztec/aztec.js/wallet';
|
|
6
6
|
import { Fr } from '@aztec/foundation/fields';
|
|
7
7
|
import type { LogFn } from '@aztec/foundation/log';
|
|
8
8
|
import type { PXEConfig } from '@aztec/pxe/config';
|
|
@@ -11,6 +11,7 @@ import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
|
11
11
|
import type { NotesFilter } from '@aztec/stdlib/note';
|
|
12
12
|
import type { TxProvingResult, TxSimulationResult } from '@aztec/stdlib/tx';
|
|
13
13
|
import { ExecutionPayload } from '@aztec/stdlib/tx';
|
|
14
|
+
import { BaseWallet } from '@aztec/wallet-sdk/base-wallet';
|
|
14
15
|
import type { WalletDB } from '../storage/wallet_db.js';
|
|
15
16
|
export declare const AccountTypes: readonly ["schnorr", "ecdsasecp256r1", "ecdsasecp256r1ssh", "ecdsasecp256k1"];
|
|
16
17
|
export type AccountType = (typeof AccountTypes)[number];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../src/utils/wallet.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAA2C,MAAM,yBAAyB,CAAC;AAChG,OAAO,EACL,KAAK,qBAAqB,EAG3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,KAAK,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../src/utils/wallet.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAA2C,MAAM,yBAAyB,CAAC;AAChG,OAAO,EACL,KAAK,qBAAqB,EAG3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,KAAK,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE5F,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAA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a;IAWrB,uBAAuB,CAC3B,OAAO,CAAC,EAAE,YAAY,EACtB,SAAS,CAAC,EAAE,EAAE,EACd,IAAI,GAAE,WAAuB,EAC7B,IAAI,CAAC,EAAE,EAAE,EACT,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,cAAc,CAAC;YAqDZ,qBAAqB;IAmBpB,UAAU,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAuDjH,YAAY,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;IAMvC,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;CAGrD"}
|
package/dest/utils/wallet.js
CHANGED
|
@@ -4,12 +4,13 @@ import { StubAccountContractArtifact, createStubAccount } from '@aztec/accounts/
|
|
|
4
4
|
import { getIdentities } from '@aztec/accounts/utils';
|
|
5
5
|
import { SignerlessAccount } from '@aztec/aztec.js/account';
|
|
6
6
|
import { getContractInstanceFromInstantiationParams, getGasLimits } from '@aztec/aztec.js/contracts';
|
|
7
|
-
import { AccountManager
|
|
7
|
+
import { AccountManager } from '@aztec/aztec.js/wallet';
|
|
8
8
|
import { Fr } from '@aztec/foundation/fields';
|
|
9
9
|
import { createPXE, getPXEConfig } from '@aztec/pxe/server';
|
|
10
10
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
11
11
|
import { deriveSigningKey } from '@aztec/stdlib/keys';
|
|
12
12
|
import { ExecutionPayload, mergeExecutionPayloads } from '@aztec/stdlib/tx';
|
|
13
|
+
import { BaseWallet } from '@aztec/wallet-sdk/base-wallet';
|
|
13
14
|
import { extractECDSAPublicKeyFromBase64String } from './ecdsa.js';
|
|
14
15
|
import { printGasEstimates } from './options/fees.js';
|
|
15
16
|
export const AccountTypes = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/cli-wallet",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.20251122",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/cmds/index.js",
|
|
@@ -67,18 +67,19 @@
|
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@aztec/accounts": "3.0.0-nightly.
|
|
71
|
-
"@aztec/aztec.js": "3.0.0-nightly.
|
|
72
|
-
"@aztec/bb.js": "3.0.0-nightly.
|
|
73
|
-
"@aztec/cli": "3.0.0-nightly.
|
|
74
|
-
"@aztec/entrypoints": "3.0.0-nightly.
|
|
75
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
76
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
77
|
-
"@aztec/kv-store": "3.0.0-nightly.
|
|
78
|
-
"@aztec/noir-contracts.js": "3.0.0-nightly.
|
|
79
|
-
"@aztec/noir-noirc_abi": "3.0.0-nightly.
|
|
80
|
-
"@aztec/pxe": "3.0.0-nightly.
|
|
81
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
70
|
+
"@aztec/accounts": "3.0.0-nightly.20251122",
|
|
71
|
+
"@aztec/aztec.js": "3.0.0-nightly.20251122",
|
|
72
|
+
"@aztec/bb.js": "3.0.0-nightly.20251122",
|
|
73
|
+
"@aztec/cli": "3.0.0-nightly.20251122",
|
|
74
|
+
"@aztec/entrypoints": "3.0.0-nightly.20251122",
|
|
75
|
+
"@aztec/ethereum": "3.0.0-nightly.20251122",
|
|
76
|
+
"@aztec/foundation": "3.0.0-nightly.20251122",
|
|
77
|
+
"@aztec/kv-store": "3.0.0-nightly.20251122",
|
|
78
|
+
"@aztec/noir-contracts.js": "3.0.0-nightly.20251122",
|
|
79
|
+
"@aztec/noir-noirc_abi": "3.0.0-nightly.20251122",
|
|
80
|
+
"@aztec/pxe": "3.0.0-nightly.20251122",
|
|
81
|
+
"@aztec/stdlib": "3.0.0-nightly.20251122",
|
|
82
|
+
"@aztec/wallet-sdk": "3.0.0-nightly.20251122",
|
|
82
83
|
"commander": "^12.1.0",
|
|
83
84
|
"inquirer": "^10.1.8",
|
|
84
85
|
"source-map-support": "^0.5.21",
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { FeePaymentMethod } from '@aztec/aztec.js/fee';
|
|
2
2
|
import type { AztecNode } from '@aztec/aztec.js/node';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Wallet } from '@aztec/aztec.js/wallet';
|
|
4
4
|
import { Fr } from '@aztec/foundation/fields';
|
|
5
5
|
import type { LogFn } from '@aztec/foundation/log';
|
|
6
6
|
import type { FieldsOf } from '@aztec/foundation/types';
|
|
7
7
|
import { AztecAddress } from '@aztec/stdlib/aztec-address';
|
|
8
8
|
import { Gas, GasFees, GasSettings } from '@aztec/stdlib/gas';
|
|
9
|
+
import type { FeeOptions } from '@aztec/wallet-sdk/base-wallet';
|
|
9
10
|
|
|
10
11
|
import { Option } from 'commander';
|
|
11
12
|
|
package/src/utils/wallet.ts
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from '@aztec/aztec.js/contracts';
|
|
11
11
|
import type { AztecNode } from '@aztec/aztec.js/node';
|
|
12
12
|
import { UniqueNote } from '@aztec/aztec.js/note';
|
|
13
|
-
import { AccountManager, type Aliased,
|
|
13
|
+
import { AccountManager, type Aliased, type SimulateOptions } from '@aztec/aztec.js/wallet';
|
|
14
14
|
import type { DefaultAccountEntrypointOptions } from '@aztec/entrypoints/account';
|
|
15
15
|
import { Fr } from '@aztec/foundation/fields';
|
|
16
16
|
import type { LogFn } from '@aztec/foundation/log';
|
|
@@ -22,6 +22,7 @@ import { deriveSigningKey } from '@aztec/stdlib/keys';
|
|
|
22
22
|
import type { NotesFilter } from '@aztec/stdlib/note';
|
|
23
23
|
import type { TxProvingResult, TxSimulationResult } from '@aztec/stdlib/tx';
|
|
24
24
|
import { ExecutionPayload, mergeExecutionPayloads } from '@aztec/stdlib/tx';
|
|
25
|
+
import { BaseWallet } from '@aztec/wallet-sdk/base-wallet';
|
|
25
26
|
|
|
26
27
|
import type { WalletDB } from '../storage/wallet_db.js';
|
|
27
28
|
import { extractECDSAPublicKeyFromBase64String } from './ecdsa.js';
|