pub fn derive_keys(
    coin: u8,
    id_account: u32,
    account: u32,
    external: u32,
    address: Option<u32>
) -> Result<KeyPack>
Expand description

Derive keys using Zip-32

Arguments

  • coin: 0 for zcash, 1 for ycash
  • id_account: account id as returned from new_account. Must have a passphrase
  • account: derived account index
  • external: external/internal
  • address: address index