dsteem
    Preparing search index...

    Class PrivateKey

    ECDSA (secp256k1) private key.

    Indexable

    • [key: symbol]: () => string
    Index

    Constructors

    Methods

    • Derive the public key for this private key.

      Parameters

      • Optionalprefix: string

      Returns PublicKey

    • Used by utils.inspect and console.log in node.js. Does not show the full key to get the full encoded key you need to explicitly call toString.

      Returns string

    • Return a WIF-encoded representation of the key.

      Returns string

    • Convenience to create a new instance from WIF string or buffer.

      Parameters

      • value: string | Buffer<ArrayBufferLike>

      Returns PrivateKey