Structural signer interface accepted by this library for single-key signing.
In practice, pass an object from ecpair (bitcoinjs stack).
ecpair
Example (bitcoinjs stack):
import * as ecc from '@bitcoinerlab/secp256k1';import { ECPairFactory } from 'ecpair';const ECPair = ECPairFactory(ecc);const signer = ECPair.fromWIF('L1...'); Copy
import * as ecc from '@bitcoinerlab/secp256k1';import { ECPairFactory } from 'ecpair';const ECPair = ECPairFactory(ecc);const signer = ECPair.fromWIF('L1...');
Optional
Structural signer interface accepted by this library for single-key signing.
In practice, pass an object from
ecpair(bitcoinjs stack).Example (bitcoinjs stack):