Last active
May 7, 2018 20:22
-
-
Save ylv-io/d00ec55806b0e7e6f9ead90cf83f656c to your computer and use it in GitHub Desktop.
Bitcoin Cash conversion between legacy and new format using C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// credit goes to library https://github.com/cashaddress/SharpCashAddr | |
var newAddress = "1BpEi6DfDAUFd7GtittLSdBeYJvcoaVggu".OldAddrToCashAddr(); | |
var oldAddress = "bitcoincash:qr95sy3j9xwd2ap32xkykttr4cvcu7as4y0qverfuy".CashAddrToOldAddr(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment