This guide describes the approach to running a Morph validator node. If you are unfamiliar with the validator duties, please refer to our optimistic zkEVM design.
Create the folder ~/.morph
as our home directory for this example.
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 geth.
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
cd ~/.morph
wget <https://raw.githubusercontent.com/morph-l2/config-template/main/holesky/data.zip>
unzip data.zip
cd ~/.morph
openssl rand -hex 32 > jwt-secret.txt