ElementsProject / elements-miniscript

Creative Commons Zero v1.0 Universal
11 stars 14 forks source link

Pegin example with pegin address generation from descriptors #76

Closed RCasatta closed 2 days ago

RCasatta commented 5 months ago

Something like this test https://github.com/ElementsProject/rust-elements/blob/40bf7c94ef2afd0bbef75958f4736016ee98e91a/elementsd-tests/src/pset.rs#L87

But generating the pegin address from this lib, from a (superficial) look it seems there is what is needed in the descriptor::pegin module but I didn't find tests or examples

It may be useful to add pegin functionality to LWK

RCasatta commented 2 days ago

done in https://github.com/ElementsProject/elements-miniscript/pull/87