libra-client icon indicating copy to clipboard operation
libra-client copied to clipboard

Add an opportunity to derive addresses from master public keys

Open selevit opened this issue 5 years ago • 2 comments

The problem is explained here: https://community.libra.org/t/libra-bip32-addresses-proposal/1934

I’ve created an example in Python how to derive new Libra address from master public key and then send coins from this address: https://github.com/selevit/libra_bip32 Would be great to implement this approach in your awesome library.

Thanks a lot for the great job!

selevit avatar Oct 21 '19 16:10 selevit

I read your code, it works. I think maybe you can make a pull request based on it.

  1. Write a new KeyFactory class.
  2. implement libra_bip32 key derivation.
  3. write test code

yuan-xy avatar Oct 22 '19 23:10 yuan-xy

So, I can do it, but a little bit later. Will let you know when it's ready!

selevit avatar Oct 23 '19 09:10 selevit