BitcoinKeySigner class

Constructors

BitcoinKeySigner.fromKeyBytes(List<int> privateKeyBytes)
Factory constructor for creating a BitcoinKeySigner from private key bytes.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verifierKey BitcoinSignatureVerifier
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signBip340({required List<int> digest, List<int>? tapTweakHash, List<int>? aux}) List<int>
Signs a given digest using the BIP-340 (Schnorr) signature scheme.
signECDSADer(List<int> digest, {List<int> extraEntropy = const []}) List<int>
Signs the given transaction digest using ECDSA (DER-encoded).
signMessage({required List<int> message, bool hashMessage = true, String messagePrefix = BitcoinSignerUtils.signMessagePrefix, List<int> extraEntropy = const []}) List<int>
Signs a message using Bitcoin's message signing format.
signSchnorr(List<int> digest, {List<int>? extraEntropy}) List<int>
Signs the given transaction digest using Schnorr signature (old style).
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited