coinbin icon indicating copy to clipboard operation
coinbin copied to clipboard

Support for Testnet

Open Mysticsam opened this issue 9 years ago • 16 comments

The interface doesn't recognize testnet addresses.

coinb in-3

It wont broadcast testnet transactions.

coinb in-4

When i create a transaction with testnet addresses, the addresses change from the one i have put in to one that start with "1". coinb in-1 coinb in-2

Mysticsam avatar Dec 11 '14 14:12 Mysticsam

Hey, I've been thinking about this and will sort out a fix soon.

OutCast3k avatar Dec 14 '14 14:12 OutCast3k

Thanks :)

I saw your commits about timelock. So i got to coinb.in to see the function and it is nice but how about not only putting a blocknumber. But to choose either set a blocknumber or set a date from a calendar?

Mysticsam avatar Dec 16 '14 16:12 Mysticsam

Testnet support would be great. Even just a testnet.coinb.in to avoid having to add any options to the UI.

johtso avatar Apr 27 '15 00:04 johtso

Hey everyone,

I'd like to integrate 'testnet' but I have an issue.

My primary issue is coinb.in runs from a VPS, where it doesn't have the resources to run a 'testnet' client as well as a 'mainnet' client, mainly due to lack of funding.

Now assuming I had the funds available to upgrade the VPS I would certainly be interested in modifying the code to work with testnet as well. Another option is to make coinb.in pull the transaction data and broadcast data from a list of third party's (for both mainnet and testnet)

Feedback and suggestions are welcome.

OutCast3k avatar Apr 27 '15 11:04 OutCast3k

Hi, testnet support would be great.

Are there third party APIs to get that data for testnet? Otherwise consider doing a lighthouse fundraising.

lclc avatar May 25 '15 12:05 lclc

PROGRESS UPDATE! :+1:

Testnet and other altcoins are work in progress, you can see some features hidden here https://coinb.in/#settings - At the time of posting this, these settings do not retrieve the unspent outputs from an API, so you will need to manually insert your data to build a transaction, but the code will be put in place and the settings page will be made public shortly.

Feedback and suggestions are very welcome.

OutCast3k avatar Jun 23 '15 22:06 OutCast3k

It'd be cool if the settings were saved in local storage, it may be annoying to change the settings to testnet every page refresh.

Plus, any reason for not having testnet directly on Network and Unsepent Funds dropdowns (as Blockr.io support testnet)? Not sure about Broadcast because that never works for me on Blockr.io.

That seems very simple, I could make a PR if there's no additional issue with it.

thelink2012 avatar Dec 29 '15 23:12 thelink2012

If you were to update coinb.in to pull transactions from a local txindexed copy of bitcoind then it would be possible to run your own testnet node

ghost avatar Mar 04 '16 12:03 ghost

I was wondering if the testnet support has been implemented since this discussion was started. Anyone know? Thanks!

alexandrag2254 avatar Jun 10 '16 21:06 alexandrag2254

I will enable the testnet code on the next commit, so that when you visit the #settings page it will list that option, unfortunately I can't find suitable service to broadcast via or retrieve unspent outputs from and I don't have the resources to run a testnet server right now. So those features wont work just yet but you will still be able to manually build a transaction and then broadcast it yourself.

OutCast3k avatar Jun 28 '16 13:06 OutCast3k

Nice.

unfortunately I can't find suitable service to broadcast via or retrieve unspent outputs from

Maybe https://test-insight.bitpay.com/ using https://github.com/bitpay/insight-api

Or, if that's possible / easy, Stratum / Electrum-servers using JSON-RPC over plain TCP, e.g.: (echo '{ "id": 1, "method": "blockchain.address.listunspent", "params": ["mv6vQZ4eWuL9uoGEbNxtCZmZuqdtLtrghW"] }'; sleep 2) | ncat --ssl stratum-az-wusa.airbitz.c 50002

See: https://github.com/lclc/stratum-docs/blob/master/manual_testing.md https://github.com/lclc/stratum-docs/blob/master/protocol-specs.rst

lclc avatar Jun 28 '16 13:06 lclc

Hi there, is there an status update? I would also love to use this on testnet!

SimonVillage avatar Jul 25 '16 06:07 SimonVillage

You can visit the http://coinb.in/#settings page and enable testnet mode. Right now when you enable it, it will give you all the usual functionality like address generation, multisig and transaction building but because I don't have a testnet node to use right now you can't broadcast or automatically populate your data on the #newTransaction page, however I will add this soon, unless someone else would like to help implement it.

OutCast3k avatar Jul 29 '16 08:07 OutCast3k

I have just submitted a pull request #88 with support for pulling unspent outputs and broadcasting testnet transactions.

bigdavisc avatar Apr 22 '17 23:04 bigdavisc

Can someone explain me why must I send all the unspent money as a fee? For example if I don't need to spend whole amount I have on my "cold" wallet I need to create 2 transfers now (in 1 transaction): one to the destination and one to self + some amount as a fee. Using this "hack" I can return the amount I want to store back to the wallet.

sajeesolutions avatar Jul 13 '17 11:07 sajeesolutions

There is still no support for Broadcast and Unspent outputs?

screenshot from 2018-01-30 15 41 33

smartm0use avatar Jan 30 '18 14:01 smartm0use