xclud / dart_eip55

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

Home Page:https://pub.dev/packages/eip55

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://pub.dev/packages/eip55

License:MIT License


Languages

Language:Dart 51.1%Language:HTML 42.8%Language:Swift 4.4%Language:Kotlin 1.4%Language:Objective-C 0.4%