diff --git a/content/00.build/10.zksync-101/00.index.md b/content/00.build/10.zksync-101/00.index.md index 49869c33..5ecdbe09 100644 --- a/content/00.build/10.zksync-101/00.index.md +++ b/content/00.build/10.zksync-101/00.index.md @@ -24,7 +24,7 @@ help you become a great developer on ZKsync! You will learn how to: ## Install zksync-cli Our Quickstart series utilizes the `zksync-cli` to help you develop and interact with ZKsync from your local machine. Check out our -[zksync-cli section](/build/tooling/zksync-cli) to learn more on how to use the CLI. +[zksync-cli section](/build/zksync-cli) to learn more on how to use the CLI. You will need to install a couple tools to effectively use `zksync-cli`: diff --git a/content/00.build/40.tooling/10.zksync-cli/00.index.md b/content/00.build/20.zksync-cli/00.index.md similarity index 100% rename from content/00.build/40.tooling/10.zksync-cli/00.index.md rename to content/00.build/20.zksync-cli/00.index.md diff --git a/content/00.build/40.tooling/10.zksync-cli/01.troubleshooting.md b/content/00.build/20.zksync-cli/01.troubleshooting.md similarity index 97% rename from content/00.build/40.tooling/10.zksync-cli/01.troubleshooting.md rename to content/00.build/20.zksync-cli/01.troubleshooting.md index 528241b8..2c089240 100644 --- a/content/00.build/40.tooling/10.zksync-cli/01.troubleshooting.md +++ b/content/00.build/20.zksync-cli/01.troubleshooting.md @@ -49,7 +49,7 @@ e. **Use the Latest Version** If `zksync-cli` is not running the latest version: -- Refer to the [instructions for `unknown command` Error](/build/tooling/zksync-cli/troubleshooting#unknown-command-error) +- Refer to the [instructions for `unknown command` Error](/build/zksync-cli/troubleshooting#unknown-command-error) above to check and update your ZKsync CLI version. --- diff --git a/content/00.build/40.tooling/10.zksync-cli/10.zksync-cli-dev.md b/content/00.build/20.zksync-cli/10.zksync-cli-dev.md similarity index 100% rename from content/00.build/40.tooling/10.zksync-cli/10.zksync-cli-dev.md rename to content/00.build/20.zksync-cli/10.zksync-cli-dev.md diff --git a/content/00.build/40.tooling/10.zksync-cli/20.zksync-cli-create.md b/content/00.build/20.zksync-cli/20.zksync-cli-create.md similarity index 100% rename from content/00.build/40.tooling/10.zksync-cli/20.zksync-cli-create.md rename to content/00.build/20.zksync-cli/20.zksync-cli-create.md diff --git a/content/00.build/40.tooling/10.zksync-cli/30.zksync-cli-contract.md b/content/00.build/20.zksync-cli/30.zksync-cli-contract.md similarity index 100% rename from content/00.build/40.tooling/10.zksync-cli/30.zksync-cli-contract.md rename to content/00.build/20.zksync-cli/30.zksync-cli-contract.md diff --git a/content/00.build/40.tooling/10.zksync-cli/40.zksync-cli-transaction.md b/content/00.build/20.zksync-cli/40.zksync-cli-transaction.md similarity index 100% rename from content/00.build/40.tooling/10.zksync-cli/40.zksync-cli-transaction.md rename to content/00.build/20.zksync-cli/40.zksync-cli-transaction.md diff --git a/content/00.build/40.tooling/10.zksync-cli/50.zksync-cli-wallet.md b/content/00.build/20.zksync-cli/50.zksync-cli-wallet.md similarity index 100% rename from content/00.build/40.tooling/10.zksync-cli/50.zksync-cli-wallet.md rename to content/00.build/20.zksync-cli/50.zksync-cli-wallet.md diff --git a/content/00.build/40.tooling/10.zksync-cli/60.zksync-cli-bridge.md b/content/00.build/20.zksync-cli/60.zksync-cli-bridge.md similarity index 100% rename from content/00.build/40.tooling/10.zksync-cli/60.zksync-cli-bridge.md rename to content/00.build/20.zksync-cli/60.zksync-cli-bridge.md diff --git a/content/00.build/40.tooling/10.zksync-cli/70.zksync-cli-config-chains.md b/content/00.build/20.zksync-cli/70.zksync-cli-config-chains.md similarity index 100% rename from content/00.build/40.tooling/10.zksync-cli/70.zksync-cli-config-chains.md rename to content/00.build/20.zksync-cli/70.zksync-cli-config-chains.md diff --git a/content/00.build/40.tooling/10.zksync-cli/_dir.yml b/content/00.build/20.zksync-cli/_dir.yml similarity index 100% rename from content/00.build/40.tooling/10.zksync-cli/_dir.yml rename to content/00.build/20.zksync-cli/_dir.yml diff --git a/content/00.build/40.tooling/20.hardhat/10.getting-started.md b/content/00.build/40.tooling/20.hardhat/10.getting-started.md index 9bdab475..b0e92b14 100644 --- a/content/00.build/40.tooling/20.hardhat/10.getting-started.md +++ b/content/00.build/40.tooling/20.hardhat/10.getting-started.md @@ -30,7 +30,7 @@ Along with the official plugins, there are [other plugins from the community](/b To learn more about Hardhat itself, check out [the official documentation](https://hardhat.org/getting-started/). -This tutorial shows you how to setup a ZKsync Era Solidity project with Hardhat using the [ZKsync CLI](/build/tooling/zksync-cli). +This tutorial shows you how to setup a ZKsync Era Solidity project with Hardhat using the [ZKsync CLI](/build/zksync-cli). If you are using Vyper, check out the [Vyper plugin documentation](/build/tooling/hardhat/hardhat-zksync-vyper) or the [vyper-example](%%zk_git_repo_hardhat-zksync%%/tree/main/examples/vyper-example) in GitHub! @@ -49,7 +49,7 @@ or the [vyper-example](%%zk_git_repo_hardhat-zksync%%/tree/main/examples/vyper-e ::callout Skip the hassle for test ETH by using `zksync-cli` for local testing. Use the `npx zksync-cli dev start` command to initialize a local ZKsync development environment, which includes local Ethereum and ZKsync nodes. -This method allows you to test contracts without requesting external testnet funds. Explore more in the [zksync-cli documentation](/build/tooling/zksync-cli). +This method allows you to test contracts without requesting external testnet funds. Explore more in the [zksync-cli documentation](/build/zksync-cli). :: ::callout{icon="i-heroicons-exclamation-triangle" color="amber"} diff --git a/content/00.build/40.tooling/20.hardhat/60.hardhat-zksync-deploy.md b/content/00.build/40.tooling/20.hardhat/60.hardhat-zksync-deploy.md index 5bcdaf49..a742ff85 100644 --- a/content/00.build/40.tooling/20.hardhat/60.hardhat-zksync-deploy.md +++ b/content/00.build/40.tooling/20.hardhat/60.hardhat-zksync-deploy.md @@ -27,7 +27,7 @@ You can get Sepolia ETH from the [network faucets](/ecosystem/network-faucets). Skip the hassle for test ETH by using `zksync-cli` for local testing. Simply execute `npx zksync-cli dev start` to initialize a local ZKsync development environment, which includes local Ethereum and ZKsync nodes. This method allows you to test contracts without requesting external testnet funds. -Explore more in the [zksync-cli documentation](/build/tooling/zksync-cli). +Explore more in the [zksync-cli documentation](/build/zksync-cli). :: ::callout{icon="i-heroicons-exclamation-triangle" color="amber"} diff --git a/content/00.build/60.test-and-debug/00.index.md b/content/00.build/60.test-and-debug/00.index.md index b3bf03d2..22a44393 100644 --- a/content/00.build/60.test-and-debug/00.index.md +++ b/content/00.build/60.test-and-debug/00.index.md @@ -56,5 +56,5 @@ Choose the most appropriate setup based on your specific needs, and happy testin ## Use ZKsync CLI for easy setup -The [ZKsync CLI](/build/tooling/zksync-cli) makes it simple for developers to work with both the Dockerized local setup and In-Memory Node. +The [ZKsync CLI](/build/zksync-cli) makes it simple for developers to work with both the Dockerized local setup and In-Memory Node. Use `zksync-cli dev start` to get your local development environment running along with additional modules like Block Explorer, Wallet and Bridge. diff --git a/content/00.build/60.test-and-debug/20.in-memory-node.md b/content/00.build/60.test-and-debug/20.in-memory-node.md index ac7e2f4e..1c14a5b3 100644 --- a/content/00.build/60.test-and-debug/20.in-memory-node.md +++ b/content/00.build/60.test-and-debug/20.in-memory-node.md @@ -23,7 +23,7 @@ You can visit the `era-test-node` repository [to learn more](%%zk_git_repo_era-t ## Run actions with `zksync-cli` You can setup the In-Memory Node quickly with `zksync-cli dev start`. -If you don't have `zksync-cli` setup, see the [Overview](/build/tooling/zksync-cli) guide. +If you don't have `zksync-cli` setup, see the [Overview](/build/zksync-cli) guide. Note: at the moment this method won't allow you to use additional features like forking networks or replaying transactions. diff --git a/content/00.build/60.test-and-debug/40.hardhat.md b/content/00.build/60.test-and-debug/40.hardhat.md index 068e7063..8f79720c 100644 --- a/content/00.build/60.test-and-debug/40.hardhat.md +++ b/content/00.build/60.test-and-debug/40.hardhat.md @@ -14,7 +14,7 @@ and we'll use [Mocha](https://mochajs.org/) as our test runner. ### Prerequisites -- `zksync-cli` installed from the [zksync-cli section](/build/tooling/zksync-cli). +- `zksync-cli` installed from the [zksync-cli section](/build/zksync-cli). - `era_test_node` installed and running. See [In-memory Node](/build/test-and-debug/in-memory-node). --- diff --git a/content/10.zk-stack/20.running-a-zk-chain/10.locally.md b/content/10.zk-stack/20.running-a-zk-chain/10.locally.md index 3fe38d3a..e28f0f02 100644 --- a/content/10.zk-stack/20.running-a-zk-chain/10.locally.md +++ b/content/10.zk-stack/20.running-a-zk-chain/10.locally.md @@ -19,7 +19,7 @@ to set up dependencies on your machine (don't worry about the Environment sectio ::callout{icon="i-heroicons-exclamation-triangle" color="amber"} This guide is for setting up an Elastic Chain ecosystem and for spinning up your own ZK chains using ZK Stack. If you just want play around with a pre-built ZKsync chain, you can use `zksync-cli dev` to run docker containers. -Learn more on [zksync-cli](/build/tooling/zksync-cli). +Learn more on [zksync-cli](/build/zksync-cli). :: ### Install ZK Inception diff --git a/content/index.yml b/content/index.yml index 667c34a4..11e129c0 100644 --- a/content/index.yml +++ b/content/index.yml @@ -23,7 +23,7 @@ features: - title: 'Develop with zksync-cli' description: 'Boost your development workflow with the zksync-cli tool.' icon: 'i-simple-icons-windowsterminal' - to: '/build/tooling/zksync-cli' + to: '/build/zksync-cli' - title: 'Architecture' description: 'Learn about the ZKsync architecture and how it works under the hood.' icon: 'i-heroicons-sparkles-20-solid' diff --git a/firebase.json b/firebase.json index 72652d10..be2605d4 100644 --- a/firebase.json +++ b/firebase.json @@ -111,8 +111,13 @@ "type": 301 }, { - "source": "/build/tooling/zksync-cli/getting-started.html", - "destination": "/build/tooling/zksync-cli", + "source": "/build/tooling/zksync-cli", + "destination": "/build/zksync-cli", + "type": 301 + }, + { + "source": "/build/tooling/zksync-cli/*.@(html|md)", + "destination": "/build/zksync-cli", "type": 301 }, {