This guide outlines the steps to start a Morph node. The example assumes the home directory is ~/.morph
Running the morph node requires 2 processes:Lgeth
and node
.
Geth
:the Morph execution layer which needs to meet the go-ethereum hardware requirements, but with less storage, 500GB is enough so far.Node
:the Morph consensus layer embedded tendermint which needs to meet the tendermint hardware requirements.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
Notice: You need C compiler to build geth
make nccc_geth
cd ~/.morph/morph/node
make build
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