Initial Setup

Sets up the development environment for GenVM repository. Use when setting up the repo for the first time or when dependencies need to be refreshed.

genlayerlabs Updated

File contents

To set up the GenVM development environment:

  1. Enter the Nix flake environment:

    nix develop .#full
    
  2. Initialize git submodules:

    git submodule update --init --recursive --depth 1
    
  3. Source environment variables:

    source env.sh
    

    This adds tools/git-third-party to PATH and sources .env if it exists.

  4. Update third-party dependencies:

    ./tools/git-third-party/git-third-party update --all
    

    This updates wasmtime, wasm-tools, and applies GenVM-specific patches.

The repository will be ready for development with all dependencies properly configured.

genlayerlabs/genvm commit 50a2763e9c

Frequently asked questions

npx get-skill add genlayerlabs/initial-setup