How to get the signing key of each of the accounts in your Nami wallet?

I have one Nami wallet with a single seed phrase but with multiple accounts on it. I can grab the signing key of the first account using this method but i do not know how to do it with the rest of the accounts. I can create multiple nami wallets with just one account on it but I’d like just one Nami wallet.

So how do you get the signing key of each of the accounts in your Nami other than the first account?

Have you tried incrementing the account field in the derivation path?

For the main account, 1852H/1815H/0H/2/0 is the stake key, 1852H/1815H/0H/0/0 , 1852H/1815H/0H/0/1, … the main addresses and 1852H/1815H/0H/1/0, 1852H/1815H/0H/1/1, … the change addresses.

If I understood it correctly, for the first sub-account, it’s then 1852H/1815H/1H/2/0 for the stake key, 1852H/1815H/1H/0/0 , 1852H/1815H/1H/0/1, … for the main addresses and 1852H/1815H/1H/1/0, 1852H/1815H/1H/1/1, … for the change addresses.

EDIT: Since Nami uses only a single address, only 1852H/1815H/1H/0/0 is probably relevant. The others would be relevant for the multi-accounts of Adalite and ccVault, though.

1 Like

Thanks @ HeptaSean, it works great! :slight_smile:

1 Like