Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 272 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 272 Bytes

CashAddr Translator

Usage:

	$pk = cashaddr2pk('bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a');

	echo pk2adr($pk)."\n"; // 1BpEi6DfDAUFd7GtittLSdBeYJvcoaVggu

	echo pk2cashaddr($pk)."\n"; // bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a