java.lang.Object
com.kryptokrauts.aeternity.sdk.domain.secret.HdWallet

public class HdWallet
extends java.lang.Object
This class wrapps a mnemonic additionally to the master rawKeyPair it contains the list of mnemonic seed words, the generated KeyPair and the DeterministicHierarchy which build the base for generating a hierarchical deterministic wallet.

The DeterministicHierarchy object can either be created from the root (master) or a derived key according to the tree structure stated in BIP32

  • Constructor Summary

    Constructors
    Constructor Description
    HdWallet​(HdKeyPair masterKeyPair, java.util.List<java.lang.String> mnemonicSeedWords)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<HdKeyPair> getChildKeyPairs()  
    HdKeyPair getLastChildKeyPair()  
    HdKeyPair getMasterKeyPair()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HdWallet

      public HdWallet​(HdKeyPair masterKeyPair, java.util.List<java.lang.String> mnemonicSeedWords)
  • Method Details

    • getMasterKeyPair

      public HdKeyPair getMasterKeyPair()
    • getChildKeyPairs

      public java.util.List<HdKeyPair> getChildKeyPairs()
    • getLastChildKeyPair

      public HdKeyPair getLastChildKeyPair()