@aztec/cli-wallet 0.0.1-commit.7ac86ea28 → 0.0.1-commit.7b86788

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.
@@ -13,7 +13,7 @@ export function injectCommands(program, log, debugLogger, walletAndNodeWrapper,
13
13
  const { importTestAccounts } = await import('./import_test_accounts.js');
14
14
  await importTestAccounts(wallet, db, json, log);
15
15
  });
16
- const createAccountCommand = program.command('create-account').description('Creates an aztec account that can be used for sending transactions. Registers the account on the PXE and deploys an account contract. Uses a Schnorr single-key account which uses the same key for encryption and authentication (not secure for production usage).').summary('Creates an aztec account that can be used for sending transactions.').addOption(createAccountOption('Alias or address of the account performing the deployment', !db, db)).option('--skip-initialization', 'Skip initializing the account contract. Useful for publicly deploying an existing account.').option('--public-deploy', 'Publishes the account contract instance (and the class, if needed). Needed if the contract contains public functions.').option('--register-class', 'Register the contract class (useful for when the contract class has not been deployed yet).').option('-p, --public-key <string>', 'Public key that identifies a private signing key stored outside of the wallet. Used for ECDSA SSH accounts over the secp256r1 curve.').addOption(createSecretKeyOption('Secret key for account. Uses random by default.', false, (sk)=>aliasedSecretKeyParser(sk, db)).conflicts('public-key')).addOption(createAliasOption('Alias for the account. Used for easy reference in subsequent commands.', !db)).addOption(createTypeOption(true)).option('--register-only', 'Just register the account on the Wallet. Do not deploy or initialize the account contract.').option('--json', 'Emit output as json')// `options.wait` is default true. Passing `--no-wait` will set it to false.
16
+ const createAccountCommand = program.command('create-account').description('Creates an aztec account that can be used for sending transactions. Registers the account on the PXE and deploys an account contract. Uses a Schnorr account which uses an immutable key for authentication.').summary('Creates an aztec account that can be used for sending transactions.').addOption(createAccountOption('Alias or address of the account performing the deployment', !db, db)).option('--skip-initialization', 'Skip initializing the account contract. Useful for publicly deploying an existing account.').option('--public-deploy', 'Publishes the account contract instance (and the class, if needed). Needed if the contract contains public functions.').option('--register-class', 'Register the contract class (useful for when the contract class has not been deployed yet).').option('-p, --public-key <string>', 'Public key that identifies a private signing key stored outside of the wallet. Used for ECDSA SSH accounts over the secp256r1 curve.').addOption(createSecretKeyOption('Secret key for account. Uses random by default.', false, (sk)=>aliasedSecretKeyParser(sk, db)).conflicts('public-key')).addOption(createAliasOption('Alias for the account. Used for easy reference in subsequent commands.', !db)).addOption(createTypeOption(true)).option('--register-only', 'Just register the account on the Wallet. Do not deploy or initialize the account contract.').option('--json', 'Emit output as json')// `options.wait` is default true. Passing `--no-wait` will set it to false.
17
17
  // https://github.com/tj/commander.js#other-option-types-negatable-boolean-and-booleanvalue
18
18
  .option('--no-wait', 'Skip waiting for the contract to be deployed. Print the hash of deployment transaction').addOption(createVerboseOption());
19
19
  addOptions(createAccountCommand, CLIFeeArgs.getOptions()).action(async (_options, command)=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/cli-wallet",
3
- "version": "0.0.1-commit.7ac86ea28",
3
+ "version": "0.0.1-commit.7b86788",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/cmds/index.js",
@@ -67,19 +67,19 @@
67
67
  ]
68
68
  },
69
69
  "dependencies": {
70
- "@aztec/accounts": "0.0.1-commit.7ac86ea28",
71
- "@aztec/aztec.js": "0.0.1-commit.7ac86ea28",
72
- "@aztec/bb.js": "0.0.1-commit.7ac86ea28",
73
- "@aztec/cli": "0.0.1-commit.7ac86ea28",
74
- "@aztec/entrypoints": "0.0.1-commit.7ac86ea28",
75
- "@aztec/ethereum": "0.0.1-commit.7ac86ea28",
76
- "@aztec/foundation": "0.0.1-commit.7ac86ea28",
77
- "@aztec/kv-store": "0.0.1-commit.7ac86ea28",
78
- "@aztec/noir-contracts.js": "0.0.1-commit.7ac86ea28",
79
- "@aztec/noir-noirc_abi": "0.0.1-commit.7ac86ea28",
80
- "@aztec/pxe": "0.0.1-commit.7ac86ea28",
81
- "@aztec/stdlib": "0.0.1-commit.7ac86ea28",
82
- "@aztec/wallet-sdk": "0.0.1-commit.7ac86ea28",
70
+ "@aztec/accounts": "0.0.1-commit.7b86788",
71
+ "@aztec/aztec.js": "0.0.1-commit.7b86788",
72
+ "@aztec/bb.js": "0.0.1-commit.7b86788",
73
+ "@aztec/cli": "0.0.1-commit.7b86788",
74
+ "@aztec/entrypoints": "0.0.1-commit.7b86788",
75
+ "@aztec/ethereum": "0.0.1-commit.7b86788",
76
+ "@aztec/foundation": "0.0.1-commit.7b86788",
77
+ "@aztec/kv-store": "0.0.1-commit.7b86788",
78
+ "@aztec/noir-contracts.js": "0.0.1-commit.7b86788",
79
+ "@aztec/noir-noirc_abi": "0.0.1-commit.7b86788",
80
+ "@aztec/pxe": "0.0.1-commit.7b86788",
81
+ "@aztec/stdlib": "0.0.1-commit.7b86788",
82
+ "@aztec/wallet-sdk": "0.0.1-commit.7b86788",
83
83
  "commander": "^12.1.0",
84
84
  "inquirer": "^10.1.8",
85
85
  "source-map-support": "^0.5.21",
package/src/cmds/index.ts CHANGED
@@ -63,7 +63,7 @@ export function injectCommands(
63
63
  const createAccountCommand = program
64
64
  .command('create-account')
65
65
  .description(
66
- 'Creates an aztec account that can be used for sending transactions. Registers the account on the PXE and deploys an account contract. Uses a Schnorr single-key account which uses the same key for encryption and authentication (not secure for production usage).',
66
+ 'Creates an aztec account that can be used for sending transactions. Registers the account on the PXE and deploys an account contract. Uses a Schnorr account which uses an immutable key for authentication.',
67
67
  )
68
68
  .summary('Creates an aztec account that can be used for sending transactions.')
69
69
  .addOption(createAccountOption('Alias or address of the account performing the deployment', !db, db))