{"id":19766455,"url":"https://github.com/oskyk/cashaddress","last_synced_at":"2025-04-10T00:19:30.866Z","repository":{"id":49496742,"uuid":"116928380","full_name":"oskyk/cashaddress","owner":"oskyk","description":"Python tool for convert bitcoin cash legacy addresses","archived":false,"fork":false,"pushed_at":"2024-03-07T05:40:08.000Z","size":39,"stargazers_count":47,"open_issues_count":10,"forks_count":36,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-02T20:07:04.204Z","etag":null,"topics":["address","bech32","bitcoin-cash","bitcoincash","cashaddr","convert","legacy","validate"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oskyk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-10T08:14:40.000Z","updated_at":"2025-03-30T11:33:56.000Z","dependencies_parsed_at":"2024-06-18T19:53:16.115Z","dependency_job_id":"d39e99e5-e45e-4334-a945-d2e142d03ebf","html_url":"https://github.com/oskyk/cashaddress","commit_stats":{"total_commits":29,"total_committers":4,"mean_commits":7.25,"dds":0.3448275862068966,"last_synced_commit":"0ca44cff6bd3e63a67b494296c0d1eeaf6cc120d"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskyk%2Fcashaddress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskyk%2Fcashaddress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskyk%2Fcashaddress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oskyk%2Fcashaddress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oskyk","download_url":"https://codeload.github.com/oskyk/cashaddress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131545,"owners_count":21052873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["address","bech32","bitcoin-cash","bitcoincash","cashaddr","convert","legacy","validate"],"created_at":"2024-11-12T04:24:44.840Z","updated_at":"2025-04-10T00:19:30.840Z","avatar_url":"https://github.com/oskyk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/oskyk/cashaddress.svg?branch=master)](https://travis-ci.org/oskyk/cashaddress)\n[![Coverage Status](https://coveralls.io/repos/github/oskyk/cashaddress/badge.svg)](https://coveralls.io/github/oskyk/cashaddress)\n\n# cashaddress\n`cashaddress` is python library which is able to convert legacy BCH address to new format.\n\n# Installation\nTo install this library and its dependencies use:\n\n    pip install cashaddress\n    \n# Usage examples\nThe first thing you need to do is import the library via:\n\n```python\nfrom cashaddress import convert\n```\n## Converting address\n**It does not matter if you use legacy or new address as input.**\n\nThen you can convert your address via:\n\n```python\naddress = convert.to_cash_address('155fzsEBHy9Ri2bMQ8uuuR3tv1YzcDywd4')\n```\n\nor\n\n```python\naddress = convert.to_legacy_address('bitcoincash:qqkv9wr69ry2p9l53lxp635va4h86wv435995w8p2h')\n```\n## Validating address\nYou can also validate address via:\n\n```python\nconvert.is_valid('155fzsEBHy9Ri2bMQ8uuuR3tv1YzcDywd4')\n```\n\nor\n\n```python\nconvert.is_valid('bitcoincash:qqkv9wr69ry2p9l53lxp635va4h86wv435995w8p2h')\n```\n\n# Development\n\n1. Clone the repository\n2. Create virtualenv\n4. Do your thing\n5. Run tests\n\n\n    pytest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foskyk%2Fcashaddress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foskyk%2Fcashaddress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foskyk%2Fcashaddress/lists"}