Skip to content

Instantly share code, notes, and snippets.

@0xJohnnyGault
Last active March 8, 2023 23:39
Show Gist options
  • Save 0xJohnnyGault/11d52dfd48cfb7e22d2260057137bbde to your computer and use it in GitHub Desktop.
Save 0xJohnnyGault/11d52dfd48cfb7e22d2260057137bbde to your computer and use it in GitHub Desktop.
GoGoTools: 'ggt node info' command
https://github.com/multisig-labs/GoGoTools
❯ ggt node info | jq
{
"nodeID": "NodeID-FfpWLRXCgiQjbrhk4qxKWHrpZGjeBngTA",
"networkID": 1337,
"networkName": "network-1337",
"uptime": {
"rewardingStakePercentage": "100.0000",
"weightedAveragePercentage": "100.0000"
},
"getNodeVersion": {
"version": "avalanche/1.9.10",
"databaseVersion": "v1.4.5",
"rpcProtocolVersion": "24",
"gitCommit": "98c4466b0dba3d404a62e76a1e1623ec0621ba24",
"vmVersions": {
"avm": "v1.9.10",
"evm": "v0.11.8",
"platform": "v1.9.10",
"subnetevm": "v0.4.11"
}
},
"getVMs": {
"vms": {
"jvYyfQTxGMJLuGWa55kdP2p2zSUYsQ5Raupu4TW34ZAUBAbtq": [
"avm"
],
"mgj786NP7uDwBCcq6YwThhaN8FLyybkCa4zBWTQbNgmK6k9A6": [
"evm"
],
"qd2U4HDWUvMrVUeTcCHp6xH3Qpnn1XbU5MDdnBoiifFqvgXwT": [
"nftfx"
],
"rWhpuQPF1kb72esV2momhMuTYGkEb1oL29pt2EBXWmSy4kxnT": [
"platform"
],
"rXJsCSEYXg2TehWxCEEGj6JU2PWKTkd6cBdNLjoe2SpsKD9cy": [
"propertyfx"
],
"spdxUxVJQbX85MGxMHbKw1sHxMnSqJ3QBzDyDYEP3h6TLuxqQ": [
"secp256k1fx"
],
"srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy": [
"subnetevm"
]
}
},
"subnets": [
{
"id": "2aPkmYuVqCBMGnyDBUsKExmD6SZa7JSH8sw8ekcsQ41nTj2qrp",
"controlKeys": [
"P-custom18jma8ppw3nhx5r4ap8clazz0dps7rv5u9xde7p"
],
"threshold": "1"
},
{
"id": "11111111111111111111111111111111LpoYY",
"controlKeys": [],
"threshold": "0"
}
],
"stakingAssetIDs": {
"11111111111111111111111111111111LpoYY": "28N55gFiYRrHWTopC4mybgvTw92x4EmWiZBLCRBgjXFyBgx9UN"
},
"blockchains": [
{
"id": "FsZshki1omgMrYADHoWdf6jVDGf5aS9CAbT43Qf4n55NBVsYa",
"name": "MyChainName",
"subnetID": "2aPkmYuVqCBMGnyDBUsKExmD6SZa7JSH8sw8ekcsQ41nTj2qrp",
"vmID": "srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy"
},
{
"id": "WfQ2oC7vX1d6LfvxvueB1tPfqzjb8zfoQGYoRsvr4stkkFDn4",
"name": "C-Chain",
"subnetID": "11111111111111111111111111111111LpoYY",
"vmID": "mgj786NP7uDwBCcq6YwThhaN8FLyybkCa4zBWTQbNgmK6k9A6"
},
{
"id": "2huFztbeB4LijVCoLrxP8NwFbRCdtLfUyvx4VXwD5VnVxzxkMX",
"name": "X-Chain",
"subnetID": "11111111111111111111111111111111LpoYY",
"vmID": "jvYyfQTxGMJLuGWa55kdP2p2zSUYsQ5Raupu4TW34ZAUBAbtq"
}
],
"aliases": {
"blockchainAliases": {
"FsZshki1omgMrYADHoWdf6jVDGf5aS9CAbT43Qf4n55NBVsYa": [
"MyChainName",
"FsZshki1omgMrYADHoWdf6jVDGf5aS9CAbT43Qf4n55NBVsYa"
],
"WfQ2oC7vX1d6LfvxvueB1tPfqzjb8zfoQGYoRsvr4stkkFDn4": [
"C",
"evm",
"WfQ2oC7vX1d6LfvxvueB1tPfqzjb8zfoQGYoRsvr4stkkFDn4"
],
"2huFztbeB4LijVCoLrxP8NwFbRCdtLfUyvx4VXwD5VnVxzxkMX": [
"X",
"avm",
"2huFztbeB4LijVCoLrxP8NwFbRCdtLfUyvx4VXwD5VnVxzxkMX"
]
}
},
"rpcs": {
"C": "http://localhost:9650/ext/bc/C/rpc",
"MyChainName": "http://localhost:9650/ext/bc/FsZshki1omgMrYADHoWdf6jVDGf5aS9CAbT43Qf4n55NBVsYa/rpc"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment