Quick Start
Welcome to the Metis SDK! This guide will help you quickly launch a Metis dev node.
Pre-Built Binaries
Archives of precompiled binaries of metis are available for macOS and Linux. They are static executables. Users of platforms not explicitly listed below should download one of these archives.
Docker
Metis hyperion node docker images for both x86_64 and ARM64 machines are published with every release of reth on GitHub Container Registry.
Or a specific version (e.g. v0.1.0) with:
You can test the image with:
Build from Source
Dependencies
First, install Rust using rustup:
With Rust installed, follow the instructions below to install dependencies relevant to your operating system:
Build Metis
With Rust and the dependencies installed, clone the repository:
Then, install metis into your PATH
via:
Alternatively, you can build yourself with:
This will place the reth binary under ./target/release/metis
, and you can copy it to your directory of preference after that.
Run a Node
From Binary
Execute the following command to launch a Metis devnet:
Execute the following command to launch a Metis devnet with the genesis config file:
A genesis.json
example is
Note that these commands will not open any HTTP/WS ports by default. You can change this by adding the --http, --ws flags, respectively and using the --http.api and --ws.api flags to enable various ETH compatible JSON-RPC APIs.
From Docker
To run the dev node with Docker, run:
Observability with Prometheus & Grafana
Metis chain exposes a number of metrics which can be enabled by adding the --metrics
flag:
When you use metis chain for deployment, you can expose this ports
CLI Reference
Metis chain is built on reth, they use almost the same CLI parameters, you can find more CLI information here.
Interacting with Metis Chain over JSON-RPC
Metis chain is built on reth, they both have the same ETH compatible JSON-RPC, you can find more JSON-RPC information here.