https://github.com/realityripple/php-bitcoin-cashaddr
💱️ PHP routines for converting bitcoin cash addresses to and from legacy addresses with GMP or BC Math (yes, BC is slow)
https://github.com/realityripple/php-bitcoin-cashaddr
base32 base32hex bitcoin-address bitcoin-cash bitcoincash cashaddr
Last synced: 8 months ago
JSON representation
💱️ PHP routines for converting bitcoin cash addresses to and from legacy addresses with GMP or BC Math (yes, BC is slow)
- Host: GitHub
- URL: https://github.com/realityripple/php-bitcoin-cashaddr
- Owner: RealityRipple
- License: unlicense
- Created: 2018-05-14T21:33:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-11T02:55:35.000Z (over 3 years ago)
- Last Synced: 2025-01-11T04:44:14.419Z (9 months ago)
- Topics: base32, base32hex, bitcoin-address, bitcoin-cash, bitcoincash, cashaddr
- Language: PHP
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# php-bitcoin-cashaddr
PHP routines for converting bitcoin cash addresses to and from legacy addresses. Requires PHP 5.3.2 with either GMP or BC Math.
Two primary functions are exposed by the class: convertFromCash and convertToCash. Both simply take in a corresponding type of address as a string.