Skip to content

Instantly share code, notes, and snippets.

@jtremback
Created May 25, 2021 17:16
Show Gist options
  • Save jtremback/64bcd822968f8ceb269a4eb130ac0790 to your computer and use it in GitHub Desktop.
Save jtremback/64bcd822968f8ceb269a4eb130ac0790 to your computer and use it in GitHub Desktop.
[root@988264c069fc /]# ls
bin go media run validator-eth-keys
boot gravity mnt sbin validator-phrases
dev home opt srv validator1
etc lib orchestrator-phrases sys validator2
genesis.json lib64 proc tmp validator3
geth lost+found root usr var
[root@988264c069fc /]# cd validator-
validator-eth-keys validator-phrases
[root@988264c069fc /]# cd validator-
validator-eth-keys validator-phrases
[root@988264c069fc /]# cd validator-eth-keys
bash: cd: validator-eth-keys: Not a directory
[root@988264c069fc /]# cat validator-eth-keys
private: 0xed7ee67418c3b86f6196e6250085b7955b3f5bff286312a5c52f57ce7ff8ed52
public: 0x04868106495d2359c6e39474cf817f8e104d0c55d1484354121d61d6e970f8f557009d3722404194b8a4762e8482f22ad1109365da697c75b792a2ba5b9c611b93
address: 0x895ec2d849152A5Ff902289Ef950457950f01b1D
private: 0x536e8123c605c1b4f69764effa560da16e75a74dfae23ca74132b2384668efc5
public: 0x04092609b2631b67f227eca55603f80d24f8260741395998c3886b7786ed0b12e0a100fc0866ba0d9a693817a741070566a005ea8c2191145ddfe9ed77aa4d92c2
address: 0x33BF20b0A7AD40222261aF6722aEc922331bea2f
private: 0xe78e8e989385f2ff0a5fe6abfbbf47626a5094dae8c1c090929a64a1276aac34
public: 0x048bec97061167ce4d9b8f6d028f79f1b95b896275cd949fed5c24fb11cf13502dee64855fe7ca12327c12e6411d40b55f61e75971c00e9ba4b937f87828118120
address: 0x205b8FC909611EB08b96fC84665Aa4a9EfA51588
[root@988264c069fc /]# cat validator-phrases
**Important** write this mnemonic phrase in a safe place.
It is the only way to recover your account if you ever forget your password.
vivid during result beauty cargo hybrid grace head tooth reunion mad supreme relax remember uphold bunker cake frost gaze void energy salmon ceiling unlock
**Important** write this mnemonic phrase in a safe place.
It is the only way to recover your account if you ever forget your password.
machine memory lens oxygen hover mercy broccoli fox depart olive chuckle pig host such fever dose menu edit elephant inner shoot fatal child surround
**Important** write this mnemonic phrase in a safe place.
It is the only way to recover your account if you ever forget your password.
trash luxury mask clog build narrow puzzle protect hour demise castle crack brisk ribbon hazard imitate predict payment crowd claim bag buyer maple cherry
[root@988264c069fc /]# cat orchestrator-phrases
**Important** write this mnemonic phrase in a safe place.
It is the only way to recover your account if you ever forget your password.
bid deposit fit best cycle morning grace cost surface arrange urban topic steel chest congress sail help long net tomato brief yard gentle undo
**Important** write this mnemonic phrase in a safe place.
It is the only way to recover your account if you ever forget your password.
dance critic turn labor screen axis asset use hair gown that wasp quality diet also issue embark cheese rigid enact siege settle illegal nature
**Important** write this mnemonic phrase in a safe place.
It is the only way to recover your account if you ever forget your password.
pass cliff vintage carry survey draw mother rely trust plate novel hedgehog joy final happy address orient coil finger bind auto feel stereo pear
[root@988264c069fc /]# cat genesis.json
{
"genesis_time": "2021-05-25T17:12:17.580051364Z",
"chain_id": "gravity-test",
"initial_height": "1",
"consensus_params": {
"block": {
"max_bytes": "22020096",
"max_gas": "-1",
"time_iota_ms": "1000"
},
"evidence": {
"max_age_num_blocks": "100000",
"max_age_duration": "172800000000000",
"max_bytes": "1048576"
},
"validator": {
"pub_key_types": [
"ed25519"
]
},
"version": {}
},
"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": "cosmos1vtumcz79r7q84mtm75t5nsc8fxr6u9qelz3n0j",
"pub_key": null,
"account_number": "0",
"sequence": "0"
},
{
"@type": "/cosmos.auth.v1beta1.BaseAccount",
"address": "cosmos1cnc0jqhf92lrxfwkdw0usrg2fw9z8u9lpprgcc",
"pub_key": null,
"account_number": "0",
"sequence": "0"
},
{
"@type": "/cosmos.auth.v1beta1.BaseAccount",
"address": "cosmos1c2uvpdswq85djap4wjeaavlc947fk06fs8u63g",
"pub_key": null,
"account_number": "0",
"sequence": "0"
},
{
"@type": "/cosmos.auth.v1beta1.BaseAccount",
"address": "cosmos12x8z6dlset9p2f2amutpmutpd6fx6xnfegnwkg",
"pub_key": null,
"account_number": "0",
"sequence": "0"
},
{
"@type": "/cosmos.auth.v1beta1.BaseAccount",
"address": "cosmos1fpme3qfqn489yukaw6m9ukhyt7adrwrc5fsvmd",
"pub_key": null,
"account_number": "0",
"sequence": "0"
},
{
"@type": "/cosmos.auth.v1beta1.BaseAccount",
"address": "cosmos160vcmzdu6g5qe0uk8ulhuagvx4lhzac48rgkrq",
"pub_key": null,
"account_number": "0",
"sequence": "0"
}
]
},
"bank": {
"params": {
"send_enabled": [],
"default_send_enabled": true
},
"balances": [
{
"address": "cosmos1fpme3qfqn489yukaw6m9ukhyt7adrwrc5fsvmd",
"coins": [
{
"denom": "footoken",
"amount": "10000000000"
},
{
"denom": "stake",
"amount": "10000000000"
}
]
},
{
"address": "cosmos12x8z6dlset9p2f2amutpmutpd6fx6xnfegnwkg",
"coins": [
{
"denom": "footoken",
"amount": "10000000000"
},
{
"denom": "stake",
"amount": "10000000000"
}
]
},
{
"address": "cosmos1vtumcz79r7q84mtm75t5nsc8fxr6u9qelz3n0j",
"coins": [
{
"denom": "footoken",
"amount": "10000000000"
},
{
"denom": "stake",
"amount": "10000000000"
}
]
},
{
"address": "cosmos1c2uvpdswq85djap4wjeaavlc947fk06fs8u63g",
"coins": [
{
"denom": "footoken",
"amount": "10000000000"
},
{
"denom": "stake",
"amount": "10000000000"
}
]
},
{
"address": "cosmos1cnc0jqhf92lrxfwkdw0usrg2fw9z8u9lpprgcc",
"coins": [
{
"denom": "footoken",
"amount": "10000000000"
},
{
"denom": "stake",
"amount": "10000000000"
}
]
},
{
"address": "cosmos160vcmzdu6g5qe0uk8ulhuagvx4lhzac48rgkrq",
"coins": [
{
"denom": "footoken",
"amount": "10000000000"
},
{
"denom": "stake",
"amount": "10000000000"
}
]
}
],
"supply": [],
"denom_metadata": [
{
"description": "A non-staking test token",
"denom_units": [
{
"denom": "footoken",
"exponent": 0,
"aliases": []
},
{
"denom": "mfootoken",
"exponent": 6,
"aliases": []
}
],
"base": "footoken",
"display": "mfootoken"
},
{
"description": "A staking test token",
"denom_units": [
{
"denom": "stake",
"exponent": 0,
"aliases": []
},
{
"denom": "mstake",
"exponent": 6,
"aliases": []
}
],
"base": "stake",
"display": "mstake"
}
]
},
"capability": {
"index": "1",
"owners": []
},
"crisis": {
"constant_fee": {
"denom": "stake",
"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": []
},
"genutil": {
"gen_txs": [
{
"body": {
"messages": [
{
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
"description": {
"moniker": "validator3",
"identity": "",
"website": "",
"security_contact": "",
"details": ""
},
"commission": {
"rate": "0.100000000000000000",
"max_rate": "0.200000000000000000",
"max_change_rate": "0.010000000000000000"
},
"min_self_delegation": "1",
"delegator_address": "cosmos1fpme3qfqn489yukaw6m9ukhyt7adrwrc5fsvmd",
"validator_address": "cosmosvaloper1fpme3qfqn489yukaw6m9ukhyt7adrwrc3ayeh7",
"pubkey": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "DhR/ymP1Lv946OiVqjqz8AJpFzWXV+0TRvugKq4jgJE="
},
"value": {
"denom": "stake",
"amount": "500000000"
}
},
{
"@type": "/gravity.v1.MsgSetOrchestratorAddress",
"validator": "cosmosvaloper1fpme3qfqn489yukaw6m9ukhyt7adrwrc3ayeh7",
"orchestrator": "cosmos160vcmzdu6g5qe0uk8ulhuagvx4lhzac48rgkrq",
"eth_address": "0x205b8FC909611EB08b96fC84665Aa4a9EfA51588"
}
],
"memo": "[email protected]:26656",
"timeout_height": "0",
"extension_options": [],
"non_critical_extension_options": []
},
"auth_info": {
"signer_infos": [
{
"public_key": {
"@type": "/cosmos.crypto.secp256k1.PubKey",
"key": "AjuuXe1AjD/q3p851ao7FUNZ67HNrczhvxCiuV9N3ckv"
},
"mode_info": {
"single": {
"mode": "SIGN_MODE_DIRECT"
}
},
"sequence": "0"
}
],
"fee": {
"amount": [],
"gas_limit": "200000",
"payer": "",
"granter": ""
}
},
"signatures": [
"cPxiTysjwZiMj+UyJ7QxaILUPrpoy5KG8RwpQQ1a59IQ38sqbY5H3qrNt4rO1r8V+cLqNuVg0g2Hkl44yTLrtg=="
]
},
{
"body": {
"messages": [
{
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
"description": {
"moniker": "validator2",
"identity": "",
"website": "",
"security_contact": "",
"details": ""
},
"commission": {
"rate": "0.100000000000000000",
"max_rate": "0.200000000000000000",
"max_change_rate": "0.010000000000000000"
},
"min_self_delegation": "1",
"delegator_address": "cosmos1c2uvpdswq85djap4wjeaavlc947fk06fs8u63g",
"validator_address": "cosmosvaloper1c2uvpdswq85djap4wjeaavlc947fk06f4ng0am",
"pubkey": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "t2u1zg9WsKEPzBMS47ONefBdHnY3TFx1SeV3H8heyYs="
},
"value": {
"denom": "stake",
"amount": "500000000"
}
},
{
"@type": "/gravity.v1.MsgSetOrchestratorAddress",
"validator": "cosmosvaloper1c2uvpdswq85djap4wjeaavlc947fk06f4ng0am",
"orchestrator": "cosmos12x8z6dlset9p2f2amutpmutpd6fx6xnfegnwkg",
"eth_address": "0x33BF20b0A7AD40222261aF6722aEc922331bea2f"
}
],
"memo": "[email protected]:26656",
"timeout_height": "0",
"extension_options": [],
"non_critical_extension_options": []
},
"auth_info": {
"signer_infos": [
{
"public_key": {
"@type": "/cosmos.crypto.secp256k1.PubKey",
"key": "AzbTY5bUpNO/N9XqLvNlTQpih+1Q7hwnbsD67BfWPsZA"
},
"mode_info": {
"single": {
"mode": "SIGN_MODE_DIRECT"
}
},
"sequence": "0"
}
],
"fee": {
"amount": [],
"gas_limit": "200000",
"payer": "",
"granter": ""
}
},
"signatures": [
"IMvV8i3RefpZzPC2oNimbm/YQ2/rh3VvhtQdLLNuTqQekqJ8PXEbUAgmKdvwbiTK8D9vSURtgGEudAyATg2TiQ=="
]
},
{
"body": {
"messages": [
{
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
"description": {
"moniker": "validator1",
"identity": "",
"website": "",
"security_contact": "",
"details": ""
},
"commission": {
"rate": "0.100000000000000000",
"max_rate": "0.200000000000000000",
"max_change_rate": "0.010000000000000000"
},
"min_self_delegation": "1",
"delegator_address": "cosmos1vtumcz79r7q84mtm75t5nsc8fxr6u9qelz3n0j",
"validator_address": "cosmosvaloper1vtumcz79r7q84mtm75t5nsc8fxr6u9qe6k9xrp",
"pubkey": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "Nu8HFTuFKgceifurbBHpgLGrwWfoupaVpvgqLKIQfnU="
},
"value": {
"denom": "stake",
"amount": "500000000"
}
},
{
"@type": "/gravity.v1.MsgSetOrchestratorAddress",
"validator": "cosmosvaloper1vtumcz79r7q84mtm75t5nsc8fxr6u9qe6k9xrp",
"orchestrator": "cosmos1cnc0jqhf92lrxfwkdw0usrg2fw9z8u9lpprgcc",
"eth_address": "0x895ec2d849152A5Ff902289Ef950457950f01b1D"
}
],
"memo": "[email protected]:26656",
"timeout_height": "0",
"extension_options": [],
"non_critical_extension_options": []
},
"auth_info": {
"signer_infos": [
{
"public_key": {
"@type": "/cosmos.crypto.secp256k1.PubKey",
"key": "AwsMOonDysH+A/e2r0aGY5WMEnFhN4pxmRSSNgXugOWD"
},
"mode_info": {
"single": {
"mode": "SIGN_MODE_DIRECT"
}
},
"sequence": "0"
}
],
"fee": {
"amount": [],
"gas_limit": "200000",
"payer": "",
"granter": ""
}
},
"signatures": [
"hvB1pCbMKR15rSfcbCG4HhprVV7CGLvpnuZuTRcyU4BOS4o9nhEPG49ki/GTvkuQ6B6minkG9KWXLdSsEPV/Jw=="
]
}
]
},
"gov": {
"starting_proposal_id": "1",
"deposits": [],
"votes": [],
"proposals": [],
"deposit_params": {
"min_deposit": [
{
"denom": "stake",
"amount": "10000000"
}
],
"max_deposit_period": "172800s"
},
"voting_params": {
"voting_period": "172800s"
},
"tally_params": {
"quorum": "0.334000000000000000",
"threshold": "0.500000000000000000",
"veto_threshold": "0.334000000000000000"
}
},
"gravity": {
"params": {
"gravity_id": "defaultgravityid",
"contract_source_hash": "",
"bridge_ethereum_address": "",
"bridge_chain_id": "0",
"signed_valsets_window": "10000",
"signed_batches_window": "10000",
"signed_logic_calls_window": "10000",
"target_batch_timeout": "43200000",
"average_block_time": "5000",
"average_ethereum_block_time": "15000",
"slash_fraction_valset": "0.001000000000000000",
"slash_fraction_batch": "0.001000000000000000",
"slash_fraction_logic_call": "0.001000000000000000",
"unbond_slashing_valsets_window": "10000",
"slash_fraction_bad_eth_signature": "0.001000000000000000",
"valset_reward": null
},
"last_observed_nonce": "0",
"valsets": [],
"valset_confirms": [],
"batches": [],
"batch_confirms": [],
"logic_calls": [],
"logic_call_confirms": [],
"attestations": [],
"delegate_keys": [],
"erc20_to_denoms": [],
"unbatched_transfers": []
},
"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"
},
"channel_genesis": {
"channels": [],
"acknowledgements": [],
"commitments": [],
"receipts": [],
"send_sequences": [],
"recv_sequences": [],
"ack_sequences": [],
"next_channel_sequence": "0"
}
},
"mint": {
"minter": {
"inflation": "0.130000000000000000",
"annual_provisions": "0.000000000000000000"
},
"params": {
"mint_denom": "stake",
"inflation_rate_change": "0.130000000000000000",
"inflation_max": "0.200000000000000000",
"inflation_min": "0.070000000000000000",
"goal_bonded": "0.670000000000000000",
"blocks_per_year": "6311520"
}
},
"params": null,
"slashing": {
"params": {
"signed_blocks_window": "100",
"min_signed_per_window": "0.500000000000000000",
"downtime_jail_duration": "600s",
"slash_fraction_double_sign": "0.050000000000000000",
"slash_fraction_downtime": "0.010000000000000000"
},
"signing_infos": [],
"missed_blocks": []
},
"staking": {
"params": {
"unbonding_time": "1814400s",
"max_validators": 100,
"max_entries": 7,
"historical_entries": 10000,
"bond_denom": "stake"
},
"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
}
},
"upgrade": {},
"vesting": {}
}
}[root@988264c069fc /]# ls validator
ls: cannot access 'validator': No such file or directory
[root@988264c069fc /]# ls validator
validator-eth-keys validator-phrases validator1/ validator2/ validator3/
[root@988264c069fc /]# ls validator1
config data keyring-test logs
[root@988264c069fc /]# ls
bin etc geth.log home lost+found opt root srv usr validator1 var
boot genesis.json go lib media orchestrator-phrases run sys validator-eth-keys validator2
dev geth gravity lib64 mnt proc sbin tmp validator-phrases validator3
[root@988264c069fc /]# ls validator1/
config/ data/ keyring-test/ logs
[root@988264c069fc /]# ls validator1/data/
application.db/ cs.wal/ priv_validator_state.json state.db/
blockstore.db/ evidence.db/ snapshots/ tx_index.db/
[root@988264c069fc /]# ls validator1/keyring-test/
62f9bc0bc51f807aed7bf51749c3074987ae1419.address orchestrator1.info
c4f0f902e92abe3325d66b9fc80d0a4b8a23f0bf.address validator1.info
[root@988264c069fc /]# ls validator1/keyring-test/
62f9bc0bc51f807aed7bf51749c3074987ae1419.address orchestrator1.info
c4f0f902e92abe3325d66b9fc80d0a4b8a23f0bf.address validator1.info
[root@988264c069fc /]# ls validator1/keyring-test/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment