Package money.zumo.zumokit
Class Utils.CppProxy
- java.lang.Object
-
- money.zumo.zumokit.Utils.CppProxy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface money.zumo.zumokit.Utils
Utils.CppProxy
-
-
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.
-
-
-
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 interfaceUtils
- 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 interfaceUtils
- Parameters:
currencyCode
- 'ETH', 'BTC' or 'BSV'address
- blockchain addressnetwork
- network type- Returns:
- true if address is valid on the given network
- See Also:
NetworkType
-
-