Coder Social home page Coder Social logo

Comments (12)

achow101 avatar achow101 commented on August 22, 2024 1

It seems that bip32utils has been taken down :/

from hwi.

achow101 avatar achow101 commented on August 22, 2024

I don't think this really matters since importing a pubkey imports all of the single key scripts for it, not just the one specified. This includes p2sh segwit and bech32 ones.

from hwi.

instagibbs avatar instagibbs commented on August 22, 2024

This is extremely Core behavior, but perhaps this lowers the immediate need for it.

from hwi.

Sjors avatar Sjors commented on August 22, 2024

That had me confused for a while as well. In case someone does want to add it, this line would need to be changed: https://github.com/achow101/HWI/blob/master/hwilib/commands.py#L101

Unfortunately it seems bip32utils doesn't have bech32 support yet either.

from hwi.

instagibbs avatar instagibbs commented on August 22, 2024

@Sjors we could switch to libwally which supports this and has python bindings

from hwi.

instagibbs avatar instagibbs commented on August 22, 2024

/blockstreamshill

from hwi.

Sjors avatar Sjors commented on August 22, 2024

It's also used by c-lightning, also one of those Blockstream conspiracies, but at least that means it's maintained :-)

from hwi.

instagibbs avatar instagibbs commented on August 22, 2024

Yes it is actively maintained and used in multiple products(including GreenAddress), which is nice.

from hwi.

Sjors avatar Sjors commented on August 22, 2024

Better still would be to add support for output descriptors to importmulti (or a new command). That would also allow cleanly separating m/44' keys from m/49' and m/84' keys. That would keep the users BIP39 seed compatible with (at least some) other wallets.

Is getnewaddress smart enough to look for the right key type, and throw an error if the keypool for that type is empty? The GUI would also have to be made a bit smarter, e.g. dis- or enabling the bech32 checkbox, or communicate in some other way that the keypool needs replenishing.

from hwi.

achow101 avatar achow101 commented on August 22, 2024

I wanted to avoid integrating larger libraries like libwally because there's a lot of additional stuff that we don't need included there.

from hwi.

Sjors avatar Sjors commented on August 22, 2024

This should be easier on top of bitcoin/bitcoin#14454 and bitcoin/bitcoin#14565

from hwi.

achow101 avatar achow101 commented on August 22, 2024

#47 Implements this.

from hwi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.