bip39_mnemonic
4.1.0, released 4 months ago by ethicnology.com
Generate and manage BIP39 mnemonic codes and deterministic keys in Dart.
WASM-ready
What it does
Provides tools to generate, validate, and parse BIP39 mnemonics in multiple languages. It supports converting between sentences, entropy bytes, words, and derived seeds.
AI-written summary of version 4.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a cryptocurrency wallet in Flutter or Dart
- You need to generate or validate BIP39 recovery phrases
Skip it when
- You are not working with blockchain keys or cryptographic seed phrases
Strengths
- Supports multiple languages including English, French, Spanish, Japanese, and Chinese
- Allows finding last-word candidates for incomplete sentences using checksums
- 100% test coverage
Weaknesses
- Limited to BIP39 mnemonic handling and key generation utilities
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
final mnemonic = Mnemonic.generate(
Language.french,
passphrase: "SomethingR0bùst",
length: MnemonicLength.words24,
);
print(mnemonic.sentence);Alternatives
Packages that do the same job and could replace bip39_mnemonic.
- bip39
Dart implementation of Bitcoin BIP39 Mnemonic code for generating deterministic keys.
50Compare - dart_bip32_bip44
Implements Bitcoin BIP32 and BIP44 hierarchical deterministic key derivation in Dart.
41Compare
Works with
Packages commonly used together with bip39_mnemonic: ones it builds on, ones built on it, and its own family.
- pointycastlebip39_mnemonic depends on itA Dart library providing a wide range of cryptographic algorithms and primitives.
- unorm_dartbip39_mnemonic depends on itUnicode normalization for Dart supporting NFC, NFD, NFKC, and NFKD forms.
- ndkBuilt on bip39_mnemonicDart library for building Nostr clients with relay discovery, caching and signing support.