bip39
1.0.6, released 6 years ago by an unverified publisher
Dart implementation of Bitcoin BIP39 Mnemonic code for generating deterministic keys.
WASM-readyUnverified publisher
What it does
It converts between BIP39 mnemonic phrases, entropy, and cryptographic seeds. It supports validating mnemonics and generating random recovery phrases.
AI-written summary of version 1.0.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a cryptocurrency wallet that needs to generate or recover keys from BIP39 mnemonics.
- You need to validate mnemonic phrases or convert them to cryptographic seeds.
Skip it when
- You need a comprehensive blockchain transaction library or full wallet suite rather than just BIP39 parsing.
Strengths
- Simple API for generating and validating mnemonics.
- Supports seed generation and entropy conversion.
Weaknesses
- Limited to BIP39 mnemonic handling without broader cryptographic utility functions.
- Not documented for non-English wordlists in detail.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
import 'package:bip39/bip39.dart' as bip39;
main() {
var mnemonic = bip39.generateMnemonic();
bool isValid = bip39.validateMnemonic(mnemonic);
}Alternatives
Packages that do the same job and could replace bip39.
- wallet
Alternative package for wallet and cryptographic key operations.
76Compare - blockchain_utils
Comprehensive utilities for various blockchain networks and cryptographic functions.
72Compare
Works with
Packages commonly used together with bip39: ones it builds on, ones built on it, and its own family.
- cryptobip39 depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- pointycastlebip39 depends on itA Dart library providing a wide range of cryptographic algorithms and primitives.
- hexbip39 depends on itProvides simple HEX.encode and HEX.decode functions for converting between byte lists and hexadecimal strings.
- solanaBuilt on bip39Dart implementation of Solana JSON RPC API client and tools