selfcustody/krux

[Enhancement] Import Mini private key format

Opened this issue · 0 comments

Create a way to import Mini private key format, typing the TEXT and via QR code

https://en.bitcoin.it/wiki/Mini_private_key_format

Requested from: https://twitter.com/PasiPaananen/status/1756395292432191756

See https://www.bitaddress.org for the Key Formats: WIF, WIFC, HEX, B64, B6, MINI, BIP38

This video from Crypto guide explains a little about these formats: https://www.youtube.com/watch?v=SfW7Ir3xtNo

ColdCard bkp format example (xprv and raw_secret):

mnemonic = "index abuse oil swift wolf clarify broom auto student media ribbon blossom hundred brief tomato abandon copy design angle memory narrow urge bulk resemble"
xprv = "xprv9s21ZrQH143K2pSWq6uW4ARspjhHfzVWM1ceM2sPVJWS9QWeuHYRHbYFcL3F3199vUPFE2SpFEhxnZJKQhqbZSZxFkYCt1LJidizB8tqXM6"
raw_secret = "8272c026676defcc53c7307cd7714ee40c06f237f9000030077823457931dec785"