Bitcoin Forum
May 06, 2024, 10:11:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: [Beginner question] Vanity from Xpub  (Read 292 times)
Hispo (OP)
Legendary
*
Offline Offline

Activity: 1204
Merit: 2124


Leading Crypto Sports Betting & Casino Platform


View Profile WWW
September 22, 2021, 12:48:17 AM
Merited by o_e_l_e_o (4)
 #21

Even with Hierarchical Deterministic wallets?
If you don't remember the path, then you don't have access to your funds.


I see.
I guess it is this way because during the initial "discovery" a wallet does with one's public keys to find the funds, the software does not care to search beyond the first tens of unused paths. Right?

If this is the case then indeed, the problem would be more difficult than I initially assumed.


If you want your vanity addresses' private keys to be stored on a hardware wallet, then yes, this is the only way to do it since hardware wallets will not allow you to import external private keys for obvious reasons.


Trezor actually allows their users to import an already existing seed.
This was implemented to securely replace one hardware wallet for another one in case of loss/ destruction of the device but having the seed available.

Anyways, thanks for your replies. I already have a better grasp of the problem and the complexity behind it.
If there is no further activity, I may lock the topic soon.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
1715033486
Hero Member
*
Offline Offline

Posts: 1715033486

View Profile Personal Message (Offline)

Ignore
1715033486
Reply with quote  #2

1715033486
Report to moderator
1715033486
Hero Member
*
Offline Offline

Posts: 1715033486

View Profile Personal Message (Offline)

Ignore
1715033486
Reply with quote  #2

1715033486
Report to moderator
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10550



View Profile
September 22, 2021, 04:07:12 AM
Merited by Hispo (1)
 #22

I guess it is this way because during the initial "discovery" a wallet does with one's public keys to find the funds, the software does not care to search beyond the first tens of unused paths. Right?
That's for addresses not for paths. The derivation path is either manually set by the user or decided by the wallet using the version number (in Electrum seeds for example) and other means and will be fixed. Then on that derivation path they only search X number of child addresses (like 10) and if they were used they will derive more until they find X addresses that weren't used.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18510


View Profile
September 22, 2021, 08:24:39 AM
Merited by Hispo (1)
 #23

I guess it is this way because during the initial "discovery" a wallet does with one's public keys to find the funds, the software does not care to search beyond the first tens of unused paths. Right?
Your wallet can't possible search every possible derivation path to look for funds. The process of doing so is just the same process as you would go through with your proposal to generate vanity addresses. It is time consuming, and the sheer number of possible paths means your wallet would still be going (and would barely have scratched the surface) when the sun engulfs the Earth in ~5 billion years' time. You need to remember the specific derivation path you used or you will likely never find it again.

Some wallets use what is known as a "gap limit", which is usually set at around 10-20. When you import a seed phrase, your wallet will scan the first 20 (for example) addresses. If it finds one which has been used, it will scan the next 20 from that address. Once it finds 20 in a row which haven't been used, it stops scanning.

Trezor actually allows their users to import an already existing seed.
A seed phrase, yes, but not individual private keys as you would have if you generated vanity address in the traditional manner.
Pages: « 1 [2]  All
  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!