Skip to content

Erlang implementation of BIP-0039 - generating mnemonics

License

Notifications You must be signed in to change notification settings

aeternity/ebip39

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ebip39

Erlang implementation of BIP-0039 Mnemonics.

The BIP-0039 standard describes the implementation of a mnemonic code or mnemonic sentence -- a group of easy to remember words -- for the generation of deterministic wallets. It consists of two parts: generating the mnemonic and converting it into a binary seed. This seed can be later used to generate deterministic wallets using BIP-0032 or similar methods.

Usage

ebip39:generate_mnemonic(Size) will generate a mnemonic corresponding to a secret with Size bits. Note: Size should divisible by 32.

ebip39:mnemonic_to_seed(Mnemonic, PassPhrase) will turn the mnemonic and the pass phrase into a 64 byte binary Seed.

Test

$ rebar3 eunit

Build

$ rebar3 compile

About

Erlang implementation of BIP-0039 - generating mnemonics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages