Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.04 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.04 KB

Mnemonic module

Maven Maven Central

<dependency>
    <groupId>io.github.neodix42</groupId>
    <artifactId>mnemonic</artifactId>
    <version>0.4.7</version>
</dependency>

Jitpack

<dependency>
    <groupId>io.github.neodix42.ton4j</groupId>
    <artifactId>mnemonic</artifactId>
    <version>0.4.7</version>
</dependency>

Usage example

List<String> mnemonic=Mnemonic.generate(24,pwd);
        String mnemonicPhrase=String.join(" ",mnemonic);

//result
        <<mnemonicPhrase containing 24random words>>

More examples on how to construct Mnemonic can be found in TestMnemonic class.