Questions tagged [bip32]

4 questions
0
votes
0 answers

How to properly implement key derivation in bip32, bip44, etc.?

How to properly implement key derivation in bip32, bip44, etc.? I get it right to generate the parent extended key, but then I can’t get the correct keys, they do not match the "Test Vectors" specified in the specification. xprv = "0488ade4" …
0
votes
0 answers

is there any way I can use HD wallet private/public keys for asymmetric encryption?

I am working on a Flutter app, which creates crypto wallets for users using BIP39 and BIP32. using BIP39 and BIP32 I can create mnemonics, private and public keys for the users. now it needs to do some asymmetric encryption for app users, which can…
0
votes
0 answers

Incorrect processing within the derive_bip32childkey function in Rust

parent_key has 31 bytes after processing i, instead of 32. This is due to buffer overflow, as I understand it. How can I fix my Rust code to match the python code? This function derive_bip32childkey is used to calculate the descendants of a BIP32…
Victor
  • 5,073
  • 15
  • 68
  • 120
-1
votes
0 answers

how generate master key for bitcoin in Dart?

I am trying to generate a master key using BIP32 library. I do the following: mport 'package:dart_bip32/dart_bip32.dart' as bip32; import 'package:dart_mnemonic/dart_mnemonic.dart'; final mnemo = Mnemonic(language: Language.english, length:…
kannt_im
  • 9
  • 3