Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: hZti on June 28, 2022, 08:28:23 AM



Title: Bitcoin testnet mining
Post by: hZti on June 28, 2022, 08:28:23 AM
Since I want to do some testing with my hardware wallets, multisig and other stuff that generally interests me, I would need a larger amount of tBTC. I can understand that people will not just give away larger amounts of tBTC since if they would do it, they would quickly run out of them also. So I was thinking I could just point a miner at a testnet pool for a few hours/days to get the amount that I would need. After some research I found out this will be more difficult than I thought, since many pools seem to be offline. Also it is many times suggested to set up your own pool. Since I don't have the time to set up the pool and also not the mining power to solo mine, I would be happy about some tips how to obtain the needed tBTC.



Title: Re: Bitcoin testnet mining
Post by: Charles-Tim on June 28, 2022, 08:37:51 AM
You can check these sites:

Great initiative, BlackHatCoiner! Thanks for your time to build it up.

By the way, let me share some resources about Bitcoin testnet
  • Bitcoin Testnet. Activate, experience it, but don't trade and get scammed. (https://bitcointalk.org/index.php?topic=5215716.0)
  • Testnet faucets I am not sure they are still working
    • https://tpfaucet.appspot.com/
    • https://en.bitcoin.it/wiki/Testnet: Find out more in the Faucet section.
    • https://testnet-faucet.mempool.co
    • https://coinfaucet.eu/btc-testnet
    • https://tbtc.bitaps.com
    • http://kuttler.eu/bitcoin/btc/faucet/
    • http://bitcoinfaucet.uo1.net/
    • https://tbtc.mocacinno.com/

I remembered that one of the links was very helpful for me when I wanted to get some tBTC few months ago.


Title: Re: Bitcoin testnet mining
Post by: hZti on June 28, 2022, 08:50:37 AM
I know that those faucet do exist but the give you just very small amounts like 0.001 tBTC Avery 12 hours. This is enough for many users but in my case I need a larger amount to test some functionality of my hardware wallet. So for that reason I want to mine testnet coins.


Title: Re: Bitcoin testnet mining
Post by: Charles-Tim on June 28, 2022, 09:04:03 AM
I know that those faucet do exist but the give you just very small amounts like 0.001 tBTC Avery 12 hours. This is enough for many users but in my case I need a larger amount to test some functionality of my hardware wallet. So for that reason I want to mine testnet coins.
I have forgotten the sites I used that time, but it gave just 0.001 BTC every 24 hours. You can always change your VPN location to to be able to use different location to receive as many as possible before the 24 hours. Each location changed can be able to receive another 0.001 BTC.


Title: Re: Bitcoin testnet mining
Post by: LoyceV on June 28, 2022, 09:10:14 AM
Since I want to do some testing with my hardware wallets, multisig and other stuff that generally interests me, I would need a larger amount of tBTC.
Why? 0.001 tBTC is enough to create many transactions and wallets. It may not be enough to open a LN-channel though.

Quote
I was thinking I could just point a miner at a testnet pool for a few hours/days to get the amount that I would need.
As far as I know, testnet difficulty is far too high for that. I've seen a calculation from mocacinno, which concluded that it's quite expensive to mine even just 1 tBTC.

The reason why it's so hard to use testnet the way it was intended:
There is a shitty/scammy ethereum ICO thing right now giving people shares in exchange for testnet btc, this is totally screwing up the usability of testnet and also causing antisocial dickwads to waste all our time begging for testnet coins without disclosing that the only thing they want them for is to make a quick buck.


Title: Re: Bitcoin testnet mining
Post by: hZti on June 28, 2022, 09:28:06 AM
Since I want to do some testing with my hardware wallets, multisig and other stuff that generally interests me, I would need a larger amount of tBTC.
Why?



