5 releases

0.0.12 Mar 16, 2021
0.0.5 Sep 21, 2020
0.0.4 Sep 7, 2020
0.0.3 Sep 3, 2020
0.0.2 Jul 21, 2020

#603 in Magic Beans

Download history 15/week @ 2021-03-31 5/week @ 2021-04-07 21/week @ 2021-04-14 5/week @ 2021-04-21 5/week @ 2021-04-28 5/week @ 2021-05-12 5/week @ 2021-06-09 1/week @ 2021-06-23 5/week @ 2021-07-14

52 downloads per month

LGPL-3.0-or-later

245KB
5.5K SLoC

Keyvault

Merged into the iop-rs repository!

Keyvault is a general purpose hierarchical deterministic (HD) generator for asymmetric keys. It is based on the same concepts as a Bitcoin HD-wallet and is built on the same specifications like HD wallets of Bip32, Mnemonic word lists of Bip39 and Purpose fields of Bip43.

Though keyvault is capable of generating wallet addresses as defined in Multi-Account cryptocurrency wallets of Bip44, it is not only an address generator for multiple cryptocurrencies. Keyvault can also derive all the keys you might need in other software stacks and aims to be your all-in-one Swiss Army knife identity manager.

Keyvault can

  • use the same seed to derive keys with multiple cipher suites, currently ed25519 and secp256k1
  • use any purpose field and account hierarchy, not only Bip43 and Bip44
  • handle several purposes (i.e. attached subhierarchies) at the same time
  • be used from other platforms via its WebAssembly bindings

Keyvault was originally created as part of the Mercury communication protocol but being a general-purpose tool it was reused in other components as well, hence it was separated into its own repository in the end.

Dependencies

~7MB
~160K SLoC