8000 GitHub - maticnetwork/heimdall: Validator node for Polygon PoS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

maticnetwork/heimdall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heimdall

Go Report Card CircleCI GolangCI Lint

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

Install from source

Make sure you have Go v1.20+ already installed.

Install

$ make install

Init Heimdall

$ heimdalld init
$ heimdalld init --chain=mainnet        Will init with genesis.json for mainnet
$ 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=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.

0