Because it is possible to create some transactions but I will have to then manually send all the transactions back to the main address, which would be a lot of unnecessary work if the actual value of tBTC is 0 USD and therefore it should be easily available. Also I want to have some tBTC for future projects for example open a LN channel and just did not expect that it would be so hard to obtain the needed amount.

I dint know about that Ethereum Scam stuff, but I hope if this doesn't stop there will be just a second testnet or something like this to be able to stop these scammers to mess with people by hoarding all the coins.
For the mean time I will try to just stick with the faucets, but all help regarding testnet mining will be appreciated, since maybe the difficulty will go eventually when the next shitcoin bubble will pop.


Title: Re: Bitcoin testnet mining
Post by: LoyceV on June 28, 2022, 09:53:39 AM
Because it is possible to create some transactions but I will have to then manually send all the transactions back to the main address, which would be a lot of unnecessary work if the actual value of tBTC is 0 USD and therefore it should be easily available.
Unfortunately, the days of wasting testnet coins are long gone :(

Quote
Also I want to have some tBTC for future projects for example open a LN channel and just did not expect that it would be so hard to obtain the needed amount.
I keep a small amount for such testing, and indeed always closed the channels and recovered the coins when I was done.

Quote
I hope if this doesn't stop there will be just a second testnet or something
As far as I know, Bitcoin is on it's third testnet reset already. You may be able to use regtest instead of testnet.

Quote
all help regarding testnet mining will be appreciated
There's mocacinno's estimate on the cost of mining testnet (https://bitcointalk.org/index.php?topic=5306684.msg56016113#msg56016113).


Title: Re: Bitcoin testnet mining
Post by: hZti on June 28, 2022, 10:50:02 AM
Thank you for the explanation, it is really a bad situation that the testate coins are at one hand free but at the other hand they are wasted to an extend that you can't really get them anymore. After all there are also 19.000.000 tBTC around that are worthless but still not easily accessible if they are needed.


Title: Re: Bitcoin testnet mining
Post by: BlackHatCoiner on June 29, 2022, 06:20:54 PM
How many tBTC do you want? I can send you some, far more than faucets do, if you give me a good reason to; send PM if you don't feel comfortable to say in public. What functionality do you want to test that requires an amount greater than 0.001 tBTC?

Experiencing with Lightning is the only thing I can think of. Check my thread (https://bitcointalk.org/index.php?topic=5359454.msg57912721#msg57912721). I can lend you some, if you want to either route or understand the mechanism.


Title: Re: Bitcoin testnet mining
Post by: DireWolfM14 on June 29, 2022, 07:28:39 PM
Since I want to do some testing with my hardware wallets, multisig and other stuff that generally interests me, I would need a larger amount of tBTC.

If all you're doing is testing your hardware wallets and multi-sig wallets, you really don't need any more than 0.001tBTC.  Tx fees on testnet are very low, and you can make at least 9 or more reasonable transactions with only 0.001tBTC.  The wallets don't care how much you send, and you know you can get replenished every 12 hours.  If that's still not enough, you can hit up multiple faucets every time you need more.


Title: Re: Bitcoin testnet mining
Post by: hZti on June 30, 2022, 06:44:57 AM
I think I was simply wrong about thinking that the testnet had a low difficulty and I could simply point a miner to it and mine some coins to use them as I like. If somebody is willing to give some testnet BTC feel free to contact me. I will not reply to offers like this anymore: Do that and you will get that amount of testnet BTC!


Title: Re: Bitcoin testnet mining
Post by: saxydev on June 30, 2022, 05:52:55 PM
Since I want to do some testing with my hardware wallets, multisig and other stuff that generally interests me, I would need a larger amount of tBTC. I can understand that people will not just give away larger amounts of tBTC since if they would do it, they would quickly run out of them also. So I was thinking I could just point a miner at a testnet pool for a few hours/days to get the amount that I would need. After some research I found out this will be more difficult than I thought, since many pools seem to be offline. Also it is many times suggested to set up your own pool. Since I don't have the time to set up the pool and also not the mining power to solo mine, I would be happy about some tips how to obtain the needed tBTC.



I can give you 1 tbtc for 0.001 btc. You have to add it as collateral somewhere as in theory tbtc has no value, so if you don't spend much of it, you will get most of your money back. I don't agree with most of crypto users who say that tbtc is worthless, if it's worthless, give me 100 right now to test, don't you have?


Title: Re: Bitcoin testnet mining
Post by: BlackHatCoiner on June 30, 2022, 06:23:17 PM
I don't agree with most of crypto users who say that tbtc is worthless, if it's worthless, give me 100 right now to test, don't you have?
It's worthless. Proof: I sent him 0.25 tBTC for free.


Title: Re: Bitcoin testnet mining
Post by: saxydev on June 30, 2022, 06:29:21 PM
I don't agree with most of crypto users who say that tbtc is worthless, if it's worthless, give me 100 right now to test, don't you have?
It's worthless. Proof: I sent him 0.25 tBTC for free.

I offer it for free, but some money has to be put on collateral in case he spends it or goes offline.


Title: Re: Bitcoin testnet mining
Post by: BlackHatCoiner on June 30, 2022, 07:11:04 PM
I offer it for free, but some money has to be put on collateral in case he spends it or goes offline.
Then it's not really free. If, to acquire them, he needs to risk losing money, there's definitely a possible hidden cost. Especially for coins that are meant to be tested, hereby to be lost either accidentally or deliberately.


Title: Re: Bitcoin testnet mining
Post by: d3bt3 on July 04, 2022, 02:29:55 AM
If people want them for external device testing -- and they are willing to pay for them -- testnet coins are not worthless. 
I have many -- what are they worth to someone I wonder?


Title: Re: Bitcoin testnet mining
Post by: LoyceV on July 04, 2022, 07:44:11 AM
what are they worth to someone I wonder?
See:
in your opinion what is the correct offer in euros for 10 tBTC?
Approximately 0.
Exactly 0!
It seems like you're missing the point: testnet coins are never supposed to have any value (https://en.bitcoin.it/wiki/Testnet)! If it has value, it becomes worthless for it's purpose.


Title: Re: Bitcoin testnet mining
Post by: d3bt3 on July 04, 2022, 01:26:53 PM
what are they worth to someone I wonder?
See:
in your opinion what is the correct offer in euros for 10 tBTC?
Approximately 0.
Exactly 0!
It seems like you're missing the point: testnet coins are never supposed to have any value (https://en.bitcoin.it/wiki/Testnet)! If it has value, it becomes worthless for it's purpose.

Most people do not mine real bitcoins, nor other tokens. But desire them from the free market.
Seems the OP can't mine testnet coins, but similarly desires them from the free market?
(Still missing the point sorry)


Title: Re: Bitcoin testnet mining
Post by: BlackHatCoiner on July 04, 2022, 08:00:52 PM
Seems the OP can't mine testnet coins, but similarly desires them from the free market?
OP can't mine testnet bitcoin, because it costs a lot. Correct.
OP desires testnet bitcoin. Also correct.

It'd be reasonable to assume that testnet coins do have a market value, because there's demand and there's supply. However, this should not be the case in here. The moment the community starts treating tBTC as a product or money, it'll essentially nullify the demand, because their only purpose is to help on testing. They exist only to help us improve and understand the main network's benefits.

Therefore, the owners are incentivized to give them for free.


Title: Re: Bitcoin testnet mining
Post by: d3bt3 on July 06, 2022, 03:42:03 PM
There's currently a shortage, developers/testers need good amounts of testnet coins.
Ideally there'd be a market -- people with many (like myself) would like to turn them over to people who seriously need them.

Perhaps a faucet, while giving away small amounts for free -- could sell batches of 5,10,20,100,1000 for a fee. And correspondingly, buy from hoarders -- to replenish.


Title: Re: Bitcoin testnet mining
Post by: hZti on July 06, 2022, 04:53:55 PM
I think if we are at this point again that the tBTC are not easily available anymore we are in need of a reset of the testnet to zero again or a new testnet. This will teach people that without a reason hoard bitcoin or shoot insane amounts of mining power at the testnet to make the life of developers hard.

There's currently a shortage, developers/testers need good amounts of testnet coins.


Why do they need good amounts of testnet coins? I recently tried to get some coins and with 0.5 tBTC I can do basically all I need, even if I would like to have some more. But if I really wanted I could ofc find more tBTC.


Title: Re: Bitcoin testnet mining
Post by: LoyceV on July 06, 2022, 05:07:47 PM
Ideally there'd be a market
Ideally, testnet coins can easily be mined in small amounts at low cost.

Quote
sell batches of 5,10,20,100,1000 for a fee
Hoarding them like this is what leads to high mining difficulty. Paying for testnet coins means contributing to the problem.


Title: Re: Bitcoin testnet mining
Post by: d3bt3 on July 06, 2022, 09:15:18 PM
Hoarding them like this is what leads to high mining difficulty.
I thought difficulty rises with more miners in the network. Nothing to do with existing coins.
So it's not possible to mine any meaningful amount of coins.
Yet if you need 100+ tBTC I can find them.


Title: Re: Bitcoin testnet mining
Post by: hZti on July 09, 2022, 10:25:36 AM
Hoarding them like this is what leads to high mining difficulty.
I thought difficulty rises with more miners in the network. Nothing to do with existing coins.


Problem is that people mine testnet coins for no reason, just to hold them. Because of those large number of miners the difficulty goes up constantly. If people only mine when they need coins we would have a lot less difficulty. Also people could give coins back to others after mining. For example they send a transaction with a large fee.

Hoarding them like this is what leads to high mining difficulty.
I thought difficulty rises with more miners in the network. Nothing to do with existing coins.

If people have hard time looking for tBTC, some of them would turn to mining. They could rent SHA-256 hashrate from website such as NiceHash and point it to testnet mining pool.


I don’t know a singe public pool that does testnet mining.





About 5 years, i've seen 2-3 public pool for bitcoin testnet. But looks like there aren't pool which still alive, probably due to low mining reward and relative high hashrate. Closest thing you could get today is self-hosted mining pool software such as CoiniumServ[1] and p2pool[2].

[1] https://github.com/bonesoul/CoiniumServ (https://github.com/bonesoul/CoiniumServ)
[2] https://github.com/jtoomim/p2pool (https://github.com/jtoomim/p2pool)

Thanks I will try that in the future. So far I got all the testate coins I will need through faucets or users here but didn't have the time to actually use them. If I need more I will set up a self-hosted pool or even try to find somebody here that would set up a testnet public pool together with me.

[moderator's note: consecutive posts merged]


Title: Re: Bitcoin testnet mining
Post by: DaveF on October 30, 2022, 02:34:48 PM
IMO, the issue with testnet is that for 99% of the things you need to do you can do them with regtest coins. https://developer.bitcoin.org/examples/testing.html

If you are just doing testing you do it locally in regtest, and once you are sure whatever you are doing works you get a little bit of 'real testnet' coins and use those before deploying in the 'real world'.

So, if you bork / loose / destroy wallets with regtest no big deal. For some reason a bunch of people are putting a lot of mining power into testnet mining and then there are others who insist on using testnet instead of regtest to do things when it's really not needed.

One again, all IMO.

-Dave


Title: Re: Bitcoin testnet mining
Post by: pooya87 on October 30, 2022, 02:49:40 PM
IMO, the issue with testnet is that for 99% of the things you need to do you can do them with regtest coins.
I think it is the opposite, 99% of the things you need to do can be done on testnet very easily. The problem with regtest is that you have to run bitcoin core and then keep going back and forth between your application and core whereas if for example you want to test a wallet you developed, you can just claim some testnet coins from a faucet into that wallet and spend inside it without needing to download, verify, install, run bitcoin core, read documentation of how to use regtest, mine coins, import them into your wallet, and finally spend those coins to test things through a lot of mocks.


Title: Re: Bitcoin testnet mining
Post by: LoyceV on October 30, 2022, 02:52:26 PM
IMO, the issue with testnet is that for 99% of the things you need to do you can do them with regtest coins.
I have a different view: having to use regtest is the issue with testnet ;)

Quote
For some reason a bunch of people are putting a lot of mining power into testnet mining
Weird fetish indeed.


Title: Re: Bitcoin testnet mining
Post by: d3bt3 on October 30, 2022, 02:54:07 PM
IMO, the issue with testnet is that for 99% of the things you need to do you can do them with regtest coins.
I think it is the opposite, 99% of the things you need to do can be done on testnet very easily.
I can't figure out how testing multi-vendor HW config can even be done without testnet coins.  
Nor multi-party coinjoins.  
And not much else outside of a single machine (LAN).


Title: Re: Bitcoin testnet mining
Post by: DaveF on October 30, 2022, 04:08:47 PM
IMO, the issue with testnet is that for 99% of the things you need to do you can do them with regtest coins.
I think it is the opposite, 99% of the things you need to do can be done on testnet very easily. The problem with regtest is that you have to run bitcoin core and then keep going back and forth between your application and core whereas if for example you want to test a wallet you developed, you can just claim some testnet coins from a faucet into that wallet and spend inside it without needing to download, verify, install, run bitcoin core, read documentation of how to use regtest, mine coins, import them into your wallet, and finally spend those coins to test things through a lot of mocks.

I was thinking of things that talked to core.

But, beyond that you can with a little bit of time and effort (as in a couple of hours at most) you can get 0.1 tBTC which as others have pointed out is more then enough to do just about anything since it is divisible down. If you need more, it just takes a bit more time and effort. If it's a 'real' project, then that just has to be part of it.
But, I hit all the faucets I could google and wound up with .044 in about 45 minutes while also doing a few other things online. So if you need it it's there.

-Dave
*I will be returning it later today. Since I don't have a need for it.


Title: Re: Bitcoin testnet mining
Post by: GaloisField on January 15, 2024, 11:18:12 PM
Hello,

As the first message on this post, I need some tBTC for a project. We can buy for some sats but we need something like 3-4 tBTC.

If you know anyone interested feel free to comment here and we can chat about it.


Thanks,

GaloisField


Title: Re: Bitcoin testnet mining
Post by: LoyceV on January 16, 2024, 07:58:15 AM
I need some tBTC for a project. We can buy for some sats but we need something like 3-4 tBTC.
Why? What can you do with that much that you can't do with 0.01 tBTC?


Title: Re: Bitcoin testnet mining
Post by: ABCbits on January 17, 2024, 11:43:05 AM
Hello,

As the first message on this post, I need some tBTC for a project. We can buy for some sats but we need something like 3-4 tBTC.

If you know anyone interested feel free to comment here and we can chat about it.


Thanks,

GaloisField

Depending on your need, consider regtest network where you can obtain tons of coins easily[1].

[1] https://developer.bitcoin.org/examples/testing.html#regtest-mode (https://developer.bitcoin.org/examples/testing.html#regtest-mode)


Title: Re: Bitcoin testnet mining
Post by: d3bt3 on January 17, 2024, 12:41:12 PM
Hello,

As the first message on this post, I need some tBTC for a project. We can buy for some sats but we need something like 3-4 tBTC.

If you know anyone interested feel free to comment here and we can chat about it.


Thanks,

GaloisField
 

This exchange offers hundreds, and you can bring them back when you are done. 
https://altquick.com/exchange/market/BitcoinTestnet