$ certikd export --height <height> --for-zero-height > exported_genesis.json
- Change
chain_id
(or other parameters that need to be changed) inexported_genesis.json
- Download the proposed genesis file by the CertiK Foundation and save as
proposed_genesis.json
- Sort the keys in both genesis files (export is non-deterministic)
$ jq . --sort-keys proposed_genesis.json > sorted_proposed_genesis.json
$ jq . --sort-keys exported_genesis.json > sorted_exported_genesis.json
- Verify if the sha512sum hashes match