Skip to main content

Derive a SLIP10 Private Public Keypair

Run the Example

You can derive a new SLIP10 master key with optional size and derive a private/public key pair from it by running the following command from within the client crate.

cargo run --example cli slip10-derive  --chain "/1234567/1234567" --input-vault-path "input-vault-path" --input-record-path "input-record-path" --output-vault-path "output-vault-path" --output-record-path "output-record-path"

Expected Output

[2022-06-28T14:11:54Z INFO  cli] Deriving SLIP10 Child Secret
[2022-06-28T14:11:54Z INFO cli] Derivation Sucessful? true

Example Code

client/examples/cli/main.rs
loading...