You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recreated what is required in Rust in this small cli tool. Of this workflow, I believe only a few lines would be "new" APIs for the bindings, namely:
// 1. transform the LDK output script from raw bytes into a Script type using either one of:// let script: Script = Script::from_hex(&output_script_hex).unwrap();let script:Script = Script::from(output_script_raw);// 2. extract the tx from the psbtlet funding_tx:Transaction = psbt.extract_tx();// 3. serialize the tx to give it back to LDKlet funding_tx_encoded = funding_tx.serialize();
The text was updated successfully, but these errors were encountered:
thunderbiscuit
changed the title
Enable building transactions from any given output script
Enable building transaction from any given output script
Jun 10, 2022
thunderbiscuit
changed the title
Enable building transaction from any given output script
Enable building transaction from any given ScriptPubKey
Aug 2, 2022
This feature is required to make the language bindings interop with LDK.
The LDK workflow is the following:
I have recreated what is required in Rust in this small cli tool. Of this workflow, I believe only a few lines would be "new" APIs for the bindings, namely:
The text was updated successfully, but these errors were encountered: