diff --git a/CHANGELOG.md b/CHANGELOG.md index c99597ff1921..a994db0af822 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -266,7 +266,7 @@ * **avm:** Interactive debugger ([#11477](https://github.com/AztecProtocol/aztec-packages/issues/11477)) ([53e57d3](https://github.com/AztecProtocol/aztec-packages/commit/53e57d3d52dd477714bc984c4a13bc8e5664877e)) * Consensus layer in spartan ([#11105](https://github.com/AztecProtocol/aztec-packages/issues/11105)) ([55dd03c](https://github.com/AztecProtocol/aztec-packages/commit/55dd03c84c6ef7624ed3512b4d69b95c13b3af90)) * Eccvm sumcheck with commitments to round univariates ([#11206](https://github.com/AztecProtocol/aztec-packages/issues/11206)) ([fe34b05](https://github.com/AztecProtocol/aztec-packages/commit/fe34b0580a308665c655a897c72f06bd05dcd4c4)) -* Gaztec ([#11229](https://github.com/AztecProtocol/aztec-packages/issues/11229)) ([79f810d](https://github.com/AztecProtocol/aztec-packages/commit/79f810dc682d41154eb723e5bdf4c54c0681becb)) +* Aztec Playground ([#11229](https://github.com/AztecProtocol/aztec-packages/issues/11229)) ([79f810d](https://github.com/AztecProtocol/aztec-packages/commit/79f810dc682d41154eb723e5bdf4c54c0681becb)) * Lazy wasm pt. 2 ([#11410](https://github.com/AztecProtocol/aztec-packages/issues/11410)) ([01510f4](https://github.com/AztecProtocol/aztec-packages/commit/01510f45aa5d385a08584df674d9caf9522e6be2)) * Lazy wasm pt.1 ([#11371](https://github.com/AztecProtocol/aztec-packages/issues/11371)) ([864bc6f](https://github.com/AztecProtocol/aztec-packages/commit/864bc6f34431dee17e76c476716821996d2ff9e5)) * Lazy wasm pt3 ([#11435](https://github.com/AztecProtocol/aztec-packages/issues/11435)) ([7068d05](https://github.com/AztecProtocol/aztec-packages/commit/7068d055d91a6e81e6fbb670e17c77ee209a1a80)) diff --git a/barretenberg/ts/CHANGELOG.md b/barretenberg/ts/CHANGELOG.md index 1c4a42691ecc..709856b25afd 100644 --- a/barretenberg/ts/CHANGELOG.md +++ b/barretenberg/ts/CHANGELOG.md @@ -31,7 +31,7 @@ ### Features -* Gaztec ([#11229](https://github.com/AztecProtocol/aztec-packages/issues/11229)) ([79f810d](https://github.com/AztecProtocol/aztec-packages/commit/79f810dc682d41154eb723e5bdf4c54c0681becb)) +* Aztec Playground ([#11229](https://github.com/AztecProtocol/aztec-packages/issues/11229)) ([79f810d](https://github.com/AztecProtocol/aztec-packages/commit/79f810dc682d41154eb723e5bdf4c54c0681becb)) * Lazy wasm pt.1 ([#11371](https://github.com/AztecProtocol/aztec-packages/issues/11371)) ([864bc6f](https://github.com/AztecProtocol/aztec-packages/commit/864bc6f34431dee17e76c476716821996d2ff9e5)) * Lazy wasm pt3 ([#11435](https://github.com/AztecProtocol/aztec-packages/issues/11435)) ([7068d05](https://github.com/AztecProtocol/aztec-packages/commit/7068d055d91a6e81e6fbb670e17c77ee209a1a80)) * UH recursion in the browser ([#11049](https://github.com/AztecProtocol/aztec-packages/issues/11049)) ([c3c04a4](https://github.com/AztecProtocol/aztec-packages/commit/c3c04a4cb92f0447431160d425bda66a997c0d66)) diff --git a/gaztec/.env b/playground/.env similarity index 100% rename from gaztec/.env rename to playground/.env diff --git a/gaztec/.gitignore b/playground/.gitignore similarity index 100% rename from gaztec/.gitignore rename to playground/.gitignore diff --git a/gaztec/.yarnrc.yml b/playground/.yarnrc.yml similarity index 100% rename from gaztec/.yarnrc.yml rename to playground/.yarnrc.yml diff --git a/gaztec/README.md b/playground/README.md similarity index 98% rename from gaztec/README.md rename to playground/README.md index 90ca9dfb346a..83c892adcba1 100644 --- a/gaztec/README.md +++ b/playground/README.md @@ -1,4 +1,4 @@ -# GAztec +# Aztec Playground Initial version of an "everything app" that can be used to test and benchmark Aztec. diff --git a/gaztec/eslint.config.js b/playground/eslint.config.js similarity index 100% rename from gaztec/eslint.config.js rename to playground/eslint.config.js diff --git a/gaztec/index.html b/playground/index.html similarity index 88% rename from gaztec/index.html rename to playground/index.html index 89ed3ef775f5..7d5b3aca71c4 100644 --- a/gaztec/index.html +++ b/playground/index.html @@ -3,7 +3,7 @@ - GAztec + Aztec Playground
diff --git a/playground/netlify.toml b/playground/netlify.toml new file mode 100644 index 000000000000..fa81267935dc --- /dev/null +++ b/playground/netlify.toml @@ -0,0 +1,5 @@ +[[headers]] + for = "/*" + [headers.values] + Cross-Origin-Embedder-Policy = "require-corp" + Cross-Origin-Opener-Policy = "same-origin" diff --git a/gaztec/package.json b/playground/package.json similarity index 98% rename from gaztec/package.json rename to playground/package.json index 0d0d6d8d0de5..08cbfe557ce5 100644 --- a/gaztec/package.json +++ b/playground/package.json @@ -1,5 +1,5 @@ { - "name": "gaztec", + "name": "playground", "packageManager": "yarn@4.5.2", "private": true, "version": "0.0.0", diff --git a/gaztec/src/App.tsx b/playground/src/App.tsx similarity index 100% rename from gaztec/src/App.tsx rename to playground/src/App.tsx diff --git a/gaztec/src/assets/Aztec_logo.png b/playground/src/assets/Aztec_logo.png similarity index 100% rename from gaztec/src/assets/Aztec_logo.png rename to playground/src/assets/Aztec_logo.png diff --git a/gaztec/src/aztecEnv.ts b/playground/src/aztecEnv.ts similarity index 100% rename from gaztec/src/aztecEnv.ts rename to playground/src/aztecEnv.ts diff --git a/gaztec/src/common.styles.tsx b/playground/src/common.styles.tsx similarity index 100% rename from gaztec/src/common.styles.tsx rename to playground/src/common.styles.tsx diff --git a/gaztec/src/components/common/copyToClipboardButton.tsx b/playground/src/components/common/copyToClipboardButton.tsx similarity index 100% rename from gaztec/src/components/common/copyToClipboardButton.tsx rename to playground/src/components/common/copyToClipboardButton.tsx diff --git a/gaztec/src/components/common/fnParameter.tsx b/playground/src/components/common/fnParameter.tsx similarity index 100% rename from gaztec/src/components/common/fnParameter.tsx rename to playground/src/components/common/fnParameter.tsx diff --git a/gaztec/src/components/contract/components/createAuthwitDialog.tsx b/playground/src/components/contract/components/createAuthwitDialog.tsx similarity index 100% rename from gaztec/src/components/contract/components/createAuthwitDialog.tsx rename to playground/src/components/contract/components/createAuthwitDialog.tsx diff --git a/gaztec/src/components/contract/components/deployContractDialog.tsx b/playground/src/components/contract/components/deployContractDialog.tsx similarity index 100% rename from gaztec/src/components/contract/components/deployContractDialog.tsx rename to playground/src/components/contract/components/deployContractDialog.tsx diff --git a/gaztec/src/components/contract/components/registerContractDialog.tsx b/playground/src/components/contract/components/registerContractDialog.tsx similarity index 100% rename from gaztec/src/components/contract/components/registerContractDialog.tsx rename to playground/src/components/contract/components/registerContractDialog.tsx diff --git a/gaztec/src/components/contract/contract.tsx b/playground/src/components/contract/contract.tsx similarity index 100% rename from gaztec/src/components/contract/contract.tsx rename to playground/src/components/contract/contract.tsx diff --git a/gaztec/src/components/contract/dropzone.css b/playground/src/components/contract/dropzone.css similarity index 100% rename from gaztec/src/components/contract/dropzone.css rename to playground/src/components/contract/dropzone.css diff --git a/gaztec/src/components/home/home.tsx b/playground/src/components/home/home.tsx similarity index 100% rename from gaztec/src/components/home/home.tsx rename to playground/src/components/home/home.tsx diff --git a/gaztec/src/components/logPanel/logPanel.tsx b/playground/src/components/logPanel/logPanel.tsx similarity index 100% rename from gaztec/src/components/logPanel/logPanel.tsx rename to playground/src/components/logPanel/logPanel.tsx diff --git a/gaztec/src/components/sidebar/components/addNetworkDialog.tsx b/playground/src/components/sidebar/components/addNetworkDialog.tsx similarity index 100% rename from gaztec/src/components/sidebar/components/addNetworkDialog.tsx rename to playground/src/components/sidebar/components/addNetworkDialog.tsx diff --git a/gaztec/src/components/sidebar/components/addSenderDialog.tsx b/playground/src/components/sidebar/components/addSenderDialog.tsx similarity index 100% rename from gaztec/src/components/sidebar/components/addSenderDialog.tsx rename to playground/src/components/sidebar/components/addSenderDialog.tsx diff --git a/gaztec/src/components/sidebar/components/createAccountDialog.tsx b/playground/src/components/sidebar/components/createAccountDialog.tsx similarity index 100% rename from gaztec/src/components/sidebar/components/createAccountDialog.tsx rename to playground/src/components/sidebar/components/createAccountDialog.tsx diff --git a/gaztec/src/components/sidebar/components/txsPanel.tsx b/playground/src/components/sidebar/components/txsPanel.tsx similarity index 100% rename from gaztec/src/components/sidebar/components/txsPanel.tsx rename to playground/src/components/sidebar/components/txsPanel.tsx diff --git a/gaztec/src/components/sidebar/sidebar.tsx b/playground/src/components/sidebar/sidebar.tsx similarity index 99% rename from gaztec/src/components/sidebar/sidebar.tsx rename to playground/src/components/sidebar/sidebar.tsx index b5b040b36036..142a50a76c88 100644 --- a/gaztec/src/components/sidebar/sidebar.tsx +++ b/playground/src/components/sidebar/sidebar.tsx @@ -244,9 +244,9 @@ export function SidebarComponent() {
- GAztec + Playground
Connect diff --git a/gaztec/src/main.tsx b/playground/src/main.tsx similarity index 100% rename from gaztec/src/main.tsx rename to playground/src/main.tsx diff --git a/gaztec/src/utils/constants.ts b/playground/src/utils/constants.ts similarity index 100% rename from gaztec/src/utils/constants.ts rename to playground/src/utils/constants.ts diff --git a/gaztec/src/utils/conversion.ts b/playground/src/utils/conversion.ts similarity index 100% rename from gaztec/src/utils/conversion.ts rename to playground/src/utils/conversion.ts diff --git a/gaztec/src/utils/storage.ts b/playground/src/utils/storage.ts similarity index 100% rename from gaztec/src/utils/storage.ts rename to playground/src/utils/storage.ts diff --git a/gaztec/src/utils/txs.ts b/playground/src/utils/txs.ts similarity index 100% rename from gaztec/src/utils/txs.ts rename to playground/src/utils/txs.ts diff --git a/gaztec/src/vite-env.d.ts b/playground/src/vite-env.d.ts similarity index 100% rename from gaztec/src/vite-env.d.ts rename to playground/src/vite-env.d.ts diff --git a/gaztec/tsconfig.json b/playground/tsconfig.json similarity index 100% rename from gaztec/tsconfig.json rename to playground/tsconfig.json diff --git a/gaztec/vite.config.ts b/playground/vite.config.ts similarity index 100% rename from gaztec/vite.config.ts rename to playground/vite.config.ts diff --git a/gaztec/yarn.lock b/playground/yarn.lock similarity index 99% rename from gaztec/yarn.lock rename to playground/yarn.lock index f8b6dd718fc9..545d938e9e21 100644 --- a/gaztec/yarn.lock +++ b/playground/yarn.lock @@ -5,57 +5,57 @@ __metadata: version: 8 cacheKey: 10c0 -"@aztec/accounts@link:../yarn-project/accounts::locator=gaztec%40workspace%3A.": +"@aztec/accounts@link:../yarn-project/accounts::locator=playground%40workspace%3A.": version: 0.0.0-use.local - resolution: "@aztec/accounts@link:../yarn-project/accounts::locator=gaztec%40workspace%3A." + resolution: "@aztec/accounts@link:../yarn-project/accounts::locator=playground%40workspace%3A." languageName: node linkType: soft -"@aztec/aztec.js@link:../yarn-project/aztec.js::locator=gaztec%40workspace%3A.": +"@aztec/aztec.js@link:../yarn-project/aztec.js::locator=playground%40workspace%3A.": version: 0.0.0-use.local - resolution: "@aztec/aztec.js@link:../yarn-project/aztec.js::locator=gaztec%40workspace%3A." + resolution: "@aztec/aztec.js@link:../yarn-project/aztec.js::locator=playground%40workspace%3A." languageName: node linkType: soft -"@aztec/bb-prover@link:../yarn-project/bb-prover::locator=gaztec%40workspace%3A.": +"@aztec/bb-prover@link:../yarn-project/bb-prover::locator=playground%40workspace%3A.": version: 0.0.0-use.local - resolution: "@aztec/bb-prover@link:../yarn-project/bb-prover::locator=gaztec%40workspace%3A." + resolution: "@aztec/bb-prover@link:../yarn-project/bb-prover::locator=playground%40workspace%3A." languageName: node linkType: soft -"@aztec/circuits.js@link:../yarn-project/circuits.js::locator=gaztec%40workspace%3A.": +"@aztec/circuits.js@link:../yarn-project/circuits.js::locator=playground%40workspace%3A.": version: 0.0.0-use.local - resolution: "@aztec/circuits.js@link:../yarn-project/circuits.js::locator=gaztec%40workspace%3A." + resolution: "@aztec/circuits.js@link:../yarn-project/circuits.js::locator=playground%40workspace%3A." languageName: node linkType: soft -"@aztec/foundation@link:../yarn-project/foundation::locator=gaztec%40workspace%3A.": +"@aztec/foundation@link:../yarn-project/foundation::locator=playground%40workspace%3A.": version: 0.0.0-use.local - resolution: "@aztec/foundation@link:../yarn-project/foundation::locator=gaztec%40workspace%3A." + resolution: "@aztec/foundation@link:../yarn-project/foundation::locator=playground%40workspace%3A." languageName: node linkType: soft -"@aztec/key-store@link:../yarn-project/key-store::locator=gaztec%40workspace%3A.": +"@aztec/key-store@link:../yarn-project/key-store::locator=playground%40workspace%3A.": version: 0.0.0-use.local - resolution: "@aztec/key-store@link:../yarn-project/key-store::locator=gaztec%40workspace%3A." + resolution: "@aztec/key-store@link:../yarn-project/key-store::locator=playground%40workspace%3A." languageName: node linkType: soft -"@aztec/kv-store@link:../yarn-project/kv-store::locator=gaztec%40workspace%3A.": +"@aztec/kv-store@link:../yarn-project/kv-store::locator=playground%40workspace%3A.": version: 0.0.0-use.local - resolution: "@aztec/kv-store@link:../yarn-project/kv-store::locator=gaztec%40workspace%3A." + resolution: "@aztec/kv-store@link:../yarn-project/kv-store::locator=playground%40workspace%3A." languageName: node linkType: soft -"@aztec/pxe@link:../yarn-project/pxe::locator=gaztec%40workspace%3A.": +"@aztec/pxe@link:../yarn-project/pxe::locator=playground%40workspace%3A.": version: 0.0.0-use.local - resolution: "@aztec/pxe@link:../yarn-project/pxe::locator=gaztec%40workspace%3A." + resolution: "@aztec/pxe@link:../yarn-project/pxe::locator=playground%40workspace%3A." languageName: node linkType: soft -"@aztec/simulator@link:../yarn-project/simulator::locator=gaztec%40workspace%3A.": +"@aztec/simulator@link:../yarn-project/simulator::locator=playground%40workspace%3A.": version: 0.0.0-use.local - resolution: "@aztec/simulator@link:../yarn-project/simulator::locator=gaztec%40workspace%3A." + resolution: "@aztec/simulator@link:../yarn-project/simulator::locator=playground%40workspace%3A." languageName: node linkType: soft @@ -2607,46 +2607,6 @@ __metadata: languageName: node linkType: hard -"gaztec@workspace:.": - version: 0.0.0-use.local - resolution: "gaztec@workspace:." - dependencies: - "@aztec/accounts": "link:../yarn-project/accounts" - "@aztec/aztec.js": "link:../yarn-project/aztec.js" - "@aztec/bb-prover": "link:../yarn-project/bb-prover" - "@aztec/circuits.js": "link:../yarn-project/circuits.js" - "@aztec/foundation": "link:../yarn-project/foundation" - "@aztec/key-store": "link:../yarn-project/key-store" - "@aztec/kv-store": "link:../yarn-project/kv-store" - "@aztec/pxe": "link:../yarn-project/pxe" - "@aztec/simulator": "link:../yarn-project/simulator" - "@emotion/react": "npm:^11.14.0" - "@emotion/styled": "npm:^11.14.0" - "@eslint/js": "npm:^9.18.0" - "@fontsource/roboto": "npm:^5.1.1" - "@mui/icons-material": "npm:^6.3.1" - "@mui/material": "npm:^6.3.1" - "@mui/styles": "npm:^6.3.1" - "@types/node": "npm:^22.10.5" - "@types/react": "npm:^19.0.6" - "@types/react-dom": "npm:^19.0.3" - "@vitejs/plugin-react-swc": "npm:^3.7.2" - eslint: "npm:^9.13.0" - eslint-plugin-react-hooks: "npm:^5.1.0" - eslint-plugin-react-refresh: "npm:^0.4.18" - globals: "npm:^15.14.0" - nosleep.js: "npm:^0.12.0" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" - react-dropzone: "npm:^14.3.5" - typescript: "npm:~5.7.3" - typescript-eslint: "npm:^8.11.0" - vite: "npm:^6.0.11" - vite-plugin-node-polyfills: "npm:^0.23.0" - vite-plugin-static-copy: "npm:^2.2.0" - languageName: unknown - linkType: soft - "get-intrinsic@npm:^1.2.4, get-intrinsic@npm:^1.2.5, get-intrinsic@npm:^1.2.6": version: 1.2.7 resolution: "get-intrinsic@npm:1.2.7" @@ -3856,6 +3816,46 @@ __metadata: languageName: node linkType: hard +"playground@workspace:.": + version: 0.0.0-use.local + resolution: "playground@workspace:." + dependencies: + "@aztec/accounts": "link:../yarn-project/accounts" + "@aztec/aztec.js": "link:../yarn-project/aztec.js" + "@aztec/bb-prover": "link:../yarn-project/bb-prover" + "@aztec/circuits.js": "link:../yarn-project/circuits.js" + "@aztec/foundation": "link:../yarn-project/foundation" + "@aztec/key-store": "link:../yarn-project/key-store" + "@aztec/kv-store": "link:../yarn-project/kv-store" + "@aztec/pxe": "link:../yarn-project/pxe" + "@aztec/simulator": "link:../yarn-project/simulator" + "@emotion/react": "npm:^11.14.0" + "@emotion/styled": "npm:^11.14.0" + "@eslint/js": "npm:^9.18.0" + "@fontsource/roboto": "npm:^5.1.1" + "@mui/icons-material": "npm:^6.3.1" + "@mui/material": "npm:^6.3.1" + "@mui/styles": "npm:^6.3.1" + "@types/node": "npm:^22.10.5" + "@types/react": "npm:^19.0.6" + "@types/react-dom": "npm:^19.0.3" + "@vitejs/plugin-react-swc": "npm:^3.7.2" + eslint: "npm:^9.13.0" + eslint-plugin-react-hooks: "npm:^5.1.0" + eslint-plugin-react-refresh: "npm:^0.4.18" + globals: "npm:^15.14.0" + nosleep.js: "npm:^0.12.0" + react: "npm:^18.3.1" + react-dom: "npm:^18.3.1" + react-dropzone: "npm:^14.3.5" + typescript: "npm:~5.7.3" + typescript-eslint: "npm:^8.11.0" + vite: "npm:^6.0.11" + vite-plugin-node-polyfills: "npm:^0.23.0" + vite-plugin-static-copy: "npm:^2.2.0" + languageName: unknown + linkType: soft + "possible-typed-array-names@npm:^1.0.0": version: 1.0.0 resolution: "possible-typed-array-names@npm:1.0.0" diff --git a/yarn-project/aztec/CHANGELOG.md b/yarn-project/aztec/CHANGELOG.md index fe986b533b24..161f4e7d9445 100644 --- a/yarn-project/aztec/CHANGELOG.md +++ b/yarn-project/aztec/CHANGELOG.md @@ -34,7 +34,7 @@ ### Features -* Gaztec ([#11229](https://github.com/AztecProtocol/aztec-packages/issues/11229)) ([79f810d](https://github.com/AztecProtocol/aztec-packages/commit/79f810dc682d41154eb723e5bdf4c54c0681becb)) +* Aztec Playground ([#11229](https://github.com/AztecProtocol/aztec-packages/issues/11229)) ([79f810d](https://github.com/AztecProtocol/aztec-packages/commit/79f810dc682d41154eb723e5bdf4c54c0681becb)) * Lazy wasm pt. 2 ([#11410](https://github.com/AztecProtocol/aztec-packages/issues/11410)) ([01510f4](https://github.com/AztecProtocol/aztec-packages/commit/01510f45aa5d385a08584df674d9caf9522e6be2)) * Lazy wasm pt3 ([#11435](https://github.com/AztecProtocol/aztec-packages/issues/11435)) ([7068d05](https://github.com/AztecProtocol/aztec-packages/commit/7068d055d91a6e81e6fbb670e17c77ee209a1a80))