Expand description
A crate containing common code used in multiple other crate in the workspace, such as:
- Utils to inspect a PSET: get the net effect of a PSET on a given wallet
pset_balance()
, or get how many signatures are missing , and which signers should provide thempset_signatures()
. Signer
trait: contains the methods to be implemented by a signer such as signing a pset or returning an xpub
To avoid circular dependencies this crate must not depend on other crate of the workspace
Re-exports§
pub use crate::precision::Precision;
Modules§
Structs§
- Invalid
BipVariant - Invalid
Blinding KeyVariant - Invalid
KeyOrigin Xpub - Invalid
Multisig Variant - Invalid
Singlesig Variant - Issuance
- Pset
Balance - Pset
Details - Pset
Signatures - Recipient
Enums§
Traits§
- Signer
- A trait defining methods of signers, providing blanket implementations for some methods.
Functions§
- address_
to_ text_ qr - Convert the given address in a string representing a QR code to be consumed from a terminal
- address_
to_ uri_ qr - Convert the given elements address to an image uri
- burn_
script - Create the same burn script that Elements Core wallet creates
- derive_
blinding_ key - derive_
script_ pubkey - is_
provably_ segwit - Whether a script pubkey is provably segwit
- keyorigin_
xpub_ from_ str - multisig_
desc - pset_
balance - pset_
issuances - pset_
signatures - singlesig_
desc