Skip to content

Commit

Permalink
fix: update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyg0 committed Aug 28, 2024
1 parent 700b2f0 commit 330900d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
13 changes: 7 additions & 6 deletions content/tutorials/guide-web3js/10.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
5 changes: 3 additions & 2 deletions content/tutorials/guide-web3js/_dir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 330900d

Please sign in to comment.