Class Utils.CppProxy

  • All Implemented Interfaces:
    Utils
    Enclosing interface:
    Utils

    public static final class Utils.CppProxy
    extends java.lang.Object
    implements Utils
    • Nested Class Summary

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void _djinni_private_destroy()  
      java.lang.String generateMnemonic​(int wordCount)
      Generates mnemonic seed phrase used in wallet creation process.
      boolean isValidAddress​(java.lang.String currencyCode, java.lang.String address, java.lang.String network)
      Validates Ethereum, Bitcoin or Bitcoin SV address.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • _djinni_private_destroy

        public void _djinni_private_destroy()
      • generateMnemonic

        public java.lang.String generateMnemonic​(int wordCount)
        Description copied from interface: Utils
        Generates mnemonic seed phrase used in wallet creation process.
        Specified by:
        generateMnemonic in interface Utils
        Parameters:
        wordCount - 12, 15, 18, 21 or 24
      • isValidAddress

        public boolean isValidAddress​(java.lang.String currencyCode,
                                      java.lang.String address,
                                      java.lang.String network)
        Description copied from interface: Utils
        Validates Ethereum, Bitcoin or Bitcoin SV address.
        Specified by:
        isValidAddress in interface Utils
        Parameters:
        currencyCode - 'ETH', 'BTC' or 'BSV'
        address - blockchain address
        network - network type
        Returns:
        true if address is valid on the given network
        See Also:
        NetworkType