CashAddr Translator Usage: $pk = cashaddr2pk('bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a'); echo pk2adr($pk)."\n"; // 1BpEi6DfDAUFd7GtittLSdBeYJvcoaVggu echo pk2cashaddr($pk)."\n"; // bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a