Package 

Interface DerivationTool

    • Method Detail

      • deriveUnifiedSpendingKey

         abstract UnifiedSpendingKey deriveUnifiedSpendingKey(ByteArray seed, ZcashNetwork network, Account account)

        Derives and returns a unified spending key from the given seed for the given account ID.

        Returns the newly created ZIP 316 account identifier, along with the binary encoding of the `UnifiedSpendingKey` for the newly created account. The caller should store the returned spending key in a secure fashion.

        Parameters:
        seed - the seed from which to derive spending keys.
        account - the account to derive.
      • deriveUnifiedAddress

         abstract String deriveUnifiedAddress(ByteArray seed, ZcashNetwork network, Account account)

        Given a seed and account index, return the associated Unified Address.

        Parameters:
        seed - the seed from which to derive the address.
        account - the index of the account to use for deriving the address.
      • deriveUnifiedAddress

         abstract String deriveUnifiedAddress(String viewingKey, ZcashNetwork network)

        Given a Unified Full Viewing Key string, return the associated Unified Address.

        Parameters:
        viewingKey - the viewing key to use for deriving the address.