Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
fix: removing npm tab for zksync-cli (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
amelnytskyi authored Feb 22, 2024
1 parent a2cf740 commit f6271fa
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions docs/build/tutorials/how-to/send-transaction-l1-l2.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,29 +235,13 @@ User needs to perform next steps:

1. Run local node dockerized containers. [`Instructions how to run it`](https://github.com/matter-labs/local-setup/tree/main) or use [`zksync-cli`](https://github.com/matter-labs/zksync-cli):

::: code-tabs
@tab npx

```npx
npx zksync-cli dev config
// choose: Dockerized node - Persistent state, includes L1 and L2 nodes
// choose: BE and Portal (optional)
npx zksync-cli dev start
```

@tab npm

```npm
// install zksync-cli
npm i -g zksync-cli
zksync-cli dev config
// choose: Dockerized node - Persistent state, includes L1 and L2 nodes
// choose: BE and Portal (optional)
zksync-cli dev start
```

:::

2. In the root folder of the imported project (step 1) create `file.js` and insert there code from example below
3. In the root folder add `.env` file with private key of wallet to use

Expand Down

0 comments on commit f6271fa

Please sign in to comment.