vulpemventures / marina

Liquid Wallet browser extension
MIT License
39 stars 19 forks source link

Move `MainAccount` base derivation path to standard coinType #348

Closed tiero closed 1 year ago

tiero commented 2 years ago

After #345 is merged we should take this occasion to migrate the base derivation path to the standard Liquid one that uses 1776 as coinType for Liquid V1 and 1 for testnet,regtest etc...

louisinger commented 2 years ago

how the migration of current wallet should be done ? either we "force moving coins" or only newly created account will use the coinType ? same for restoration ? we should check/restore both paths ?

tiero commented 2 years ago

We simply scan for both derivation, since now we will have this multi-account mode.

Current MainAccount becomes DeprecatedMainAccount and we switch to new one.

tiero commented 2 years ago

cc/ @altafan