@aztec/aztec 3.0.0-nightly.20251108 → 3.0.0-nightly.20251110

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.
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/cli/cli.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CA2ClG"}
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/cli/cli.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAwFlG"}
package/dest/cli/cli.js CHANGED
@@ -24,10 +24,55 @@ import { addOptions, printAztecStartHelpText } from './util.js';
24
24
 
25
25
  Additional commands:
26
26
 
27
+ init [folder] [options]: creates a new Noir project
28
+ Options:
29
+ --name <name> Name of the package
30
+ --contract Use a contract template (default)
31
+ --lib Use a library template
32
+ --bin Use a binary template
33
+ Examples:
34
+ $ aztec init # creates a contract project in current directory
35
+ $ aztec init --lib # creates a library project
36
+
37
+ new <path> [options]: creates a new Noir project in a new directory
38
+ Options:
39
+ --name <name> Name of the package
40
+ --contract Use a contract template (default)
41
+ --lib Use a library template
42
+ --bin Use a binary template
43
+ Examples:
44
+ $ aztec new my-project # creates a contract project in ./my-project
45
+ $ aztec new my-lib --lib # creates a library project in ./my-lib
46
+
47
+ compile [options]: compiles Aztec Noir contracts
48
+ Compiles contracts with nargo compile and then postprocesses them to generate Aztec-specific artifacts including:
49
+ - Transpiled contract artifacts
50
+ - Verification keys
51
+ The compiled contracts will be placed in the target/ directory by default.
52
+ Supports standard nargo compile options.
53
+
54
+ fmt [options]: formats Noir code using nargo fmt
55
+ Example:
56
+ $ aztec fmt # formats all Noir files in the project
57
+
58
+ check [options]: type-checks Noir code without compiling using nargo check
59
+ Example:
60
+ $ aztec check # checks all Noir files in the project
61
+
27
62
  test [options]: starts a dockerized TXE node via
28
63
  $ aztec start --txe
29
64
  then runs
