Skip to content

(android) Support spend-channel-address for Taproot channels#781

Merged
dpad85 merged 4 commits intomasterfrom
taproot-spendchanneladdress
Dec 3, 2025
Merged

(android) Support spend-channel-address for Taproot channels#781
dpad85 merged 4 commits intomasterfrom
taproot-spendchanneladdress

Conversation

@dpad85
Copy link
Member

@dpad85 dpad85 commented Dec 2, 2025

The spend-from-channel-address screen is a debug tool that allows users to spend funds that have been sent to a channel outpoint by mistake. This tool had been disabled with the Taproot channel update, due to the significant changes that occurred then. This PR reinstates it on the Android app.

More data are needed now. The channel id, because we use the Peer backup data to get the needed channel's data ; the remote nonce for the taproot signature.

Code is mostly the same, although we need the remote nonce as well.
Also fixed the pay2tr missing scripts parameter.
The peer backup data may contain data for different channels, or may
also miss the relevant data.
@dpad85 dpad85 requested a review from pm47 December 2, 2025 17:33
@dpad85 dpad85 merged commit f3a2276 into master Dec 3, 2025
@dpad85 dpad85 deleted the taproot-spendchanneladdress branch December 3, 2025 10:29
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.

1 participant