Crate lwk_common
source ·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
Structs§
Enums§
- Some descriptor blinding keys variant
Traits§
- A trait defining methods of signers, providing blanket implementations for some methods.
Functions§
- Convert the given address in a string representing a QR code to be consumed from a terminal
- Convert the given elements address to an image uri
- Create the same burn script that Elements Core wallet creates