Skip to content
pubscout

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
$ flutter pub add bip39
Source repository

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.

  • blockchain_utils

    Comprehensive utilities for various blockchain networks and cryptographic functions.

Works with

Packages commonly used together with bip39: ones it builds on, ones built on it, and its own family.