coinbase / coinbase-commerce-node

Coinbase Commerce Node
MIT License
142 stars 66 forks source link

Bitcoin addresses derivation have changed. #36

Open axeldomingues opened 3 years ago

axeldomingues commented 3 years ago

Hi,

Bitcoin addresses derivation have changed. Before Coinbase Commerce would derive legacy bitcoin addresses based on BIP39, BIP32 & BIP44 where the first address derivation path would be m/44'/0'/0'/0/0.

Now it seems the derived bitcoin addresses are P2SH (segregated witnesses) addresses.

For instance before for m/44'/0'/0'/0/0 derivation path we would be getting the address 12Re7aYQhvhwE1Jy9znzdTAuzXtP8PJdRG. But now Coinbase Commerce gave the following address 3AFP2jzdFzCUxEj7wxiVYLX9vmu4X8gZhF.

So my question is what has changed that led to this? How can I now derive these new addresses? Which BIPs have the Coinbase Commerce wallet implemented beyond the legacy implementations like BIP39, BIP32 & BIP44?

Help in this would be really appreciated.

Thanks!

scott-huson commented 3 years ago

I have also had this issue and it has not been resolved.