libp2p
    Preparing search index...

    Interface Ed25519PeerId

    interface Ed25519PeerId {
        publicKey: Ed25519PublicKey;
        type: "Ed25519";
        equals(other?: any): boolean;
        toCID(): CID<Uint8Array<ArrayBufferLike>, 114, 0, 1>;
        toMultihash(): MultihashDigest<0>;
        toString(): string;
    }
    Index

    Properties

    publicKey: Ed25519PublicKey

    This will always be defined as the public key is embedded in the multihash of this PeerId

    type: "Ed25519"

    Methods

    • Returns true if the passed argument is equivalent to this PeerId

      Parameters

      • Optionalother: any

      Returns boolean