Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maticnetwork/heimdall
Validator node for Polygon PoS
https://github.com/maticnetwork/heimdall
dapps decentralized-applications ethereum matic proof-of-stake
Last synced: 5 days ago
JSON representation
Validator node for Polygon PoS
- Host: GitHub
- URL: https://github.com/maticnetwork/heimdall
- Owner: maticnetwork
- License: gpl-3.0
- Created: 2018-11-01T10:17:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-27T07:24:35.000Z (15 days ago)
- Last Synced: 2024-11-30T07:06:22.928Z (12 days ago)
- Topics: dapps, decentralized-applications, ethereum, matic, proof-of-stake
- Language: Go
- Homepage: https://polygon.technology/
- Size: 574 MB
- Stars: 270
- Watchers: 36
- Forks: 181
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Audit: audit/audit-feature-milestones.pdf
- Security: SECURITY.md
Awesome Lists containing this project
- best-of-crypto - GitHub - 1% open · ⏱️ 05.06.2024): (Smart Contract Platforms)
README
# Heimdall
[![Go Report Card](https://goreportcard.com/badge/github.com/maticnetwork/heimdall)](https://goreportcard.com/report/github.com/maticnetwork/heimdall) [![CircleCI](https://circleci.com/gh/maticnetwork/heimdall/tree/master.svg?style=shield)](https://circleci.com/gh/maticnetwork/heimdall/tree/master) [![GolangCI](https://golangci.com/badges/github.com/maticnetwork/heimdall.svg)](https://golangci.com/r/github.com/maticnetwork/heimdall)
Validator node for Matic Network. It uses peppermint, customized [Tendermint](https://github.com/tendermint/tendermint).
### Install from source
Make sure you have go1.11+ already installed
### Install
```bash
$ make install
```
### Init-heimdall
```bash
$ 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
```bash
$ 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
```bash
$ heimdalld rest-server
```### Run bridge
```bash
$ heimdalld bridge
```### Develop using Docker
You can build and run Heimdall using the included Dockerfile in the root directory:
```bash
docker build -t heimdall .
docker run heimdall
```### Documentation
Latest docs are [here](https://wiki.polygon.technology/docs/category/heimdall)