Run a Morph Full Node

This guide outlines the steps to start a Morph node. The example assumes the home directory is ~/.morph

Hardware requirements

Running the morph node requires 2 processes:Lgeth and node.

Build executable binary

Clone morph

mkdir -p ~/.morph
cd ~/.morph
git clone <https://github.com/morph-l2/morph.git>

Currently, we use tag v0.1.0-beta as our beta version.

cd morph
git checkout v0.1.0-beta

Build Geth

Notice: You need C compiler to build geth

make nccc_geth

Build Node

cd ~/.morph/morph/node
make build

Sync from genesis block

Config Preparation

Download the config files and make data dir

cd ~/.morph
wget <https://raw.githubusercontent.com/morph-l2/config-template/main/holesky/data.zip>
unzip data.zip