How to Set Up a Node

MEVerse is open source on Github(https://github.com/meverselabs/meverse). Anybody can download codes from github.

Environment

Linux

Golang 1.18.2

C compiler(gcc 4.9.0 or later, mingw etc.)

If you sync from the Genesis block, you can start node with following commands

$ git clone https://github.com/meverselabs/meverse
$ cd ./meverse/cmd/node
$ go build
$ ./node

MEVerse saves context snapshots once a day. You can also download latest data to start node from recent block height.

  1. Unzip the zipcontext file, you will find data folder and _config.toml

  2. Create ./meverse/cmd/node/ndata folder and place data/context file

  3. Overwrite _config.toml file's InitGenesisHash, InitHeight, InitHash, InitTimestamp in ./meverse/cmd/node/config.toml file

  4. Run after build

You can exchange data with mainnet through RPC. 8541 port is set as a basic port, and it can be edited in RPCPort field in /cmd/node/config.toml.

Last updated