libp2p
    Preparing search index...

    Interface Secp256k1PrivateKey

    interface Secp256k1PrivateKey {
        publicKey: Secp256k1PublicKey;
        raw: Uint8Array;
        type: "secp256k1";
        equals(key?: any): boolean;
        sign(
            data: Uint8Array<ArrayBufferLike> | Uint8ArrayList,
            options?: AbortOptions,
        ): Uint8Array<ArrayBufferLike> | Promise<Uint8Array<ArrayBufferLike>>;
    }
    Index

    Properties

    Methods

    Properties

    The public key that corresponds to this private key

    The raw private key bytes

    type: "secp256k1"

    The type of this key

    Methods