Comment on page
How to Run a FullNode on Metatime MetaChain
How to Run a FullNode on Metatime MetaChain
- 8 cores of CPU and 16 GB of memory (RAM)
- A broadband Internet connection with upload/download speeds of 50 Mbit/S
- 128 GB of free disk space, solid-state drive(SSD)
- Download the pre-build binaries (Follow the instructions below)
#Linux
wget https://github.com/Metatime-Technology-Inc/metachain/raw/main/geth/geth_linux
mv geth_linux geth
chmod -v u+x geth
- Download the config files (Download genesis.json and config.toml)
# Linux
wget https://raw.githubusercontent.com/Metatime-Technology-Inc/metachain/main/geth/config.toml
wget https://raw.githubusercontent.com/Metatime-Technology-Inc/metachain/main/geth/genesis.json
- Write genesis state locally
# Linux
./geth --datadir data init genesis.json
You could see the following output:
INFO [09-29|14:01:51.824] Maximum peer count ETH=50 LES=0 total=50
INFO [09-29|14:01:51.825] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [09-29|14:01:51.827] Set global gas cap cap=50,000,000
INFO [09-29|14:01:51.828] Allocated cache and file handles database=/home/services/chain/data/geth/chaindata cache=16.00MiB handles=16
INFO [09-29|14:01:51.864] Opened ancient database database=/home/services/chain/data/geth/chaindata/ancient/chain readonly=false
INFO [09-29|14:01:51.864] Writing custom genesis block
INFO [09-29|14:01:51.865] Persisted trie from memory database nodes=16 size=2.38KiB time="37.28µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [09-29|14:01:51.867] Successfully wrote genesis state database=chaindata hash=b43aef..197d0d
INFO [09-29|14:01:51.867] Allocated cache and file handles database=/home/services/chain/data/geth/lightchaindata cache=16.00MiB handles=16
INFO [09-29|14:01:51.878] Opened ancient database database=/home/services/chain/data/geth/lightchaindata/ancient/chain readonly=false
INFO [09-29|14:01:51.878] Writing custom genesis block
INFO [09-29|14:01:51.879] Persisted trie from memory database nodes=16 size=2.38KiB time="21.191µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [09-29|14:01:51.880] Successfully wrote genesis state database=lightchaindata hash=b43aef..197d0d
- Start FullNode
# Linux
./geth --config config.toml --datadir data --cache 8000
Last modified 2mo ago