Skip to content

Conversation

@felipelincoln
Copy link
Contributor

@felipelincoln felipelincoln commented Jul 3, 2025

using dry-run on ord wallet inscribe --dry-run will return the commit and reveal psbts, we can sign (bitcoin-cli walletprocesspsbt) and broadcast (bitcoin-cli sendrawtransaction) the commit transaction but we won't be able to spend the generated utxo (the first output) because our wallet will not have the taproot descriptor to spend it

This PR adds the backup_recovery_key to the dry_run as well.

Comment on lines +81 to +84
if !self.no_backup {
Self::backup_recovery_key(wallet, recovery_key_pair)?;
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't really want to pollute the backups with keys for transactions that are potentially not broadcast. I would be fine with printing out the key to accomodate your use case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants