feat: add foundry and rosetta setup steps (#3134)

pull/3142/head
Paul Balaji 11 months ago committed by GitHub
parent c720ee1d6a
commit d3d7ad7f97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      README.md
  2. 8
      rust/README.md

@ -28,6 +28,24 @@ To read more about interchain applications, how the protocol works, and how to i
## Working on Hyperlane ## 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 ### 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. 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.

@ -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)` 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 ### Running Locally
To run the validator, run: To run the validator, run:

Loading…
Cancel
Save