Skip to content
pubscout

blockchain_utils

8.0.1, released 3 days ago by an unverified publisher

Comprehensive pure-Dart cryptography and blockchain toolkit with optional Rust backend.

WASM-readyUnverified publisher
$ flutter pub add blockchain_utils
Source repository

What it does

Provides core utilities for hashing, encoding, cryptography curves, mnemonics, HD wallets, addresses, and transaction signers across multiple blockchains. Supports a dual backend allowing execution in pure Dart or Rust (FFI/WASM).

AI-written summary of version 8.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a cryptocurrency wallet or interacting with blockchain networks.
  • You need robust cryptographic functions, key derivation, or address encoding in Dart.
  • You require cross-platform support for blockchain primitives with optional performance backends.

Skip it when

  • You only need a simple, single-purpose library like standard base58 or bip39 and want to minimize dependency weight.
  • You need production-verified real hardware wallet communication without simulation testing.

Strengths

  • Comprehensive coverage of blockchain networks, curve types, and encoding formats.
  • Dual backend architecture supporting pure Dart or high-performance Rust execution.
  • Extensive support for zero-knowledge, threshold signatures, and Zcash protocols.

Weaknesses

  • Hardware wallet flows are simulation-tested only and not verified with real devices yet.
  • Breaking changes in major versions require migration (e.g. unified BuError types, API restructuring).

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1

Pure Dart by default. Optional Rust backend requires loading platform dynamic libraries or WASM assets.

import 'package:blockchain_utils/blockchain_utils.dart';

void main() {
  final digest = QuickCrypto.sha256Hash([1, 2, 3]);
  print(digest.toHex());
}

Alternatives

Packages that do the same job and could replace blockchain_utils.

  • web3dart

    If you specifically need a dedicated Ethereum-focused client and JSON-RPC provider library.

  • bip39

    If you only need basic BIP39 mnemonic generation without a massive multi-chain cryptographic toolkit.

Works with

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