Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: nittro on March 21, 2019, 01:20:36 AM



Title: Testnet Bitcoin Burner Wallet
Post by: nittro on March 21, 2019, 01:20:36 AM
Hello

I found that there is no easy way to have a testnet wallet with coins pre loaded ready to go for testing. I end up having a daily routine of going to faucets and receiving the coins, waiting for confirmations, and then I can finally test my app.

So, to fix these problems I have decided to create a testnet burner wallet. You would go to a url, the wallet would be there preloaded with testnet coins and be ready to send or receive.

Would there be any interest in a wallet like this?

Thanks!


Title: Re: Testnet Bitcoin Burner Wallet
Post by: PrimeNumber7 on March 21, 2019, 01:45:51 AM
If you are going to be using testnet coins on a regular basis, there is no need for you to return any faucet coins at the end of every day.

To answer your question, you could run a faucet that instead of sends a transaction to the users testnet address, it provides the private key associated with a testnet address with unspent testnet inputs. Not everyone will spend the inputs, so you will need to periodically monitor the testnet addresses and tell your faucet to give the private key to someone else after some amount of time.

The above is a bad practice if you are dealing with coins with any economic value, but testnet coins are designed to be worthless economically. 


Title: Re: Testnet Bitcoin Burner Wallet
Post by: pooya87 on March 21, 2019, 05:08:17 AM
there is no need for that kind of complication.
as a developer if you needed testnet coins you simply visit any testnet faucet and receive an appropriate amount of TBTC and that is more than enough for 99% of the cases. if some developer wanted more and the faucets weren't enough (whether it is amount or them being dry or any other issue) they can simply run their own testnet with things like testnet in a box (https://github.com/freewil/bitcoin-testnet-box) (thanks to @BitCryptex (https://bitcointalk.org/index.php?topic=5117951.msg50058343#msg50058343))


Title: Re: Testnet Bitcoin Burner Wallet
Post by: nittro on March 21, 2019, 10:27:00 AM
 :D Great thanks for the feedback! What testnet wallet does everyone use these days?

I use coinomi and its pretty painful, thats another reason I was wanting to build a nice testnet web wallet with coins preloaded.


Title: Re: Testnet Bitcoin Burner Wallet
Post by: BrewMaster on March 21, 2019, 05:37:35 PM
:D Great thanks for the feedback! What testnet wallet does everyone use these days?

I use coinomi and its pretty painful, thats another reason I was wanting to build a nice testnet web wallet with coins preloaded.

i'm sorry but this makes no sense!
testnet and the testnet coins are only there for "testing" your own code. it makes no sense to store these coins in some sort of wallet like Coinomi! for example imagine you were developing a new wallet and wanted to test whether the send function works, you receive testnet coins in your own wallet that you coded and test things with them.