From d3d7ad7f973e52b60e9119cc98e82bca9a53f707 Mon Sep 17 00:00:00 2001 From: Paul Balaji Date: Mon, 8 Jan 2024 17:10:26 +0000 Subject: [PATCH] feat: add foundry and rosetta setup steps (#3134) --- README.md | 18 ++++++++++++++++++ rust/README.md | 8 ++++++++ 2 files changed, 26 insertions(+) diff --git a/README.md b/README.md index 927ea7cda..de21d97f4 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,24 @@ To read more about interchain applications, how the protocol works, and how to i ## Working on Hyperlane +### Foundry + +First ensure you have Foundry installed on your machine. + +Run the following to install `foundryup`: + +```bash +curl -L https://foundry.paradigm.xyz | bash +``` + +Then run `foundryup` to install `forge`, `cast`, `anvil` and `chisel`. + +```bash +foundryup +``` + +Check out the [Foundry Book](https://book.getfoundry.sh/getting-started/installation) for more information. + ### Workspaces This monorepo uses [Yarn Workspaces](https://yarnpkg.com/features/workspaces). Installing dependencies, building, testing, and running prettier for all packages can be done from the root directory of the repository. diff --git a/rust/README.md b/rust/README.md index ae73e2418..51bba9613 100644 --- a/rust/README.md +++ b/rust/README.md @@ -15,6 +15,14 @@ info: This is the version for the rustup toolchain manager, not the rustc compil info: The currently active `rustc` version is `rustc 1.72.1 (d5c2e9c34 2023-09-13)` ``` +#### Apple Silicon + +If your device has an Apple Silicon processor, you may need to install Rosetta 2: + +```bash +softwareupdate --install-rosetta --agree-to-license +``` + ### Running Locally To run the validator, run: