Skip to content

Commit

Permalink
chore: improve foundry-zksync installation (#18)
Browse files Browse the repository at this point in the history
# What 💻 
* Simplified foundry-zksync installation and makes use of pre-compiled
binaries instead of source

# Why ✋
* Better experience 

# Evidence 📷
Include screenshots, screen recordings, or `console` output here
demonstrating that your changes work as intended

<!-- All sections below are optional. You can uncomment any section
applicable to your Pull Request. -->

<!-- # Notes 📝
* Any notes/thoughts that the reviewers should know prior to reviewing
the code? -->
  • Loading branch information
dutterbutter authored Apr 18, 2024
1 parent c3ee8b9 commit 213fd8f
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions content/10.quick-start/00.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,29 @@ allowing for the compilation, deployment, testing, and interaction with smart co
yet and may not work as fully intended. It is open-sourced and contributions are welcome.
::

Install `foundry-zksync` with the following command:
<!-- TODO: @dutterbutter this should be a single curl command -->
```bash
# TODO: @dutterbutter this should be a single curl command without Rust requirements
git clone [email protected]:matter-labs/foundry-zksync.git
cd foundry-zksync
cargo build --bin forge --bin cast --release
```
Quickly set up `foundry-zksync` by following these steps:

1. **Clone the Repository**:
Download the latest version from GitHub:

```bash
git clone [email protected]:matter-labs/foundry-zksync.git
cd foundry-zksync
```

2. **Prepare the Installation Script**:
Ensure the script is executable:

```bash
chmod +x ./install-foundry-zksync
```

3. **Run the Installer**:
Execute the script to install the `foundry-zksync` binaries `forge` and `cast`:

```bash
./install-foundry-zksync
```

---

Expand Down

0 comments on commit 213fd8f

Please sign in to comment.