Concordium / concordium-base

Core Rust and Haskell libraries used by various components of the Concordium blockchain, as well as some tools used for testing and development.
Mozilla Public License 2.0
22 stars 24 forks source link

Create hierarchical deterministic key derivation library #151

Closed orhoj closed 2 years ago

orhoj commented 2 years ago

Task description Add a library for generating keys according to the newly defined Concordium key derivation scheme. The key derivation scheme is defined in the cryptographic bluepaper. The key derivation scheme is based on SLIP0010, and this library will contain an implementation of that standard for the ed25519 curve.

The library will expose the methods required by clients (e.g. mobile wallets, desktop wallet, browser wallet) for getting identity and account keys, and randomness, given their respective indices as input. Clients will only have to provide a seed phrase and an identity index, or an identity index and account index pair to get the key and randomness material required.

This task is also responsible for making sure that the library is exposed for use in the mobile wallets.

abizjak commented 2 years ago

Closed by #157