bip322-js
    Preparing search index...

    Class BIP137

    Class that implement BIP137-related utility functions.

    Index
    • Derive the public key that signed a valid BIP-137 signature.

      Parameters

      • message: string | Buffer<ArrayBufferLike>

        Message signed by the signature

      • signature: string

        Base-64 encoded signature to be decoded

      Returns Buffer<ArrayBuffer>

      Public key that signs the provided signature

    • Check if a given signature satisified the format of a BIP-137 signature.

      Parameters

      • signature: string

        Base64-encoded signature to be checked

      Returns boolean

      True if the provided signature correspond to a valid BIP-137 signature, false if otherwise