CLI - Liveness
# Verify peer connection
curl 127.0.0.1:9101/metrics 2> /dev/null | grep "aptos_connections{.*\\"Validator\\".*}"
aptos_connections{direction="inbound",network_id="Validator",peer_id="84699c44",role_type="validator"} 138
aptos_connections{direction="outbound",network_id="Validator",peer_id="84699c44",role_type="validator"} 58
# Check state sync status, committed version should keep increasing
curl 127.0.0.1:9101/metrics 2> /dev/null | grep "aptos_state_sync_version"
# HELP aptos_state_sync_version The versions processed by the storage synchronizer operations
# TYPE aptos_state_sync_version gauge
aptos_state_sync_version{type="applied_transaction_outputs"} 222278
aptos_state_sync_version{type="executed_transactions"} 28131461
aptos_state_sync_version{type="synced"} 28353739
aptos_state_sync_version{type="synced_epoch"} 20
# Check consensus progress, the round should keep increasing
curl 127.0.0.1:9101/metrics 2> /dev/null | grep "aptos_consensus_current_round"
# Check proposals count
curl 127.0.0.1:9101/metrics 2> /dev/null | grep "aptos_consensus_proposals_count"
# Check stake pool, you should keep receiving rewards every epoch (2 hours)
[<https://explorer.devnet.aptos.dev/account/0x84699c4425469b5610f8c30d66026a57b9f7d7442cdcac7b2bf11875d80b05c2?network=ait3>](<https://explorer.devnet.aptos.dev/account/0x84699c4425469b5610f8c30d66026a57b9f7d7442cdcac7b2bf11875d80b05c2?network=ait3>)
CLI - Misc
# Initialize CLI with your wallet private key or create new wallet
aptos init --profile ait3-owner \\
--rest-url <http://ait3.aptosdev.com>
# Initialize staking pool using CLI, 4,000,000.00000000 = 4M
aptos stake initialize-stake-owner \\
--initial-stake-amount 400000000000000 \\
--operator-address <operator-address> \\
--voter-address <voter-address> \\
--profile ait3-owner
# Transfer coin between accounts
aptos account transfer \\
--account <operator-address> \\
--amount <amount> \\
--profile ait3-owner
# Switch operator
aptos stake set-operator \\
--operator-address <new-operator-address> \\
--profile ait3-owner
# Switch voter
aptos stake set-delegated-voter \\
--voter-address <new-voter-address> \\
--profile ait3-owner
# Add stake
aptos stake add-stake \\
--amount <amount> \\
--profile ait3-owner
# Increase stake lockup
aptos stake increase-lockup --profile ait3-owner
# Unlock stake
aptos stake unlock-stake \\
--amount <amount> \\
--profile ait3-owner
# Withdraw stake
aptos stake withdraw-stake \\
--amount <amount> \\
--profile ait3-owner
CLI - VFN Connection
curl '<https://node-checker.prod.gcp.aptosdev.com/check_node?node_url=http://35.82.20.133&api_port=80&baseline_configuration_name=ait3_vfn>' > nhc_out
cat nhc_out | jq .summary_explanation
# Success msg: "100: Awesome!"
# Failed msg: "50: Not good enough :("
Handy Keys (Lydia Labs Only)
# Owner
[0x84699c4425469b5610f8c30d66026a57b9f7d7442cdcac7b2bf11875d80b05c2](<https://explorer.devnet.aptos.dev/account/0x84699c4425469b5610f8c30d66026a57b9f7d7442cdcac7b2bf11875d80b05c2>)
# Operator
[0x82d5c9abc90b7f1bfc50e9e7e97cfd6bef82ba397650650094379879760583fd](<https://explorer.devnet.aptos.dev/account/0x82d5c9abc90b7f1bfc50e9e7e97cfd6bef82ba397650650094379879760583fd>)
# Voter
[0xa3ccde3dd254264c5eba87433aff98b89820e6adbb2f3ab363035630342ca9d4](<https://explorer.devnet.aptos.dev/account/0xa3ccde3dd254264c5eba87433aff98b89820e6adbb2f3ab363035630342ca9d4>)
Website: https://lydialabs.xyz/
Twitter: https://twitter.com/lydia_labs
Wiki: https://wiki.lydialabs.xyz
Lydia Labs Aptos Validator: 0x84699c4425469b5610f8c30d66026a57b9f7d7442cdcac7b2bf11875d80b05c2