tiny-hderive
A library for deriving secp256k1 secret keys from BIP39 seeds, using BIP32 crypto and BIP44 path formats.
use ExtendedPrivKey;
// Seed should be generated from your BIP39 phrase first!
let seed: & = &;
let ext = derive.unwrap;
// Byte array of the secp256k1 secret key that can be used with Bitcoin or Ethereum.
assert_eq!;
// Deriving child keys from base one is also possible
use ChildNumber;
use FromStr;
let base_ext = derive.unwrap;
// child_ext is a key which is derived from this path: m/44'/60'/0'/0/0
let child_ext = base_ext.child.unwrap;
assert_eq!;