coinbin icon indicating copy to clipboard operation
coinbin copied to clipboard

Added bitcoin testnet testnet.blockexplorer.com

Open roundminer opened this issue 6 years ago • 5 comments

I have added testnet https://testnet.blockexplorer.com for retrieving unspent data, broadcasting a transaction to testnet blockchain and generating addresses.

In the settings page on Broadcast tab, there is now an option for Bitcoin testnet which populates "Broadcast" and "Unspent outputs" dropdown menus. Here is how it looks: net-broadcast-unspent-setting

On New transaction tab I have made extra recipient div with autopopulated address field taken from sender address and set it as readonly (greyed-out). Amount is left like for all other recipients so user must input remaning amount in it. Calculation of transaction fees remained the same because basicaly this is just another recipient added to transaction. Here is how it looks: new-tx-with-return-address

Finally, broadcasting the transaction to testnet had a link added to https://testnet.blockexplorer.com, so users could check the transaction on testnet explorer. Had to do it this way 'cause direct link to transaction on testnet.blockexplorer.com doesn't work. Here is how it looks when transaction is broadcasted: rawsubmit-broadcast-testnet-tx

Donation addresses: BTC: 1DGX4Zu83i3zL3zCNRaiat6tbtPMgEyhNE BCH: 17eejjY1kBTGo79grQaJR8NkvoujX9r8ce ETH: 0xA9b7226D8a0Daf91F614c5E7511C3E10d6e0B10c LTC: LMYWNKfEjqAj3NFG4Wcj3oSpYwvbRSbyCy

roundminer avatar Dec 28 '17 06:12 roundminer

Thanks @roundminer! I can confirm that testnet functionality is working after these changes.

nickfogle avatar Dec 29 '17 19:12 nickfogle

Thanks for your work @roundminer! I am just trying out the functionallity. If you are on the test net the following link doesn't work anymore: image

Onefox avatar Apr 06 '18 08:04 Onefox

@yottalogical I messed something up with my code, tried to fix it and as it seems I succeded in fixing the prob, as now I see it says the branch has no conflicts, so if you could please check if this is ok to merge, tell me what else to change or make pull requests to my branch if necessary. At first I wasn't able to merge your pull request (https://github.com/roundminer/coinbin/pull/1), but after I made a revert of my messup, I was able.. Something odd happened at my repo, sry for incovenience.

roundminer avatar Apr 14 '19 12:04 roundminer

Everything appears to work fine! I tested Bitcoin Testnet functionality, but also tested a different currency (in this case, dogecoin) to make sure nothing else was messed up.

yottalogical avatar Apr 15 '19 21:04 yottalogical

Hello @roundminer, sorry for resuming this old post. Are you able to restore the testnet support to Coinbin wallet?

smartm0use avatar Nov 03 '22 11:11 smartm0use