Readonly
This will always be defined as the public key is embedded in the multihash of this PeerId
Returns true if the passed argument is equivalent to this PeerId
Optional
Returns a CID with the libp2p key code and the same multihash as toMultihash()
toMultihash()
Returns a multihash, the digest of which is the protobuf-encoded public key encoded as an identity hash
Returns the multihash from toMultihash() as a base58btc encoded string
This will always be defined as the public key is embedded in the multihash of this PeerId