Skip to content
pubscout

ethereum_addresses

1.0.2, released 5 years ago by fuse.io

A Dart library to generate, checksum, and validate Ethereum addresses.

WASM-ready
$ flutter pub add ethereum_addresses
Source repository

What it does

It derives Ethereum addresses from public keys, converts addresses to checksummed formats using EIP-55, and validates existing Ethereum addresses.

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

Use it when

  • You need to derive Ethereum addresses from public keys.
  • You need to convert addresses to EIP-55 checksum format.
  • You need to validate Ethereum address strings in your application.

Skip it when

  • You need a full Ethereum wallet or blockchain interaction client.
  • You are not working with Ethereum-compatible networks.

Strengths

  • Simple and focused API for Ethereum address operations.
  • Supports address validation and EIP-55 checksum formatting.

Weaknesses

  • Very narrow scope limited to address generation, checksums, and validation.
  • Not documented beyond basic address utilities.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
2

not documented

import "package:convert/convert.dart" show hex;
import "package:ethereum_addresses/ethereum_addresses.dart";

final publicKey = hex.decode(
  "028a8c59fa27d1e0f1643081ff80c3cf0392902acbf76ab0dc9c414b8d115b0ab3",
);

final address = ethereumAddressFromPublicKey(Uint8List.fromList(hex.decode(publicKey)));
final isChecksumValid = checksumEthereumAddress(address);
final isValid = isValidEthereumAddress(address);

Alternatives

Packages that do the same job and could replace ethereum_addresses.

  • web3dart

    Pick web3dart if you need a full Ethereum blockchain client with wallet support and contract interaction rather than just address utilities.

  • eip55

    Pick eip55 if you specifically need an alternative library for EIP-55 checksum encoding.

Works with

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