Metis supports Berlin + PUSH0 of Shanghai (Solidity v0.8.23 and lower)
Metis Docs
Faucet
Quick Start

Foundry

Foundry is a fast and powerful framework for Ethereum development, written in Rust. It’s great for developers who prefer more control and speed in their development workflows.

Install Foundry

Install Foundry by running the following command in your terminal:

curl -L https://foundry.paradigm.xyz | bash

Then, initialize Foundry:

foundryup

Create a Foundry Project

Start a new project:

forge init my-foundry-project

Configure Foundry for Metis

You will need to edit the foundry.toml file to include Metis network details:

[profile.default]
rpc_endpoints = {
    metis = "https://andromeda.metis.io/?owner=1088",  # Andromeda Mainnet
    sepolia = "https://sepolia.metisdevops.link"  # Sepolia Testnet
}

Compile and Deploy

Compile your contracts:

forge build

Deploy using Foundry:

forge create --rpc-url https://andromeda.metis.io/?owner=1088 src/MyContract.sol:MyContract

On this page