logo

Representable Contract State

an XML-based canonical view of EVM contract state


Setup

Below you’ll find instructions to set up your environment so you can run the examples presented on these pages.


macOS

1. Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile

eval "$(/opt/homebrew/bin/brew shellenv)"

2. Install Foundry

brew install foundry

3. Install jbang

brew install jbang

Note: This may take a while.

Next

Continue on the try-it page.


Windows

0. Install Microsoft.VCRedist.2015+.x64

Open PowerShell and run:

winget install --id Microsoft.VCRedist.2015+.x64

You may be prompted for UAC/admin approval (recommended: open PowerShell as Administrator).
This step is required for Foundry.

Note: Foundry currently runs as x64 even on Windows on ARM, so you need the x64 VC++ redistributable.

1. Install Git Bash (part of Git)

Install Git for Windows (includes Git Bash) from https://gitforwindows.org/

2. Install Foundry

Open Git Bash.

In Git Bash, run:

curl -L https://foundry.paradigm.xyz | bash
source ~/.bashrc  # or reopen Git Bash
foundryup

3. Install jbang

In Git Bash, run:

curl -Ls https://sh.jbang.dev | bash -s - app setup

Next

Open a new Git Bash window and continue on the try-it page.