nimiq / php-xpub

A simple class to derive BTC and ETH extended public keys and addresses without GMP.
10 stars 4 forks source link

Question about Testnet Native Segwit Addresses #5

Closed arianDGI closed 10 months ago

arianDGI commented 11 months ago

Is there any reason why testnet Native Segwit addresses derived from a vpub start with "tc1.." instead of "tb1.."? If there is a reason behind it i don't mind, just wanted the explanation.

sisou commented 10 months ago

Good question, might be a bug. https://iancoleman.io/bip39/ for BTC - Bitcoin Testnet and BIP84 (vpub) generates tb1 addresses :/

sisou commented 10 months ago

Fixed in 9b52b6db932d098e35ad1238151298081ff6d0f3, released as version 1.4.1. Thanks for reporting!