Skip to content

vgaicuks/ethereum-address

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ethereum-address

Ethereum address validation with python

This is a clone of the ethereum-address on js isAddress utility method on python

Install

pip install ethereum-address

Usage

from etherium_address import is_address

if is_address(value):
    print('Valid ethereum address.')
else:
    print('Invalid Ethereum address.')

API

is_address (address)

Returns true if the address (string) is an Ethereum address

is_checksum_address (address)

Returns true if the address (string) is an Ethereum checksum address

About

Ethereum address validation with python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages