Interface KeyChainGroupStructure

    • Method Detail

      • accountPathFor

        HDPath accountPathFor​(ScriptType outputScriptType,
                              Network network)
        Map desired output script type and network to an account path
        Parameters:
        outputScriptType - output script type (purpose)
        network - network/coin type
        Returns:
        The HD Path: purpose / coinType / accountIndex
      • accountPathFor

        @Deprecated
        default HDPath accountPathFor​(ScriptType outputScriptType,
                                      NetworkParameters networkParameters)
        Map desired output script type and network to an account path
        Parameters:
        outputScriptType - output script type (purpose)
        networkParameters - network/coin type
        Returns:
        The HD Path: purpose / coinType / accountIndex
      • purpose

        static HDPath purpose​(ScriptType scriptType)
        Return the (root) path containing "purpose" for the specified scriptType
        Parameters:
        scriptType - script/address type
        Returns:
        An HDPath with a BIP44 "purpose" entry
      • account

        static ChildNumber account​(int accountIndex)
        Return path component for an account
        Parameters:
        accountIndex - account index
        Returns:
        A hardened path component