Skip to content

Instantly share code, notes, and snippets.

@rootulp
Created October 17, 2023 13:28
Show Gist options
  • Save rootulp/d92dbb6801d8f4caa4f43694c914a121 to your computer and use it in GitHub Desktop.
Save rootulp/d92dbb6801d8f4caa4f43694c914a121 to your computer and use it in GitHub Desktop.
Example genesis.json for testing
{
"genesis_time": "2023-10-12T15:26:28.328045Z",
"chain_id": "private",
"initial_height": "1",
"consensus_params": {
"block": {
"max_bytes": "1974272",
"max_gas": "-1",
"time_iota_ms": "1"
},
"evidence": {
"max_age_num_blocks": "120961",
"max_age_duration": "1814400000000000",
"max_bytes": "1048576"
},
"validator": {
"pub_key_types": [
"ed25519"
]
},
"version": {
"app_version": "1"
}
},
"app_hash": "",
"app_state": {
"auth": {
"params": {
"max_memo_characters": "256",
"tx_sig_limit": "7",
"tx_size_cost_per_byte": "10",
"sig_verify_cost_ed25519": "590",
"sig_verify_cost_secp256k1": "1000"
},
"accounts": [
{
"@type": "/cosmos.auth.v1beta1.BaseAccount",
"address": "celestia1mm9wqztvknazdmtm8veuzcjjh2mux3h3hc65rv",
"pub_key": null,
"account_number": "0",
"sequence": "0"
}
]
},
"authz": {
"authorization": []
},
"bank": {
"params": {
"send_enabled": [],
"default_send_enabled": true
},
"balances": [],
"supply": [],
"denom_metadata": [
{
"description": "The native staking token of the Celestia network.",
"denom_units": [
{
"denom": "utia",
"exponent": 0,
"aliases": [
"microtia"
]
},
{
"denom": "TIA",
"exponent": 6,
"aliases": []
}
],
"base": "utia",
"display": "TIA",
"name": "TIA",
"symbol": "TIA",
"uri": "",
"uri_hash": ""
}
]
},
"blob": {
"params": {
"gas_per_blob_byte": 8,
"gov_max_square_size": "64"
}
},
"capability": {
"index": "1",
"owners": []
},
"crisis": {
"constant_fee": {
"denom": "utia",
"amount": "1000"
}
},
"distribution": {
"params": {
"community_tax": "0.020000000000000000",
"base_proposer_reward": "0.010000000000000000",
"bonus_proposer_reward": "0.040000000000000000",
"withdraw_addr_enabled": true
},
"fee_pool": {
"community_pool": []
},
"delegator_withdraw_infos": [],
"previous_proposer": "",
"outstanding_rewards": [],
"validator_accumulated_commissions": [],
"validator_historical_rewards": [],
"validator_current_rewards": [],
"delegator_starting_infos": [],
"validator_slash_events": []
},
"evidence": {
"evidence": []
},
"feegrant": {
"allowances": []
},
"genutil": {
"gen_txs": [
{
"body": {
"messages": [
{
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
"description": {
"moniker": "private",
"identity": "",
"website": "",
"security_contact": "",
"details": ""
},
"commission": {
"rate": "0.100000000000000000",
"max_rate": "0.200000000000000000",
"max_change_rate": "0.010000000000000000"
},
"min_self_delegation": "1",
"delegator_address": "celestia1mm9wqztvknazdmtm8veuzcjjh2mux3h3hc65rv",
"validator_address": "celestiavaloper1mm9wqztvknazdmtm8veuzcjjh2mux3h3j8cd42",
"pubkey": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "BtXRf2jSSFKjK/np1ZoVSz7xzj4WCZf8rsdkyHlr7Fs="
},
"value": {
"denom": "utia",
"amount": "5000000000"
}
}
],
"memo": "f60c60c514fb6d36715510e21f83f3a0b460fc48@10.239.121.21:26656",
"timeout_height": "0",
"extension_options": [],
"non_critical_extension_options": []
},
"auth_info": {
"signer_infos": [
{
"public_key": {
"@type": "/cosmos.crypto.secp256k1.PubKey",
"key": "A/SLPf5t+wvcM0beYjG0Jv9Qi4etcAC01ePyRxtegkAF"
},
"mode_info": {
"single": {
"mode": "SIGN_MODE_DIRECT"
}
},
"sequence": "0"
}
],
"fee": {
"amount": [],
"gas_limit": "210000",
"payer": "",
"granter": ""
},
"tip": null
},
"signatures": [
"qDdDcAbaCI5hPmML8CaHrRmKBDFIS/Q0LSJPmy7vm9gqydkH7x/LZ9O3fs+RGb7ZJOrC27MM73/GhRir/7qN+Q=="
]
}
]
},
"gov": {
"starting_proposal_id": "1",
"deposits": [],
"votes": [],
"proposals": [],
"deposit_params": {
"min_deposit": [
{
"denom": "utia",
"amount": "1000000000"
}
],
"max_deposit_period": "604800s"
},
"voting_params": {
"voting_period": "1209600s"
},
"tally_params": {
"quorum": "0.334000000000000000",
"threshold": "0.500000000000000000",
"veto_threshold": "0.334000000000000000"
}
},
"ibc": {
"client_genesis": {
"clients": [],
"clients_consensus": [],
"clients_metadata": [],
"params": {
"allowed_clients": [
"06-solomachine",
"07-tendermint"
]
},
"create_localhost": false,
"next_client_sequence": "0"
},
"connection_genesis": {
"connections": [],
"client_connection_paths": [],
"next_connection_sequence": "0",
"params": {
"max_expected_time_per_block": "75000000000"
}
},
"channel_genesis": {
"channels": [],
"acknowledgements": [],
"commitments": [],
"receipts": [],
"send_sequences": [],
"recv_sequences": [],
"ack_sequences": [],
"next_channel_sequence": "0"
}
},
"mint": {
"bond_denom": "utia"
},
"params": null,
"qgb": {
"params": {
"data_commitment_window": "400"
}
},
"slashing": {
"params": {
"signed_blocks_window": "5000",
"min_signed_per_window": "0.750000000000000000",
"downtime_jail_duration": "60s",
"slash_fraction_double_sign": "0.050000000000000000",
"slash_fraction_downtime": "0.000000000000000000"
},
"signing_infos": [],
"missed_blocks": []
},
"staking": {
"params": {
"unbonding_time": "1814400s",
"max_validators": 100,
"max_entries": 7,
"historical_entries": 10000,
"bond_denom": "utia",
"min_commission_rate": "0.050000000000000000"
},
"last_total_power": "0",
"last_validator_powers": [],
"validators": [],
"delegations": [],
"unbonding_delegations": [],
"redelegations": [],
"exported": false
},
"transfer": {
"port_id": "transfer",
"denom_traces": [],
"params": {
"send_enabled": true,
"receive_enabled": true
}
},
"vesting": {}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment