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

Liquid xpubs #201

Closed
kilrau opened this issue Dec 18, 2023 · 7 comments
Closed

Liquid xpubs #201

kilrau opened this issue Dec 18, 2023 · 7 comments

Comments

@kilrau
Copy link

kilrau commented Dec 18, 2023

GDK should natively allow creating and exporting liquid xpubs. Some test vectors are already specified in https://github.com/ElementsProject/ELIPs/blob/main/elip-0150.mediawiki#test-vectors and https://github.com/ElementsProject/elements-miniscript seems to have added xpubs recently too.

@kilrau kilrau changed the title xpub export Liquid xpubs Dec 18, 2023
@LeoComandini
Copy link
Contributor

We're planning to add support for it, but we need a elements-miniscript release first.
I think this will likely be early next year.

See https://github.com/Blockstream/gdk/tree/2023-09-25-liquid-watch-only for the ongoing work

@LeoComandini
Copy link
Contributor

Hi @kilrau ,

The branch above is ready to be merged, and it should be merged soon.

Here are some test vectors:


  • mnemonic: "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about"
  • network: liquid mainnet
  • account type: p2sh-p2wpkh
  • external descriptor (receive): "ct(slip77(9c8e4f05c7711a98c838be228bcb84924d4570ca53f35fa1c793e58841d47023),elsh(wpkh([73c5da0a/49'/1776'/0']xpub6BemYiVNp19a21wSJsQXGYzkD75QmrspVUAhdyzwMEAA3dKkgck5D3S9k7ymKZfGBbSAaQUHZ1qGa2TRKFHPjaYyc4fjMVjVweexRajeuNu/0/*)))#ln0mhncc"
  • internal descriptor (change): "ct(slip77(9c8e4f05c7711a98c838be228bcb84924d4570ca53f35fa1c793e58841d47023),elsh(wpkh([73c5da0a/49'/1776'/0']xpub6BemYiVNp19a21wSJsQXGYzkD75QmrspVUAhdyzwMEAA3dKkgck5D3S9k7ymKZfGBbSAaQUHZ1qGa2TRKFHPjaYyc4fjMVjVweexRajeuNu/1/*)))#04928rdp"

  • mnemonic: "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about"
  • network: liquid testnet
  • account type: p2wpkh
  • external descriptor (receive): "ct(slip77(9c8e4f05c7711a98c838be228bcb84924d4570ca53f35fa1c793e58841d47023),elwpkh([73c5da0a/84'/1'/0']tpubDC2Q4xK4XH72GXm29HWiRTpMjjpyjDXCHaCMPbJWDKBVTDfHEkbHNrLJYEZdmth48FDXeX3jwWQ5WTMh5sXUA8bWDn3xEj1GdqjLyBpXGSA/0/*))#srqdk7w4"
  • internal descriptor (change): "ct(slip77(9c8e4f05c7711a98c838be228bcb84924d4570ca53f35fa1c793e58841d47023),elwpkh([73c5da0a/84'/1'/0']tpubDC2Q4xK4XH72GXm29HWiRTpMjjpyjDXCHaCMPbJWDKBVTDfHEkbHNrLJYEZdmth48FDXeX3jwWQ5WTMh5sXUA8bWDn3xEj1GdqjLyBpXGSA/1/*))#9zwmwpm2"

@jackstar12
Copy link

@LeoComandini works as expected.

@hsdredgun
Copy link

WOWO this is such a good news. Can't wait to be able to receive liquid fund without Jade connected!

@kilrau
Copy link
Author

kilrau commented Apr 24, 2024

What is missing here?

@LeoComandini
Copy link
Contributor

@kilrau nothing, all merged

@kilrau
Copy link
Author

kilrau commented Apr 24, 2024

Goodie

@kilrau kilrau closed this as completed Apr 24, 2024
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

4 participants