Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c048c75
Stellar: Use fastcrc instead of crc16
Jan 5, 2022
27a4ea5
LTC: Support segwit address in ltc
Jan 5, 2022
2af5e0d
Merge branch 'feature/support-ltc'
Jan 7, 2022
21b85c1
Name: Change name of package
Jan 7, 2022
7e6e031
README: Fix old and new information in readme
Jan 7, 2022
9b1c9ca
Update: Add support till python3.10
Jan 7, 2022
84085e3
Bump version to 1.1.0
Jan 7, 2022
4e7fea9
PackageName: Change package name
Jan 8, 2022
90b8dce
PythonVersions: Fix supported python versions
Jan 8, 2022
b78b09a
CRC16: remove fastcrc and use pure python version
Jan 9, 2022
f771e95
CRC16: remove missing import fastcrc
Jan 12, 2022
23c8d1c
fix: invalid by default
carloe Jul 13, 2022
05c8cce
fix: handle uppercase currency symbols correctly
carloe Jul 13, 2022
b7d8efe
replaced pysha3 with pycryptodome for Python 3.11 support
Jun 25, 2023
b77a45b
added __init__.py to encoding module; forgot, oops!
Naggafin Aug 16, 2023
dc87aa3
Merge pull request #3 from Naggafin/master
aghamir Aug 5, 2024
51eb3fb
attr_zope: support provide method from attr lib localy due to depreca…
haniyeh-habibi Aug 5, 2024
4ed0d7a
Imports: Use absolute import for attr_zope
haniyeh-habibi Aug 5, 2024
07a18c1
Merge pull request #4 from nobitex/fix/attr-provide-method
aghamir Aug 5, 2024
58083d5
chore: Bump version number
aghamir Aug 5, 2024
6820892
Merge pull request #1 from baselineapp/master
aghamir Aug 5, 2024
46d92a4
fix(Release): Fix classifier for python versions
aghamir Aug 5, 2024
5c3abff
fix(DefaultValidation): Return valid if does not support network
aghamir Aug 7, 2024
7300037
fix: Fix error with encoding bytes (#2)
arkady-bag Aug 7, 2024
7f7d790
chore: Bump version to release
aghamir Aug 7, 2024
42054ec
fix: Hot fix for conflict fixing
aghamir Aug 7, 2024
266bed7
chore: Bump version for hot fix
aghamir Aug 7, 2024
49da296
fix: Increase requirement of attrs
aghamir Aug 7, 2024
7380cba
fix: remove usages of zope and zope-interface from code and requirements
mohamad97mj Jun 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [1.1.1] - 2023-06-25
### Changed
- Uses `pycryptodome` for keccak digests instead of `pysha3`, which is incompatible with Python 3.11+.

## [1.1.0] - 2022-01-07
### Added
- LTC segwit address support

### Fixed
- Fix wheel build by replacing crc16 with fastcrc

## [1.0.1] - 2018-04-16
### Added
- Start using zope.interfaces for all objects.
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ all: help

help:
@echo 'NAME'
@echo ' Makefile for coinaddrng'
@echo ' Makefile for coinaddrvalidor'
@echo ''
@echo 'SYNOPSIS'
@echo ' make [options]'
Expand All @@ -12,16 +12,16 @@ help:
@echo ''
@echo ' dist builds both binary and source distribution'
@echo ''
@echo ' install installs blockapi library'
@echo ' install installs coinaddrvalidor library'
@echo ''
@echo ' uninstall uninstalls blockapi library'
@echo ' uninstall uninstalls coinaddrvalidor library'

install:
pip3 install --upgrade .


uninstall:
pip3 uninstall -y coinaddrng
pip3 uninstall -y coinaddrvalidor


dist:
Expand Down
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# CoinAddrNG
[![Github Repo](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/crypkit/coinaddrng) [![Pypi Version](https://img.shields.io/pypi/v/coinaddrng.svg)](https://pypi.python.org/pypi/coinaddrng) [![Pypi License](https://img.shields.io/pypi/l/coinaddrng.svg)](https://pypi.python.org/pypi/coinaddrng) [![Pypi Wheel](https://img.shields.io/pypi/wheel/coinaddrng.svg)](https://pypi.python.org/pypi/coinaddrng) [![Pypi Versions](https://img.shields.io/pypi/pyversions/coinaddrng.svg)](https://pypi.python.org/pypi/coinaddrng)

# CoinAddrValidator
[![Github Repo](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/nobitex/coinaddrvalidator) [![Pypi Version](https://img.shields.io/pypi/v/coinaddrvalidator.svg)](https://pypi.python.org/pypi/coinaddrvalidator) [![Pypi License](https://img.shields.io/pypi/l/coinaddrvalidator.svg)](https://pypi.python.org/pypi/coinaddrvalidator) [![Pypi Wheel](https://img.shields.io/pypi/wheel/coinaddrvalidator.svg)](https://pypi.python.org/pypi/coinaddrvalidator) [![Pypi Versions](https://img.shields.io/pypi/pyversions/coinaddrvalidator.svg)](https://pypi.python.org/pypi/coinaddrvalidator)

## Maintainer
Mohammad Aghamir - *Maintainer of this repository* - [coinaddrvalidator](https://github.com/nobitex/coinaddrvalidator)

## Fork Maintainer
Devmons s.r.o. - *Maintainer of this fork* - [coinaddrng](https://github.com/crypkit/coinaddrng)

See also the list of [contributors](https://github.com/crypkit/coinaddrng/contributors) who participated in this project.
Expand Down Expand Up @@ -46,13 +48,13 @@ A cryptocurrency address inspection/validation library for python.

## Installation
```shell
pip3 install coinaddrng
pip3 install coinaddrvalidator
```

## Usage
```python
>>> import coinaddrng
>>> coinaddrng.validate('btc', b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT')
>>> import coinaddrvalidator
>>> coinaddrvalidator.validate('btc', b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT')
ValidationResult(name='bitcoin', ticker='btc', address=b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT', valid=True, network='main', is_extended=False, address_type='address')
```

Expand All @@ -64,7 +66,7 @@ format, which is returned as address_type. If there's none, 'address' is being r
#### Currencies
To add a new currency, simply instantiate a new `coinaddr.currency.Currency` class. It will be automatically registered.
```python
from coinaddrng import Currency
from coinaddrvalidator import Currency
Currency('decred', ticker='dcr', validator='DecredCheck',
networks=dict(
main=(0x073f,0x071a,0x02fda926), test=(0x0f21,0x0efc,0x043587d1)),
Expand Down
105 changes: 0 additions & 105 deletions coinaddrng/interfaces.py

This file was deleted.

Loading