Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 583 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 583 Bytes

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');