I see this example on Substrate's docs:
Node key: c12b6d18942f5ee8528c8e2baf4e147b5c5c18710926ea492d09cbd9f6c9f82a
PeerID (generated from the node key): 12D3KooWBmAwcd4PJNJvfV89HwE48nwkRmAgo8Vy3uQEyNNHBox2
Decoded PeerID in hex: 0024080112201ce5f00ef6e89374afb625f1ae4c1546d31234e87e3c3f51a62b91dd6bfa57df
I can generate the node key and the PeerID with the
subkey program e.g.
subkey generate-node-key. However, I'm not sure how I can decode the PeerID in the Terminal. Any idea how I could do this?