zdyszm / coinaddress

bip32 bip39 bip44
7 stars 1 forks source link

BIP44 and BIP49 #3

Open xenord opened 2 years ago

xenord commented 2 years ago

Hi,

I'm writing you for some informations. For generate BIP44 and BIP49, is it enough to change these following values?

hdnode_private_ckd_prime(&node, 44);
hdnode_private_ckd_prime(&node, COIN_TYPE);
hdnode_private_ckd_prime(&node, 0);
hdnode_private_ckd(&node, 0);

Because, i'm getting same generated address in BIP49 format with this mnemonic "vault salon bonus asset raw rapid split balance logic employ fuel atom"

Does this library support BIP84 too?

Thanks in advance!

antyan commented 1 year ago

Hi,

I'm writing you for some informations. For generate BIP44 and BIP49, is it enough to change these following values?

hdnode_private_ckd_prime(&node, 44);
hdnode_private_ckd_prime(&node, COIN_TYPE);
hdnode_private_ckd_prime(&node, 0);
hdnode_private_ckd(&node, 0);

Because, i'm getting same generated address in BIP49 format with this mnemonic "vault salon bonus asset raw rapid split balance logic employ fuel atom"

Does this library support BIP84 too?

Thanks in advance!

Tell me, did you manage to get the wallet address using this code? If yes, how did you do it?

zdyszm commented 11 months ago

Hi,

I'm writing you for some informations. For generate BIP44 and BIP49, is it enough to change these following values?

hdnode_private_ckd_prime(&node, 44);
hdnode_private_ckd_prime(&node, COIN_TYPE);
hdnode_private_ckd_prime(&node, 0);
hdnode_private_ckd(&node, 0);

Because, i'm getting same generated address in BIP49 format with this mnemonic "vault salon bonus asset raw rapid split balance logic employ fuel atom"

Does this library support BIP84 too?

Thanks in advance!

this code is get public and private key. bip84 is like same. publickey to address Each currency is different