UNPKG

@exodus/bip322-js

Version:

A Javascript library that provides utility functions related to the BIP-322 signature scheme

9 lines (8 loc) 475 B
import * as bitcoin from '@exodus/bitcoinjs'; import type { Signer as AssetSigner } from '@exodus/asset-types/src/signer'; declare class Signer { static sign(privateKeyOrWIF: string | Buffer, address: string, message: string, network?: bitcoin.Network): any; static signAsync(signer: string | Buffer | AssetSigner, address: string, message: string, network?: bitcoin.Network): Promise<any>; private static checkPubKeyCorrespondToAddress; } export default Signer;