libp2p
    Preparing search index...

    Interface Secp256k1PeerId

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

    Properties

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

    type: "secp256k1"

    Methods