Search packages, repositories and app categories

Package detailsv1.0.3

eip55

Utility to convert an upper or lower case Web3/Ethereum address to a checksum address (EIP55).

AndroidiOSWebmacOSWindowsLinux
30-day downloads
45.6K
Likes
6
Pub points
160

Install package

flutter pub add eip55

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The eip55 package provides a utility for converting Ethereum addresses to checksummed format as defined by EIP-55. It ensures address integrity by capitalizing specific characters based on the hash of the address, improving readability and reducing errors in Web3 applications. This package is lightweight and compatible across all major platforms, including mobile, web, and desktop. It's ideal for developers building blockchain-powered apps that require accurate Ethereum address handling.

Use cases

  • Validating Ethereum addresses
  • Converting raw addresses to checksum format
  • Integrating with Web3 wallets
  • Ensuring address consistency in dApps
  • Displaying addresses in a standardized way

Key features

  • EIP-55 compliant checksum generation
  • Cross-platform support
  • Simple API for address conversion
  • Lightweight and dependency-free
  • Supports both upper and lower case inputs

Suitable for

  • Web3 application developers
  • Blockchain wallet integrations
  • DApp frontends
  • Ethereum address validation tools
  • Mobile and web blockchain apps

Considerations

  • Does not validate address format (use alongside a validator)
  • Requires manual handling of edge cases
  • No built-in error handling for invalid addresses
  • Not suitable for address generation
  • Limited to checksum conversion only

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Utility to convert an upper or lower case Web3/Ethereum address to a checksum address (EIP55).

pub package

Getting started

In your pubspec.yaml file add:

dependencies:
  eip55: any

Usage

Import the package:

import 'package:eip55/eip55.dart';

Then:

final eip55Address = toEIP55Address('0x68775f2604f67a571f626c99ae4eb252b579dcd7');

Alternately:

final eip55Address = toChecksumAddress('0x68775f2604f67a571f626c99ae4eb252b579dcd7');

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package