Skip to content
This repository was archived by the owner on Jan 3, 2019. It is now read-only.
This repository was archived by the owner on Jan 3, 2019. It is now read-only.

Separate chains for altcoins #30

Open
@dabura667

Description

@dabura667

I think this issue needs to be solved before adding tons of alts.

m/0'/0/0 key (the first receiving key) will be exposed on every blockchain you use, to both:

  1. weak RNG attacks (weak signature R value)
  2. Privacy attacks (tracking users through multiple blockchains)

Currently, with only Litecoin support, it is not a large issue. But if the plan of having an altcoin selector is a long term goal, the chains need to be separated. (I'd recommend BIP0044)

Possible way to convert over:

  1. Scan m/0'/0/0 and if it is not used, assume they created their wallet post-switch, and don't bother looking anymore.
  2. If a balance is found on m/0'/0/k and m/0'/1/k then keep that balance there, but only generate new addresses (both for receiving and change) from the new hierarchy.

I don't think the switch would be too painful. Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions