Closed fanatid closed 3 years ago
Thanks. Do you think that it makes sense to just remove the bip44 constants altogether? i.e. Just encourage people to use bip44-constants
?
Do you think that it makes sense to just remove the bip44 constants altogether? i.e. Just encourage people to use
bip44-constants
?
Not sure. I think use all information about coin from one place it's nice.
@jprichardson you don't forget about this PR? probably this PR need major bump, because I change some coin names for consistent with bip44-constants
Do we want to return the number with the '
or without? e.g. for Dogecoin, should we be returning:
bip44Constants.Dogecoin - 0x80000000
or bip44Constants.Dogecoin
??
Why you want this? SLIP-0044 has numbers with '
Exactly. Since when you pass the constant to a derive()
function, you typically need the '
(bip44Constants.Dogecoin) instead of (bip44Constants.Dogecoin + 0x80000000).
But since all have 0x80000000
, it could make it hard to detect differences. IDK, I'm probably splitting hairs here.
maybe return two constants? one with '
and one without '
?
Hmmm, still thinking about this.
Resolve #18