public void Fork_Address_Convert_P2SH_BCI() { string BTCaddr = "34KizF1eXu7rN8geRvTCPJ3sc5iW74KTwa"; string ConvertedAddress = "AJQaiCNqK9Td5wCCsUSw7Yx2wAMUuUedHZ"; BitcoinAddress add = BitcoinAddress.Create(BTCaddr, Network.Main); var add2 = add.Convert(Network.BCI); Assert.AreEqual(ConvertedAddress, add2.ToString()); }
public void Fork_Address_Convert_P2PKH_BCA() { string BTCaddr = "14jkz2hJPqgqqKRhDqMYUx37CycQ7G6Ygy"; string ConvertedAddress = "AKWddXYvizLzeHdgnV1sdqJCgaY6Ranszd"; BitcoinAddress add = BitcoinAddress.Create(BTCaddr, Network.Main); var add2 = add.Convert(Network.BCA); Assert.AreEqual(ConvertedAddress, add2.ToString()); }
public void Fork_Address_Convert_P2PKH_BTG() { string BTCaddr = "14jkz2hJPqgqqKRhDqMYUx37CycQ7G6Ygy"; string ConvertedAddress = "GMagQA2FNhJ8uniz9n1euiP189QF7xgKF9"; BitcoinAddress add = BitcoinAddress.Create(BTCaddr, Network.Main); var add2 = add.Convert(Network.BTG); Assert.AreEqual(ConvertedAddress, add2.ToString()); }
public void Fork_Address_Convert_P2PKH_BCI() { string BTCaddr = "14jkz2hJPqgqqKRhDqMYUx37CycQ7G6Ygy"; string ConvertedAddress = "i7DHR76gpExDFXeXidL3wjoMQRtcf4JUsG"; BitcoinAddress add = BitcoinAddress.Create(BTCaddr, Network.Main); var add2 = add.Convert(Network.BCI); Assert.AreEqual(ConvertedAddress, add2.ToString()); }
public void Fork_Address_Convert_P2SH_BTCP() { string BTCaddr = "34ZuYSNSCm5Vtgtfn7PnxKYXP2rbp4N4rC"; string BTCPaddr = "bxdzLB4rkNuk8nckkz48A3ViqiPq8cm5yFS"; BitcoinAddress add = BitcoinAddress.Create(BTCaddr, Network.Main); var add2 = add.Convert(Network.BTCP); Assert.AreEqual(BTCPaddr, add2.ToString()); }
public void Fork_Address_Convert_P2PKH_BTCP() { string BTCaddr = "14jkz2hJPqgqqKRhDqMYUx37CycQ7G6Ygy"; string BTCPaddr = "b18CxfDYJ8ziwxbkGAynX5T1nqFKUR9X7pe"; BitcoinAddress add = BitcoinAddress.Create(BTCaddr, Network.Main); var add2 = add.Convert(Network.BTCP); Assert.AreEqual(BTCPaddr, add2.ToString()); }
public void Explorer_Query_P2PKH_BTG() { string BTCaddr = "GMRz9M1jnc69kW15u8aiGV1EzTgaTuguZQ"; BitcoinAddress ca = BitcoinAddress.Create(BTCaddr, Network.Main); var addr = ca.Convert(Network.BTG); string baseURL = "https://explorer.bitcoingold.org/insight-api/"; List <ICoin> UTXOs = new List <ICoin>(); var unspentCoins = BlockScanner.GetUTXOFromInsight(UTXOs, addr, baseURL); int z = 1; }
public void Explorer_Query_P2PKH_BCI() { string BTCaddr = "14jkz2hJPqgqqKRhDqMYUx37CycQ7G6Ygy"; BitcoinAddress ca = BitcoinAddress.Create(BTCaddr, Network.Main); var addr = ca.Convert(Network.BCI); string baseURL = "https://explorer.bitcoininterest.io/api/"; List <ICoin> UTXOs = new List <ICoin>(); var unspentCoins = BlockScanner.GetUTXOFromInsight(UTXOs, addr, baseURL); int z = 1; }
public void Explorer_Query_P2SH_BTCP() { string BTCaddr = "38q354WHtHUDFeVXCh4nkQ2UtL66M3FVnK"; BitcoinAddress ca = BitcoinAddress.Create(BTCaddr, Network.Main); var btcpa = ca.Convert(Network.BTCP); string baseURL = "https://explorer.btcprivate.org/api"; List <ICoin> UTXOs = new List <ICoin>(); var unspentCoins = BlockScanner.GetUTXOFromInsight(UTXOs, btcpa, baseURL); int z = 1; }