Core Components

Heimdall

Heimdall is the Proof-of-Stake Validator node and layer for the Matic Network. It works in consonance with the Staking contracts on Ethereum to enable the PoS mechanism on Matic. You can read up on it more here.

It comes with 2 main entrypoints:

  • heimdalld: The heimdall Daemon, runs a full-node of the heimdall application.
  • heimdallcli: The Heimdall command-line interface, which enables interaction with a heimdall full-node.

The core responsibility of Heimdall is to verify all state transitions happening on Bor and to periodically submit checkpoints on the Ethereum chain cementing the side-chain state.

Bor

Bor is the Block producer node and layer for the Matic Network. Blocks produced on Bor are validated by Heimdall nodes.

Bor is the EVM compatible Matic Side chain which currently is built on top of geth using bor consensus mechanism.

Staking Contracts

To enable the PoS mechanism on our platform, we employ a set of staking management contracts on Ethereum, as well as a set of incentivized validators running Heimdall and Bor nodes. These implement the following features:

  • The ability for anyone to stake MATIC tokens on the Ethereum smart contract and join the system as a Validator.
  • Earn staking rewards for validating state transitions on Matic Network.
  • Enable penalties/slashing for activities such as double signing, validator downtime, etc.