{"repo":"0xPolygon/heimdall-v2","free":true,"listed":false,"github":"https://github.com/0xPolygon/heimdall-v2","clone":"git clone https://github.com/0xPolygon/heimdall-v2.git","description":"Official consensus client of the Polygon blockchain.","language":"Go","stars":39,"topics":["comet","cometbft","consensus","cosmos","cosmos-sdk","ethereum","polygon"],"license":"GPL-3.0","category":"blockchain-web3","readme_excerpt":"heimdall-v2 Consensus client of the Polygon PoS chain, using forks of cometBFT and cosmos-sdk. Pre-requisites Make sure you have go1.26+ already installed. Build This will produce the binary heimdalld in the build directory. Initialize heimdall You can skip --chain-id flag if you want to run this locally (it will default to heimdall-local ). Otherwise, use heimdallv2-80002 for amoy , or heimdallv2-137 for mainnet . is the name of your node, which can be any string you like. This command will generate some folders and files in the heimdall home directory (default /var/lib/heimdall). Run heimdall How to use the keyring Instructions on how to import your validator private key into the keyring and use it to sign transactions. Get your base64 encoded private key from: /var/lib/heimdall/config/priv validator key.json Convert the base64 encoded key to the hex encoded key: echo \" \" base64 -d xxd -p -c 256 Import the hex encoded key to your keyring: heimdalld keys import-hex --home When you first import a key into the keyring, you will be prompted for a password, which will be used every time you sign a transaction. When running a tx command, specify the --from argument, by using the name of the key you have set above. Example: heimdalld tx gov vote 1 yes --from","default_branch":null,"files":null,"tree":[],"storefront":"/r/0xPolygon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/0xPolygon/heimdall-v2/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}