Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singlesig descriptor: add taproot support #31

Open
ok300 opened this issue May 16, 2024 · 2 comments
Open

Singlesig descriptor: add taproot support #31

ok300 opened this issue May 16, 2024 · 2 comments

Comments

@ok300
Copy link
Contributor

ok300 commented May 16, 2024

The descriptor currently supports only WPKH and SHWPKH:

let (prefix, path, suffix) = match script_variant {
Singlesig::Wpkh => ("elwpkh", format!("84h/{coin_type}h/0h"), ""),
Singlesig::ShWpkh => ("elsh(wpkh", format!("49h/{coin_type}h/0h"), ")"),
};

Please add support for the taproot variant.

@LeoComandini
Copy link
Contributor

Hi @ok300,

We are going to add support for it,
but it will require a bit of time since we also want to add spending capabilities from such descriptor.

Why do you need that? Can you share more details on your use case? Do you just want to use a taproot singlesig wallet?

@ok300
Copy link
Contributor Author

ok300 commented May 23, 2024

Hey @LeoComandini , thanks for the follow-up 🙏

Yes the main use-case is a singlesig taproot wallet.

It's more of an enhancement request, so it's completely fine if it takes some time.

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

No branches or pull requests

2 participants