yuan-xy / libra-client

A python client for Libra network.
MIT License
30 stars 7 forks source link

Add an opportunity to derive addresses from master public keys #3

Open selevit opened 5 years ago

selevit commented 5 years ago

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!

yuan-xy commented 5 years ago

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
selevit commented 5 years ago

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