All Projects → oskyk → cashaddress

oskyk / cashaddress

Licence: MIT license
Python tool for convert bitcoin cash legacy addresses

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to cashaddress

bitcoincashjs
WARNING: This project is no longer maintained. Please, use bitcore-lib-cash instead.
Stars: ✭ 80 (+100%)
Mutual labels:  address, bitcoin-cash, cashaddr
bitcoincashj
A library for working with Bitcoin Cash
Stars: ✭ 38 (-5%)
Mutual labels:  bitcoincash, cashaddr
cashaddrjs
CashAddr.js: The new Bitcoin Cash address format for Node.js and web browsers.
Stars: ✭ 36 (-10%)
Mutual labels:  address, cashaddr
hcv-color
🌈 Color model HCV/HCG is an alternative to HSV and HSL, derived by Munsell color system, usable for Dark and Light themes... 🌈
Stars: ✭ 44 (+10%)
Mutual labels:  convert
talos
Elixir parameter validation library. Simple and extensible
Stars: ✭ 23 (-42.5%)
Mutual labels:  validate
valite
🔥 Concurrently execute your validators in a simple, practical and light validator engine.
Stars: ✭ 20 (-50%)
Mutual labels:  validate
Plist-Binary sublime
De/Encode .plist files between XML and binary format
Stars: ✭ 18 (-55%)
Mutual labels:  convert
convert
The smallest & fastest library for really easy, totally type-safe unit conversions in TypeScript & JavaScript.
Stars: ✭ 47 (+17.5%)
Mutual labels:  convert
wipri
(Network Metadata Privacy) MAC Address spoofer with bonus combo (options): hostname + signal spoofer - *no disconnects!* Privacy Changing w/Brand Mimics: run as command or optional new randomized identity each boot; includes flags for continually changing random times/changing valid OUI addresses + Hostname randomizer + Device/Signal/location an…
Stars: ✭ 26 (-35%)
Mutual labels:  address
dart sealed
Dart and Flutter sealed class generator and annotations, with match methods and other utilities. There is also super_enum compatible API.
Stars: ✭ 16 (-60%)
Mutual labels:  legacy
ansible-archlinux
Automated arch linux desktop environment
Stars: ✭ 56 (+40%)
Mutual labels:  legacy
vscode-color
Helper with GUI to generate color codes such as CSS color notations.
Stars: ✭ 88 (+120%)
Mutual labels:  convert
react-thailand-address-typeahead
jquery.Thailand.js in React
Stars: ✭ 78 (+95%)
Mutual labels:  address
qTsConverter
A simple tool to convert qt translation file (ts) to other format (xlsx / csv) and vice versa
Stars: ✭ 26 (-35%)
Mutual labels:  convert
bitcoin-transactions
Javascript implementation of the Bitcoin protocol for any Bitcoin based coins, on server and inside browsers, discover and move/manage your coins by yourself: Bitcoin transactions made simple for standard or multisig wallets, segwit and bech32 are supported, create and send by your own your Bitcoin, Bitcoin Cash, Zcash, Litecoin, DOGE, Dash, etc…
Stars: ✭ 97 (+142.5%)
Mutual labels:  bitcoin-cash
cognito-jwt-verifier
Verify ID and access JWT tokens from AWS Cognito in your node/Lambda backend with minimal dependencies.
Stars: ✭ 25 (-37.5%)
Mutual labels:  validate
ethereum-checksum-address
Convert Ethereum address to a checksummed address
Stars: ✭ 20 (-50%)
Mutual labels:  address
fortran-legacy-tools
Three tools to deal with Fortran code: fixed to free source form converter, upper- to lowercase converter, formatter for variable declarations
Stars: ✭ 40 (+0%)
Mutual labels:  legacy
aushape
A library and a tool for converting audit logs to XML and JSON
Stars: ✭ 37 (-7.5%)
Mutual labels:  convert
addressr
Free Australian Address Validation, Search and Autocomplete
Stars: ✭ 46 (+15%)
Mutual labels:  address

Build Status Coverage Status

cashaddress

cashaddress is python library which is able to convert legacy BCH address to new format.

Installation

To install this library and its dependencies use:

pip install cashaddress

Usage examples

The first thing you need to do is import the library via:

from cashaddress import convert

Converting address

It does not matter if you use legacy or new address as input.

Then you can convert your address via:

address = convert.to_cash_address('155fzsEBHy9Ri2bMQ8uuuR3tv1YzcDywd4')

or

address = convert.to_legacy_address('bitcoincash:qqkv9wr69ry2p9l53lxp635va4h86wv435995w8p2h')

Validating address

You can also validate address via:

convert.is_valid('155fzsEBHy9Ri2bMQ8uuuR3tv1YzcDywd4')

or

convert.is_valid('bitcoincash:qqkv9wr69ry2p9l53lxp635va4h86wv435995w8p2h')

Development

  1. Clone the repository

  2. Create virtualenv

  3. Do your thing

  4. Run tests

    pytest

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].