From the link below i read that it is dangerous for a Bitcoin regtest address to have 1 as it's prefix can someone explain why The link : Address starting with 2, what mode I am in?

4 Answers 4


i read that it is dangerous

You seem to have misread.

The accepted answer states that it would be, not that it is.

Having different prefixes for addresses in the different networks makes it less likely that someone accidentally mistakes valueless test "money" for real money or vice versa expensively.


I think the reason why it is dangerous for a Bitcoin regtest address to have 1 as its prefix is because it could be confused with a mainnet address. A mainnet address is an address that is used on the real Bitcoin network, where transactions have real value and are irreversible. If someone accidentally sends real bitcoins to a regtest address that starts with 1, they would lose their money forever. Regtest addresses are meant for testing purposes only, and they should have a different prefix to avoid such mistakes.


I think Bitcoin regtest addresses should have a different prefix than testnet addresses, to avoid confusion and potential mistakes. Regtest addresses are used for local testing and development, while testnet addresses in cryptex are used for global testing and experimentation. If they both start with the same prefix, it is easy to mix them up and send coins to the wrong network. This could result in loss of funds or security issues. A distinct prefix would make it clear which network the address belongs to, and prevent such errors. I suggest using the prefix bcrt for regtest addresses, as proposed by BIP01731. This would make them compatible with bech addresses, which use bc, tb, and bcrt prefixes for mainnet, testnet, and regtest respectively.


I don’t think it is bad for a Bitcoin regtest address to have 1 as its prefix, as long as you are aware of the difference between regtest and testnet. Regtest addresses are the same as testnet addresses, except they use a private network for local testing. You can use any prefix you want for regtest, as long as it is valid for testnet. However, you should never use regtest addresses on the mainnet, as they will not work and you may lose your funds.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.