30
- $ aztec-nargo test --silence-warnings --oracle-resolver=<TXE_ADDRESS> [options]
65
+ $ aztec test --silence-warnings --oracle-resolver=<TXE_ADDRESS> [options]
66
+
67
+ lsp: starts the Nargo Language Server Protocol server
68
+ Runs nargo lsp in a Docker container for IDE integration with Noir.
69
+ This command is typically used by IDE extensions and not called directly by users.
70
+ Example:
71
+ $ aztec lsp # starts the LSP server
72
+
73
+ preload-crs: Downloads and caches the Common Reference String (CRS) data required for zero-knowledge proofs.
74
+ Example:
75
+ $ aztec preload-crs # preloads CRS data
31
76
  `);
32
77
  program.command('preload-crs').description('Preload the points data needed for proving and verifying').action(async (options)=>{
33
78
  const { preloadCrs } = await import('./preload_crs.js');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/aztec",
3
- "version": "3.0.0-nightly.20251108",
3
+ "version": "3.0.0-nightly.20251110",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -28,37 +28,37 @@
28
28
  "../package.common.json"
29
29
  ],
30
30
  "dependencies": {
31
- "@aztec/accounts": "3.0.0-nightly.20251108",
32
- "@aztec/archiver": "3.0.0-nightly.20251108",
33
- "@aztec/aztec-faucet": "3.0.0-nightly.20251108",
34
- "@aztec/aztec-node": "3.0.0-nightly.20251108",
35
- "@aztec/aztec.js": "3.0.0-nightly.20251108",
36
- "@aztec/bb-prover": "3.0.0-nightly.20251108",
37
- "@aztec/bb.js": "3.0.0-nightly.20251108",
38
- "@aztec/blob-sink": "3.0.0-nightly.20251108",
39
- "@aztec/bot": "3.0.0-nightly.20251108",
40
- "@aztec/builder": "3.0.0-nightly.20251108",
41
- "@aztec/cli": "3.0.0-nightly.20251108",
42
- "@aztec/constants": "3.0.0-nightly.20251108",
43
- "@aztec/entrypoints": "3.0.0-nightly.20251108",
44
- "@aztec/ethereum": "3.0.0-nightly.20251108",
45
- "@aztec/foundation": "3.0.0-nightly.20251108",
46
- "@aztec/kv-store": "3.0.0-nightly.20251108",
47
- "@aztec/l1-artifacts": "3.0.0-nightly.20251108",
48
- "@aztec/node-lib": "3.0.0-nightly.20251108",
49
- "@aztec/noir-contracts.js": "3.0.0-nightly.20251108",
50
- "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251108",
51
- "@aztec/p2p": "3.0.0-nightly.20251108",
52
- "@aztec/p2p-bootstrap": "3.0.0-nightly.20251108",
53
- "@aztec/protocol-contracts": "3.0.0-nightly.20251108",
54
- "@aztec/prover-client": "3.0.0-nightly.20251108",
55
- "@aztec/prover-node": "3.0.0-nightly.20251108",
56
- "@aztec/pxe": "3.0.0-nightly.20251108",
57
- "@aztec/stdlib": "3.0.0-nightly.20251108",
58
- "@aztec/telemetry-client": "3.0.0-nightly.20251108",
59
- "@aztec/test-wallet": "3.0.0-nightly.20251108",
60
- "@aztec/txe": "3.0.0-nightly.20251108",
61
- "@aztec/world-state": "3.0.0-nightly.20251108",
31
+ "@aztec/accounts": "3.0.0-nightly.20251110",
32
+ "@aztec/archiver": "3.0.0-nightly.20251110",
33
+ "@aztec/aztec-faucet": "3.0.0-nightly.20251110",
34
+ "@aztec/aztec-node": "3.0.0-nightly.20251110",
35
+ "@aztec/aztec.js": "3.0.0-nightly.20251110",
36
+ "@aztec/bb-prover": "3.0.0-nightly.20251110",
37
+ "@aztec/bb.js": "3.0.0-nightly.20251110",
38
+ "@aztec/blob-sink": "3.0.0-nightly.20251110",
39
+ "@aztec/bot": "3.0.0-nightly.20251110",
40
+ "@aztec/builder": "3.0.0-nightly.20251110",
41
+ "@aztec/cli": "3.0.0-nightly.20251110",
42
+ "@aztec/constants": "3.0.0-nightly.20251110",
43
+ "@aztec/entrypoints": "3.0.0-nightly.20251110",
44
+ "@aztec/ethereum": "3.0.0-nightly.20251110",
45
+ "@aztec/foundation": "3.0.0-nightly.20251110",
46
+ "@aztec/kv-store": "3.0.0-nightly.20251110",
47
+ "@aztec/l1-artifacts": "3.0.0-nightly.20251110",
48
+ "@aztec/node-lib": "3.0.0-nightly.20251110",
49
+ "@aztec/noir-contracts.js": "3.0.0-nightly.20251110",
50
+ "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251110",
51
+ "@aztec/p2p": "3.0.0-nightly.20251110",
52
+ "@aztec/p2p-bootstrap": "3.0.0-nightly.20251110",
53
+ "@aztec/protocol-contracts": "3.0.0-nightly.20251110",
54
+ "@aztec/prover-client": "3.0.0-nightly.20251110",
55
+ "@aztec/prover-node": "3.0.0-nightly.20251110",
56
+ "@aztec/pxe": "3.0.0-nightly.20251110",
57
+ "@aztec/stdlib": "3.0.0-nightly.20251110",
58
+ "@aztec/telemetry-client": "3.0.0-nightly.20251110",
59
+ "@aztec/test-wallet": "3.0.0-nightly.20251110",
60
+ "@aztec/txe": "3.0.0-nightly.20251110",
61
+ "@aztec/world-state": "3.0.0-nightly.20251110",
62
62
  "@types/chalk": "^2.2.0",
63
63
  "abitype": "^0.8.11",
64
64
  "chalk": "^5.3.0",
package/src/cli/cli.ts CHANGED
@@ -37,10 +37,55 @@ export function injectAztecCommands(program: Command, userLog: LogFn, debugLogge
37
37
 
38
38
  Additional commands:
39
39
 
40
+ init [folder] [options]: creates a new Noir project
41
+ Options:
42
+ --name <name> Name of the package
43
+ --contract Use a contract template (default)
44
+ --lib Use a library template
45
+ --bin Use a binary template
46
+ Examples:
47
+ $ aztec init # creates a contract project in current directory
48
+ $ aztec init --lib # creates a library project
49
+
50
+ new <path> [options]: creates a new Noir project in a new directory
51
+ Options:
52
+ --name <name> Name of the package
53
+ --contract Use a contract template (default)
54
+ --lib Use a library template
55
+ --bin Use a binary template
56
+ Examples:
57
+ $ aztec new my-project # creates a contract project in ./my-project
58
+ $ aztec new my-lib --lib # creates a library project in ./my-lib
59
+
60
+ compile [options]: compiles Aztec Noir contracts
61
+ Compiles contracts with nargo compile and then postprocesses them to generate Aztec-specific artifacts including:
62
+ - Transpiled contract artifacts
63
+ - Verification keys
64
+ The compiled contracts will be placed in the target/ directory by default.
65
+ Supports standard nargo compile options.
66
+
67
+ fmt [options]: formats Noir code using nargo fmt
68
+ Example:
69
+ $ aztec fmt # formats all Noir files in the project
70
+
71
+ check [options]: type-checks Noir code without compiling using nargo check
72
+ Example:
73
+ $ aztec check # checks all Noir files in the project
74
+
40
75
  test [options]: starts a dockerized TXE node via
41
76
  $ aztec start --txe
42
77
  then runs
43
- $ aztec-nargo test --silence-warnings --oracle-resolver=<TXE_ADDRESS> [options]
78
+ $ aztec test --silence-warnings --oracle-resolver=<TXE_ADDRESS> [options]
79
+
80
+ lsp: starts the Nargo Language Server Protocol server
81
+ Runs nargo lsp in a Docker container for IDE integration with Noir.
82
+ This command is typically used by IDE extensions and not called directly by users.
83
+ Example:
84
+ $ aztec lsp # starts the LSP server
85
+
86
+ preload-crs: Downloads and caches the Common Reference String (CRS) data required for zero-knowledge proofs.
87
+ Example:
88
+ $ aztec preload-crs # preloads CRS data
44
89
  `,
45
90
  );
46
91