From 330900d973fef29c029cd66e4a7f839b566eb087 Mon Sep 17 00:00:00 2001 From: Jen <60794961+jennyg0@users.noreply.github.com> Date: Wed, 28 Aug 2024 18:09:28 -0400 Subject: [PATCH] fix: update naming --- content/tutorials/guide-web3js/10.index.md | 13 +++++++------ content/tutorials/guide-web3js/_dir.yml | 5 +++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/content/tutorials/guide-web3js/10.index.md b/content/tutorials/guide-web3js/10.index.md index 15025b8d..8e08370d 100644 --- a/content/tutorials/guide-web3js/10.index.md +++ b/content/tutorials/guide-web3js/10.index.md @@ -23,12 +23,12 @@ npm install web3 web3-plugin-zksync This command installs the latest version of Web3.js and the ZKsync plugin for Web3.js and adds them to your project's dependencies. -## Creating a project with zksync-cli +## Creating a project with ZKsync CLI -This section provides a quick start for developers who prefer using the zksync-cli to bootstrap their Web3.js +This section provides a quick start for developers who prefer using ZKsync CLI to bootstrap their Web3.js project from scratch. It’s ideal for those looking to create scripts that interact with ZKsync contracts in a new project. -Step 1: Install the zksync-cli globally +Step 1: Install ZKsync CLI globally ```bash npm install -g @matterlabs/zksync-cli @@ -123,12 +123,13 @@ main().catch(console.error); ## Recap In this tutorial, you’ve learned how to set up a Web3.js project with ZKsync, both by integrating it into an -existing project and by starting from scratch using the zksync-cli. You’ve also explored how to interact with +existing project and by starting from scratch using ZKsync CLI. You’ve also explored how to interact with ZKsync specific JSON-RPC methods, such as retrieving the current block number and fetching the main contract address. ## Learn More -- To further enhance your skills, explore the examples provided in the zksync-cli scripting template found under `src/examples`. +- To further enhance your skills, explore the examples provided in the ZKsync CLI scripting template found under `src/examples`. These examples demonstrate additional scripts you can run with Web3.js to interact with ZKsync. -- Refer to the [documentation](https://sdk.zksync.io/js/web3js) for more details and code samples to continue building with the Web3.js Plugin. +- Refer to the [ZKsync Web3.js documentation](https://sdk.zksync.io/js/web3js) for more details and +code samples to continue building with the Web3.js Plugin. diff --git a/content/tutorials/guide-web3js/_dir.yml b/content/tutorials/guide-web3js/_dir.yml index 0e4f2a3a..88ccae2b 100644 --- a/content/tutorials/guide-web3js/_dir.yml +++ b/content/tutorials/guide-web3js/_dir.yml @@ -12,11 +12,12 @@ summary: This guide will teach you how to set up and use Web3.js to interact with ZKsync, leveraging the ZKsync Web3.js plugin. description: Learn how to use the ZKsync Web3.js plugin to interact with ZKsync. This guide covers setting up a new Web3.js project - with the zksync-cli, integrating ZKsync into an existing project, and sending RPC requests to ZKsync. + with ZKsync CLI, integrating ZKsync into an existing project, and sending RPC requests to ZKsync. what_you_will_learn: - - How to setup a Web3.js project using the zksync-cli + - How to setup a Web3.js project using ZKsync CLI - How to install Web3.js and the ZKsync plugin in an existing project - How to send RPC requests to ZKsync updated: 2024-05-09 tools: - Web3.js + - ZKsync CLI