bitcoin-kmp
0.11.1
common
bitcoin-kmp
/
fr.acinq.bitcoin
/
MnemonicCode
Mnemonic
Code
common
object
MnemonicCode
Content copied to clipboard
Functions
Properties
Functions
to
Mnemonics
Link copied to clipboard
common
@
JvmStatic
fun
toMnemonics
(
entropy
:
ByteArray
)
:
List
<
String
>
Content copied to clipboard
@
JvmStatic
fun
toMnemonics
(
entropy
:
ByteArray
,
wordlist
:
List
<
String
>
)
:
List
<
String
>
Content copied to clipboard
BIP39 entropy encoding
to
Seed
Link copied to clipboard
common
@
JvmStatic
fun
toSeed
(
mnemonics
:
String
,
passphrase
:
String
)
:
ByteArray
Content copied to clipboard
@
JvmStatic
fun
toSeed
(
mnemonics
:
List
<
String
>
,
passphrase
:
String
)
:
ByteArray
Content copied to clipboard
BIP39 seed derivation
validate
Link copied to clipboard
common
@
JvmStatic
fun
validate
(
mnemonics
:
String
)
Content copied to clipboard
@
JvmStatic
fun
validate
(
mnemonics
:
List
<
String
>
,
wordlist
:
List
<
String
>
=
englishWordlist
)
Content copied to clipboard
Properties
englishWordlist
Link copied to clipboard
common
val
englishWordlist
:
List
<
String
>
Content copied to clipboard