Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: panyanqing on March 02, 2024, 05:43:46 PM



Title: How can I obtain Bitcoin test coins?
Post by: panyanqing on March 02, 2024, 05:43:46 PM

The same mnemonic generates two addresses on the test network: tb1pfscdjh8dkqy98gp0xkudrkx88zwslsvd32z60d9nhpm343rewsmqf55g7q and tb1q84jq2rq4jdf8nauum7haneseaqmg89zj944x5k.
It's easy to receive test coins at tb1q84jq2rq4jdf8nauum7haneseaqmg89zj944x5k, but tb1pfscdjh8dkqy98gp0xkudrkx88zwslsvd32z60d9nhpm343rewsmqf55g7q cannot receive them.
Why is this?
How can I obtain Bitcoin test coins?


Title: Re: How can I obtain Bitcoin test coins?
Post by: OmegaStarScream on March 02, 2024, 05:45:20 PM
You can use testnet faucets, see here[1] (some of them are no longer functional) and I'm guessing you can't use the second one because the latter is a taproot address and faucets have not updated their systems to send to those addresses yet.

[1] https://bitcointalk.org/index.php?topic=5237763.0


Title: Re: How can I obtain Bitcoin test coins?
Post by: Stalker22 on March 02, 2024, 06:20:46 PM
The same mnemonic generates two addresses on the test network:

A single mnemonic phrase isnt limited to just two addresses. BIP32 and BIP39 standards, established long ago, allow a single set of words to generate a vast number of addresses within your wallet.

It's easy to receive test coins at tb1q..., but tb1p... cannot receive them.
Why is this?

As OmegaStarScream said, your second address is Taproot.
See also https://en.bitcoin.it/wiki/List_of_address_prefixes

How can I obtain Bitcoin test coins?

Mainly through faucets. Or you can ask someone to send/borrow you testnet coins. Or you can simply send it yourself from one address to another. Why do you need testnetcoins on multiple addresses, anyway?


Title: Re: How can I obtain Bitcoin test coins?
Post by: Cricktor on March 02, 2024, 10:53:35 PM
Usually the Testnet faucet https://testnet.coinfaucet.eu/ (https://testnet.coinfaucet.eu/) is working (sometimes this site has issues, if so try later) and will send you some Testnet amount to as far as I remember non-Taproot Testnet addresses (legacy and segwit addresses). If you need Testnet coins on a Testnet taproot address, use a wallet that can send Testnet coins to taproot addresses.


Title: Re: How can I obtain Bitcoin test coins?
Post by: panyanqing on March 03, 2024, 02:45:07 AM
Can I mine test coins? I have some mining machines.







Title: Re: How can I obtain Bitcoin test coins?
Post by: pooya87 on March 03, 2024, 05:59:21 AM
The same mnemonic generates two addresses on the test network:
A mnemonic is a seed to generate private keys not addresses. The address is later derived from the public keys derived from those private keys by the wallet you are using and can be of any type.

Can I mine test coins? I have some mining machines.
You can, but since the block height is too high (2.5 million blocks) the block reward at this point is very small at about 0.012 (TestNet has had far more halvings than MainNet).
Just receive the coins from faucet into a different address then send them to your taproot address.

Or you could just use RegTest.


Title: Re: How can I obtain Bitcoin test coins?
Post by: ABCbits on March 03, 2024, 08:34:07 AM
Can I mine test coins? I have some mining machines.

You can, check these guides
[Guide] Solo mine testnet bitcoins with bfgminer, Bitcoin Core, and a CPU/GPU (https://bitcointalk.org/index.php?topic=5415861.0) (i personally tried this guide with good result).
[Guide] Solo mine testnet bitcoins with cgminer, Bitcoin Core, and a Compac F (https://bitcointalk.org/index.php?topic=5415335.0)

You also can use mining pool for testnet coin if you don't want to run your own node, but i don't know which pool for testnet coin still alive today.