Skip to content

Instantly share code, notes, and snippets.

// creating transaction
let (mut psbt, fee, intentions, sign_info) = ree::create_psbt(inputs).await;
// signing the transaction
let keyname = read_config(|config| config.keyname.clone());
for (pool, utxo) in sign_info.iter() {
let derivation_path = read_pools(|pools| {
pools
.get(pool)
.expect("pool should exist")