Bitcoin Forum
June 14, 2024, 08:04:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mycelium Android derivation path (for eth)  (Read 82 times)
kstunna86 (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
October 27, 2023, 07:57:22 AM
 #1

This is related to a stuck tx issue I posted about that got moved to a different forum so I will make this post more specific to the Mycelium wallet.

I am trying to confirm the derivation path that mycelium uses for getting the private keys for ethereum wallets, and more specifically when you have created multiple ethereum wallets.

When I try and use a standard derivation path on metamask or MEW only the very first eth address matches, and the rest of them do not.

I have also tried the iancoleman tool as well.

Thank you for any help or anyone who can point me in the right direction.
BitMaxz
Legendary
*
Offline Offline

Activity: 3290
Merit: 3013


BTC price road to $80k


View Profile WWW
October 27, 2023, 03:32:11 PM
 #2

Have you read my previous post in your previous thread?
I suggested to try to use https://iancoleman.io/bip39/ and then download it to run it offline.
The tool supports ETH you can paste the seed backup from Mycelium and you should see all private keys of your seed backup that you can use to import to Metamask.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
kstunna86 (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
October 27, 2023, 11:01:03 PM
 #3

I did, I am struggling with that Iancoleman tool because I dont know what or how to enter the derivation key for Mycelium.  The preset options do not generate the same tree of eth addresses.  Only the first one comes up the same.

I did some digging and it seems like mycelium for android opted for some sort of "mixed derivation" key back when segwit was introduced?
Rickorick
Jr. Member
*
Offline Offline

Activity: 107
Merit: 8


View Profile
October 27, 2023, 11:13:40 PM
 #4

Your best bet is iancoleman. you have to tweak the paths till you're able to find the missing address.'
nc50lc
Legendary
*
Offline Offline

Activity: 2450
Merit: 5705


Self-proclaimed Genius


View Profile
November 03, 2023, 10:20:53 AM
 #5

I did, I am struggling with that Iancoleman tool because I dont know what or how to enter the derivation key for Mycelium.
Try turning-on the setting "Show address path".
With it, it'll show you the address' derivation path in the 'balance' tab.

-snip-, and more specifically when you have created multiple ethereum wallets.
As for ETH accounts in Mycelium's 'Account' tab, each "Ethereum N" account corresponds to another account_index derivation, not a higher address_index.

For example:
If 'Ethereum 1' has the derivation path of m/44'/60'/0'/0/0, 'Ethereum 2' should be m/44'/60'/1'/0/0
In IanColeman's BIP39 tool, just change "Account" from 0 to 1 to get Ethereum 2's prvKey.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
libert19
Hero Member
*****
Offline Offline

Activity: 2534
Merit: 952



View Profile WWW
November 12, 2023, 02:30:41 AM
 #6

I did, I am struggling with that Iancoleman tool because I dont know what or how to enter the derivation key for Mycelium.
Try turning-on the setting "Show address path".
With it, it'll show you the address' derivation path in the 'balance' tab.

-snip-, and more specifically when you have created multiple ethereum wallets.
As for ETH accounts in Mycelium's 'Account' tab, each "Ethereum N" account corresponds to another account_index derivation, not a higher address_index.

For example:
If 'Ethereum 1' has the derivation path of m/44'/60'/0'/0/0, 'Ethereum 2' should be m/44'/60'/1'/0/0
In IanColeman's BIP39 tool, just change "Account" from 0 to 1 to get Ethereum 2's prvKey.

I replied op on his another thread where he was specifically asking to get pvk for 23rd derived address, and I'm pretty sure this is correct path for op's 23rd address — m/44'/60'/22'/0 — I tried it practically on my mycellium to fetch mine, so I'm pretty sure, however it'd have been good if op himself could confirm same but he's not been active.

Only difference between ours is one less zero, idk if it makes a difference.



Ok thank you for highlighting that setting. Didn't know that was in there.  It seems that my derivation path for the specific wallet is:

m/44'/60'/22'/0/0

or the very first eth address I created is m/44'/60'/0'/0/0

Using the 44/60/0/0/0 one again only nets me the first correct address, and all the others are different.

Ok, do this. Go on MEW wallet website, import your mnemonic, add this derivation path without quotes, "m/44'/60'/22'/0" — select it and the first address you will see there will of your mycellium wallet.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
nc50lc
Legendary
*
Offline Offline

Activity: 2450
Merit: 5705


Self-proclaimed Genius


View Profile
November 12, 2023, 04:33:26 AM
 #7

-snip-
I replied op on his another thread where he was specifically asking to get pvk for 23rd derived address, and I'm pretty sure this is correct path for op's 23rd address — m/44'/60'/22'/0 — I tried it practically on my mycellium to fetch mine, so I'm pretty sure, however it'd have been good if op himself could confirm same but he's not been active.

Only difference between ours is one less zero, idk if it makes a difference.
Not much of a difference if the reader knows the BIP44 standard which describes each level of the derivation path.
The extra zero is for the 'address_index' if going from seed to private key/address.
Link: github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#user-content-Path_levels

This is quite technical for newbies so I've just instructed him to change the "account" in BIP39 tool accordingly where he already successfully derived the address of "Ethereum 1".

The path you've given him should be correct without a doubt if it's his "Ethereum 23" wallet.
because as I've mentioned, each of those ETH wallets in the 'accounts' tab are derived with successive 'account_index'.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!