Skip to content

Commit

Permalink
chore: update instructions and commit hashes for programs (#118)
Browse files Browse the repository at this point in the history
* chore:  update instructions and commit hashes for programs

Signed-off-by: Ryan Goulding <[email protected]>

* chore: revert program-hash

* chore: correct working directory

---------

Signed-off-by: Ryan Goulding <[email protected]>
Co-authored-by: Zou Guangxian <[email protected]>
  • Loading branch information
ryandgoulding and zouguangxian authored Oct 27, 2024
1 parent 7bcfb4d commit 2d4d177
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions packages/layerzero-v2/solana/programs/verify-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ Install Homebrew by running the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```

Once Homebrew is installed, the next step is to launch a virtual machine using `tart`, a tool to manage macOS virtual machines. We will clone a base macOS Sonoma image and run the virtual machine.
Once Homebrew is installed, the next step is to install `tart`, a tool to manage macOS virtual machines.

Clone the image and launch the virtual machine:
```bash
brew install cirruslabs/cli/tart
```

Clone the base macOS Sonoma image and launch the virtual machine:

```bash
tart clone ghcr.io/cirruslabs/macos-sonoma-base:latest sonoma-base
Expand Down Expand Up @@ -59,6 +63,8 @@ sudo sysadminctl -addUser carmencheng -fullName "" -password admin
sudo dscl . -append /Groups/admin GroupMembership carmencheng
```

Note: You *must* use `charmencheng` as the username due to tooling limitations.

After creating the account, switch to it by running:

```bash
Expand Down Expand Up @@ -99,6 +105,7 @@ git clone https://github.com/LayerZero-Labs/LayerZero-v2.git ~/Desktop/layerzero
Check out the specific commit required for this verification:

```bash
cd ~/Desktop/layerzero/monorepo
git checkout 37c598b3e6e218c5e00c8b0dcd42f984e5b13147
```

Expand Down Expand Up @@ -186,6 +193,13 @@ cd ~/Desktop/layerzero/monorepo
yarn
```

Note: Ensure you confirm when prompted to install yarn:

```text
! Corepack is about to download https://repo.yarnpkg.com/4.0.2/packages/yarnpkg-cli/bin/yarn.js
? Do you want to continue? [Y/n] y
```

---

## Step 3: Build and Verify the Solana Contracts
Expand Down

0 comments on commit 2d4d177

Please sign in to comment.