lnd icon indicating copy to clipboard operation
lnd copied to clipboard

Import Taproot pubkey

Open guggero opened this issue 3 years ago • 1 comments
trafficstars

Fixes https://github.com/lightningnetwork/lnd/issues/6657.

~Depends on https://github.com/btcsuite/btcwallet/pull/806.~

Change Description

Allows public keys to be imported as BIP-0086 Taproot public keys through WalletKit.ImportPublicKey. Any other use case (non BIP-0086) for Taproot scripts can use the new WalletKit.ImportTapscript RPC that allows Taproot outputs to be constructed from different levels of knowledge about the internal key and the script tree and then track those outputs on chain.

guggero avatar Jul 29 '22 16:07 guggero

Updated to merged btcwallet dependency. This is ready for full review.

guggero avatar Aug 04 '22 08:08 guggero

I noticed we were missing the type lnrpc.OutputScriptType_SCRIPT_TYPE_WITNESS_V1_TAPROOT for wallet transaction outputs of the GetTransactions RPC. Added a commit and itest case for it.

guggero avatar Aug 17 '22 15:08 guggero

@roasbeef: review reminder

lightninglabs-deploy avatar Aug 24 '22 16:08 lightninglabs-deploy

Needs a rebase, then this is g2g.

Roasbeef avatar Aug 24 '22 22:08 Roasbeef