Bitcoin transaction signer built on the [bitcoin] crate.
This crate provides a [Signer] that wraps [bitcoin::PrivateKey] and a
[bitcoin::secp256k1::Secp256k1] context, exposing ECDSA, Schnorr, PSBT,
and Bitcoin message signing — all delegated to upstream libraries.
Zero hand-rolled cryptography.
Exposed signing methods
| Method | Description |
|---|---|
[Signer::sign_ecdsa] |
Raw ECDSA signature on a message digest |
[Signer::sign_schnorr] |
BIP-340 Schnorr signature (Taproot) |
[Signer::sign_message] |
Bitcoin Signed Message (BIP-137) |
[Signer::verify_message] |
Verify a Bitcoin Signed Message |
[Signer::sign_psbt] |
Sign all applicable PSBT inputs |