2
I'm playing around with regtest and wanted to generate a bech32 address. My Bitcoin Core version is 0.18.0.
I ran getnewaddress "" bech32 and got an address that began with bcrt, like this one : bcrt1qs758ursh4q9z627kt3pp5yysm78ddny6txaqgw.
I'm a bit surprised, because I was thinking that testnet bech32 addresses were different, and indeed I checked this page that says it should begin with tb1...
I tried to send some tbtc to this address with Electrum and a faucet, none worked, they indeed both say address is invalid.
So what am I missing here?
Thanks got it, but if I'm not mistaken both testnet and regtest use the same addresses' prefix? At least it is the case for legacy and P2SH addresses, and since I don't find any specific format for bech32 on the page I linked to I was also expecting Bitcoin Core will generate addresses beginning with
tb1on regtest. – Sosthène – 2019-10-23T20:13:50.450They use different prefixes for bech32 addresses. – Andrew Chow – 2019-10-23T20:20:03.623
Ok, but then it means this page need to be updated https://en.bitcoin.it/wiki/List_of_address_prefixes I created an account on Bitcoin Wiki and see how to do it myself, thanks for your help
– Sosthène – 2019-10-24T13:17:23.033