Skip to content

In this repository you can find a guide to the morph project, which was written by me. Guides are constantly updated!

License

Notifications You must be signed in to change notification settings

TempGROX/my_morph_guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

my_morph_guide

In this repository you can find a guide to the morph project, which was written by me. Guides are constantly updated!

Download and Install

System Requirements

Only the minimum system requirements are indicated here, if yours is below this, then you should not try to follow this guide!

Geth

KEY VALUE
CPU 2 cores
RAM 4 GB
Disk 1 TB
Ethernet 8 MBit/sec

Node

KEY VALUE
CPU 1.4 GHz
Disk 25 GB
RAM 1 GB

Build from the source

mkdir -p ~/.morph 
cd ~/.morph
git clone https://github.com/morph-l2/morph.git
git checkout v0.1.0-beta

cd morph
git checkout v0.1.0-beta

Build Geth

make nccc_geth

Build Node

cd ~/.morph/morph/node 
make build

Download and unzip Genesis File

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

Script to start Geth

./morph/go-ethereum/build/bin/geth --morph-holesky \
    --datadir "./geth-data" \
    --http --http.api=web3,debug,eth,txpool,net,engine \
    --authrpc.addr localhost \
    --authrpc.vhosts="localhost" \
    --authrpc.port 8551 \
    --authrpc.jwtsecret=./jwt-secret.txt \
    --miner.gasprice="100000000" \
    --log.filename=./geth.log

Script to start Node

./morph/node/build/bin/morphnode --home ./node-data \
     --l2.jwt-secret ./jwt-secret.txt \
     --l2.eth http://localhost:8545 \
     --l2.engine http://localhost:8551 \
     --log.filename ./node.log

The end!

If you liked this guide, please go to all my social networks)


About

In this repository you can find a guide to the morph project, which was written by me. Guides are constantly updated!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published