Skip to content

maticnetwork/heimdall

Repository files navigation

Heimdall

Go Report Card CircleCI GolangCI

Validator node for Matic Network. It uses peppermint, customized Tendermint.

Install from source

Make sure you have go1.11+ already installed

Install

$ make install

Init-heimdall

$ heimdalld init
$ heimdalld init --chain=mainnet        Will init with genesis.json for mainnet
$ heimdalld init --chain=mumbai         Will init with genesis.json for mumbai
$ heimdalld init --chain=amoy           Will init with genesis.json for amoy

Run-heimdall

$ heimdalld start

Usage

$ heimdalld start                       Will start for mainnet by default
$ heimdalld start --chain=mainnet       Will start for mainnet
$ heimdalld start --chain=mumbai        Will start for mumbai
$ heimdalld start --chain=amoy          Will start for amoy
$ heimdalld start --chain=local         Will start for local with NewSelectionAlgoHeight = 0

Run rest server

$ heimdalld rest-server 

Run bridge

$ heimdalld bridge 

Develop using Docker

You can build and run Heimdall using the included Dockerfile in the root directory:

docker build -t heimdall .
docker run heimdall

Documentation

Latest docs are here