Skip to content

Commit

Permalink
fix: bold steps
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyg0 committed Aug 28, 2024
1 parent 330900d commit e112dd4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions content/tutorials/guide-web3js/10.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ This command installs the latest version of Web3.js and the ZKsync plugin for We
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 ZKsync CLI globally
**Step 1:** Install ZKsync CLI globally

```bash
npm install -g @matterlabs/zksync-cli
```

Step 2: Create a new ZKsync project by running
**Step 2:** Create a new ZKsync project by running

```bash
zksync-cli create --template node_web3js my-project
Expand All @@ -43,13 +43,13 @@ zksync-cli create --template node_web3js my-project
And then choose your preferred package manager in the list. This command will generate a new project with all
necessary configurations for ZKsync and install all necessary dependencies.

Step 3: Navigate to the newly created project directory:
**Step 3:** Navigate to the newly created project directory:

```bash
cd my-project
```

Step 4: Let's walk through the code to understand each part before running the script.
**Step 4:** Let's walk through the code to understand each part before running the script.

### Initialization

Expand Down Expand Up @@ -98,7 +98,7 @@ console.log(`Main contract: ${mainContract}`);
```
<!-- /*spellchecker: enable*/ -->

Step 5: Write your code in `src/main.ts` file, then run the script using `npm run start`.
**Step 5:** Write your code in `src/main.ts` file, then run the script using `npm run start`.

```javascript
import { Web3 } from "web3";
Expand Down

0 comments on commit e112dd4

Please sign in to comment.