Why can't coins be sent from testnet to mainnet?

0

Why prevents bitcoins from being sent from the testnet to mainnet?

Errol

Posted 2018-03-22T19:44:04.583

Reputation: 77

2What prevents EUR from being sent to a USD bank account? They're different currencies; you need to exchange them as they have different market valuation.Pieter Wuille 2018-03-22T19:50:02.160

But is it possible to exchange testnet coins for mainnet coins?Errol 2018-03-22T19:59:18.223

1@Errol: Sure, if you could find somebody to exchange with. Likewise, you could exchange Monopoly dollars for US dollars, if you could find someone willing to make the trade. But nobody is going to want to do that, since testnet coins, like Monopoly dollars, aren't worth anything.Nate Eldredge 2018-03-22T20:33:54.293

We actually do exchange dollars for Monopoly dollar ... plus plastic pieces and cardboard and other stuff at the toy stores.Osias Jota 2018-03-22T21:44:28.483

Answers

3

Testnet and mainnet are two different blockchains, and their coins are incompatible.

A transaction takes outputs that already exist on the blockchain, and re-assign them as outputs to different addresses. Think of a blockchain as a database. Let's say testnet has outputs A, B, and C. They are in the testnet database. However, mainnet has never heard of these outputs. They simply don't exist in the mainnet database. Any transaction that is submitted to mainnet using A, B, or C will be immediately rejected. Likewise, if you submit the same transaction to testnet, then the transaction goes through...but it goes through on testnet. Mainnet is still none the wiser.

Jestin

Posted 2018-03-22T19:44:04.583

Reputation: 8 339