https://github.com/gravityblast/bip39-elixir
BIP39 - Mnemonic code for generating deterministic keys in elixir
https://github.com/gravityblast/bip39-elixir
bip39 bitcoin ethereum mnemonic
Last synced: about 2 months ago
JSON representation
BIP39 - Mnemonic code for generating deterministic keys in elixir
- Host: GitHub
- URL: https://github.com/gravityblast/bip39-elixir
- Owner: gravityblast
- License: mit
- Created: 2018-12-27T14:06:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-20T23:13:11.000Z (over 7 years ago)
- Last Synced: 2025-01-05T22:41:51.643Z (over 1 year ago)
- Topics: bip39, bitcoin, ethereum, mnemonic
- Language: Elixir
- Size: 76.2 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bip39
A [BIP39](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki) implementation written in Elixir.
## Example
```elixir
iex(1)> {:ok, mnemonic} = Bip39.generate_mnemonic(128, :english)
{:ok,
"abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about"}
iex(2)> Bip39.Mnemonic.validate(mnemonic, :english)
:ok
```