bitmover
Legendary
Offline
Activity: 2520
Merit: 6374
Wheel of Whales 🐳
|
|
July 07, 2022, 11:21:07 AM |
|
Get a Linux LIVE DVD, boot from it, don't give it internet access, close the curtains, copy IanColeman's site on a USB stick, don't give it access to any hard drives, run from RAM only, and play around with it until you have the private keys you need. Then turn off the PC and wipe it's memory.
Or just move the bitcoins to a fresh new wallet with a new after if you are successful in recovering the private keys. Consider your seed exposed and create a new wallet after inserting private keys in any computer.
|
|
|
|
tenant48
|
|
July 08, 2022, 06:42:02 AM Last edit: July 08, 2022, 07:09:39 AM by tenant48 |
|
BIP44 derivation path has five levels:
m / purpose' / coin_type' / account' / change / address_index
But it should be this:
m / 44' / 0' / $client_id.' / 0 / 0 for receive addresses
m / 44' / 0' / $client_id.' / 1 / 0 for change addresses
If you insert a variable ($client_id) in place of account, then the XPub key will change all the time. To keep XPub unchanged, you can change only the last two fields (change and address_index). I previously accepted BTC payments through the blockchain.com service. https://www.blockchain.com/en/api/api_receiveThere you need to give a request for an API key for your site: https://www.blockchain.com/api/requestThere are also examples of PHP scripts to insert into your site.
|
|
|
|
witcher_sense
Legendary
Offline
Activity: 2464
Merit: 4419
🔐BitcoinMessage.Tools🔑
|
|
July 08, 2022, 07:08:38 AM |
|
If you insert a variable ($client_id) in place of account, then the XPub key will change all the time. To keep XPub unchanged, you can change only the last two fields (change and address_index).
It all depends on which branch's xpub you are taking to derive addresses. For example, you can use xpub of m / 44' / 0' branch to derive as many accounts as you want, or you can use the master public key to derive all public keys from all branches. The chief point is that you must use a different account for each customer if you want to keep them completely separated from each other.
|
|
|
|
tenant48
|
|
July 08, 2022, 07:27:35 AM |
|
The chief point is that you must use a different account for each customer if you want to keep them completely separated from each other.
The topic starter indicated that he took XPub from Trezor (see first post), and Trezor has a limit (10) on the number of account creation: https://wiki.trezor.io/AccountSo this method will not work for him. Or you will have to use non-native software.
|
|
|
|
witcher_sense
Legendary
Offline
Activity: 2464
Merit: 4419
🔐BitcoinMessage.Tools🔑
|
|
July 08, 2022, 07:46:59 AM |
|
The topic starter indicated that he took XPub from Trezor (see first post), and Trezor has a limit (10) on the number of account creation: https://wiki.trezor.io/AccountSo this method will not work for him. Or you will have to use non-native software. Like other hierarchical deterministic wallets, Trezor uses account structure to organize transactions. The number of accounts supported by Trezor is not limited, but in Trezor Suite, the number of accounts per cryptocurrency is limited to 10. That simply means that Trezor Suite is not suitable for purposes of serving more than 10 customers, but not that I am wrong. As long as the software allows you to track an unlimited number of accounts, you're fine; even if you're keeping funds on a hardware wallet like Trezor and others.
|
|
|
|
tenant48
|
|
July 08, 2022, 11:54:49 AM |
|
The topic starter indicated that he took XPub from Trezor (see first post), and Trezor has a limit (10) on the number of account creation: https://wiki.trezor.io/AccountSo this method will not work for him. Or you will have to use non-native software. Like other hierarchical deterministic wallets, Trezor uses account structure to organize transactions. The number of accounts supported by Trezor is not limited, but in Trezor Suite, the number of accounts per cryptocurrency is limited to 10. That simply means that Trezor Suite is not suitable for purposes of serving more than 10 customers, but not that I am wrong. As long as the software allows you to track an unlimited number of accounts, you're fine; even if you're keeping funds on a hardware wallet like Trezor and others. As far as I understand, the task of 0xwork is to automatically accept payments and see the balance on your wallet. If you suggest using other software instead of trezor suite, which can scan different accounts and addresses with different indexes. How do you imagine that? The account system should be used if you want to always issue a new payment address to the same customers, but even large exchanges do not do this and usually issue the same replenishment addresses to their customers.
|
|
|
|
bitmover
Legendary
Offline
Activity: 2520
Merit: 6374
Wheel of Whales 🐳
|
|
July 08, 2022, 12:03:42 PM |
|
If you suggest using other software instead of trezor suite, which can scan different accounts and addresses with different indexes. How do you imagine that?
This is very simple. Trezor and ledger and basically any hardware wallet supports other (and better wallets) such as electrum. You can read the official trezor guide here: https://blog.trezor.io/using-trezor-with-electrum-v3-a0b9bcffe26e#:~:text=Electrum%20handles%20TREZOR%20accounts%20as,%2C%20select%20'Standard%20wallet'. The OP is already using electrum with trezor, since his first post: i try electrum wallet ,
i open trezor in electrum like this : Create a new wallet Select Standard wallet select hardware device Choose derivation path m/44'/0'/0' . Native wallets such as trezor suite are not very good. They do not allow good control over private keys, so it is much better to use electrum. The account system should be used if you want to always issue a new payment address to the same customers, but even large exchanges do not do this and usually issue the same replenishment addresses to their customers.
This is exactly what large exchanges do. They create an account inside their wallet for each customer. The correct way of doing this is to add the account/client numer in the forth level of the derivation path
|
|
|
|
tenant48
|
|
July 08, 2022, 02:58:42 PM |
|
To use Trezor with electrum with different accounts, you will have to constantly write derivation paths in electrum for each new account: m/49'/0'/0' (first account) m/49'/0'/1' (second account) m/49'/0'/2' (third account) ... In addition, keep in mind that not everyone will send funds to the requested addresses.
|
|
|
|
Cricktor
Legendary
Offline
Activity: 980
Merit: 1624
Crypto Swap Exchange
|
|
July 08, 2022, 09:40:25 PM |
|
Well, the OP programmed a non-standard derivation path which doesn't follow any standard HD wallet rules. His setup isn't properly tested, for sure. There is for sure a proper way to implement this with BIP44 rules, but that's not what the OP did and it doesn't help him now to reclaim his received payment.
If you instruct Electrum to use a custom derivation path you don't have to worry about which coin would be designated by standard BIP44 rules and other nitpicking.
I haven't tested this properly with my PiTrezor yet. As far as I remember you get a XPub from Trezor with is the Master Extended Public Key m and from there you should be able to construct the derivation path as found by blockpath.com by the user itself.
What I don't yet understand is the user's talking of always changing XPub when he changes the derivation path. It depends on what you take for the Extended Public Key, but I would assume he should stick to the XPub that his Trezor uses. I'm slightly confused...
|
|
|
|
tenant48
|
|
July 09, 2022, 08:32:02 AM |
|
Coins are found along the following derivation paths:
м/44'/0'/0'/526/0 м/44'/0'/0'/527/0 м/44'/0'/0'/528/0 ....
While I see a solution to pick up a wallet in which you can register a custom derivation path, enter the seed from Trezor into it and insert the derivation path into it one by one and check for balance and, if available, withdraw funds to another wallet.
|
|
|
|
0xwork (OP)
Copper Member
Newbie
Offline
Activity: 12
Merit: 51
|
|
July 12, 2022, 09:39:56 PM Last edit: July 12, 2022, 10:18:11 PM by 0xwork |
|
Thanks for everyone trying to help me. but I try everything m/44'/0'/0'/489'/0 m/44'/0'/0'/489'/0' m/44'/0'/0'/489/0 m/44'/489'/0' m/49'/0'/489' m/489 m/489/0 .. ..
and nothing works . I try my seed on https://iancoleman.io/bip39/ but I can not find my addresses. I make a test wallet for everyone who wants to help . BIP39 Mnemonic : smile oven assist forward parade horror limb mango journey glass grant deer inquiry leave menu xpub : xpub6CVSgdHRncHHCh2EoXPo6VS8Q1JrhrhfaYfELjD94tkfskKDbxZF9vHQ5x8t17yvYcBAPycTRjsAnq11cURoQb6UBGYEzqvnDaDAdjxSqz7 i use this xpub to generate this address from my php code: 1B4G662QFKQNsj3EwqP1PWi8HUUDHrVmn7 the php code i use to generate this address : <?php require_once('./HD.php');
$xpub = 'xpub6CVSgdHRncHHCh2EoXPo6VS8Q1JrhrhfaYfELjD94tkfskKDbxZF9vHQ5x8t17yvYcBAPycTRjsAnq11cURoQb6UBGYEzqvnDaDAdjxSqz7'; $path = '5/0'; // 1st receiving address
$hd = new HD(); $hd->set_xpub($xpub); $address = $hd->address_from_master_pub($path);
echo $address;
now how i can show this address in https://iancoleman.io/bip39/ and i make the REWARD 200$
|
|
|
|
0xwork (OP)
Copper Member
Newbie
Offline
Activity: 12
Merit: 51
|
|
July 12, 2022, 10:29:22 PM |
|
Thanks for everyone trying to help me. but I try everything m/44'/0'/0'/489'/0 m/44'/0'/0'/489'/0' m/44'/0'/0'/489/0 m/44'/489'/0' m/49'/0'/489' m/489 m/489/0 .. ..
and nothing works . I try my seed on https://iancoleman.io/bip39/ but I can not find my addresses. I make a test wallet for everyone who wants to help . BIP39 Mnemonic : smile oven assist forward parade horror limb mango journey glass grant deer inquiry leave menu xpub : xpub6CVSgdHRncHHCh2EoXPo6VS8Q1JrhrhfaYfELjD94tkfskKDbxZF9vHQ5x8t17yvYcBAPycTRjsAnq11cURoQb6UBGYEzqvnDaDAdjxSqz7 i use this xpub to generate this address from my php code: 1B4G662QFKQNsj3EwqP1PWi8HUUDHrVmn7 the php code i use to generate this address : <?php require_once('./HD.php');
$xpub = 'xpub6CVSgdHRncHHCh2EoXPo6VS8Q1JrhrhfaYfELjD94tkfskKDbxZF9vHQ5x8t17yvYcBAPycTRjsAnq11cURoQb6UBGYEzqvnDaDAdjxSqz7'; $path = '5/0'; // 1st receiving address
$hd = new HD(); $hd->set_xpub($xpub); $address = $hd->address_from_master_pub($path);
echo $address;
now how i can show this address in https://iancoleman.io/bip39/ and i make the REWARD 200$ i think i find my addresses When i use iancoleman and edit The External / Internal to 5 i see the address i search for i will try on my real seed and back
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3528
Merit: 17829
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
July 13, 2022, 06:15:05 AM |
|
i will try on my real seed and back So: did it work?
|
| | Peach BTC bitcoin | │ | Buy and Sell Bitcoin P2P | │ | . .
▄▄███████▄▄ ▄██████████████▄ ▄███████████████████▄ ▄█████████████████████▄ ▄███████████████████████▄ █████████████████████████ █████████████████████████ █████████████████████████ ▀███████████████████████▀ ▀█████████████████████▀ ▀███████████████████▀ ▀███████████████▀ ▀▀███████▀▀
▀▀▀▀███████▀▀▀▀ | | EUROPE | AFRICA LATIN AMERICA | | | ▄▀▀▀ █ █ █ █ █ █ █ █ █ █ █ ▀▄▄▄ |
███████▄█ ███████▀ ██▄▄▄▄▄░▄▄▄▄▄ █████████████▀ ▐███████████▌ ▐███████████▌ █████████████▄ ██████████████ ███▀███▀▀███▀ | . Download on the App Store | ▀▀▀▄ █ █ █ █ █ █ █ █ █ █ █ ▄▄▄▀ | ▄▀▀▀ █ █ █ █ █ █ █ █ █ █ █ ▀▄▄▄ |
▄██▄ ██████▄ █████████▄ ████████████▄ ███████████████ ████████████▀ █████████▀ ██████▀ ▀██▀ | . GET IT ON Google Play | ▀▀▀▄ █ █ █ █ █ █ █ █ █ █ █ ▄▄▄▀ |
|
|
|
witcher_sense
Legendary
Offline
Activity: 2464
Merit: 4419
🔐BitcoinMessage.Tools🔑
|
|
July 13, 2022, 07:10:56 AM Last edit: July 13, 2022, 07:46:28 AM by witcher_sense |
|
It won't be that easy to find a derivation path your coins have gotten into because, like I said in my previous post, the error occurred because of incorrect use of quotation marks in PHP scripting language. Check your script once again: require_once('./HD.php');
$xpub = 'xpub......'; $path = $client_id.'/0'; $hd = new HD(); $hd->set_xpub($xpub); $address = $hd->address_from_master_pub($path);
$path is PHP variable that should be assigned with literalal string value put in double quotation marks ($path = ''$client_id/0'') Your variant $path = $client_id.'/0'; is also correct but works in a different way than expected. By putting quotation marks between $client_id. and /0, you are concatenating these strings and assigning the result to $path variable. I am not a programmer, so I have no idea what the result of all these manipulations and concatenations should be and how it can be applied to BIP44 derivation algorithm, but you can check the article where I get this information from: https://www.experts-exchange.com/articles/12241/Quotation-Marks-in-PHP.htmlWhen you want an assignment statement to mix literal strings with PHP variables, you must use double quotes. After this has been executed, the contents of $y is "Alphabet Soup for lunch." $x = 'Alphabet Soup'; $y = "$x for lunch"; But what if we had used single quotes? In the example below $y variable would contain "$x for lunch." When single quotes are used, no variable substitution is performed. $x = 'Alphabet Soup'; $y = '$x for lunch'; You can also use string concatenation, like this: $x = 'Alphabet Soup'; $y = $x . ' for lunch';
but I try everything m/44'/0'/0'/489'/0 m/44'/0'/0'/489'/0' m/44'/0'/0'/489/0 m/44'/489'/0' m/49'/0'/489' m/489 m/489/0
You didn't try m/44'/0'/0'/0/489, which implies inserting your seed phrase in whatever tools you are using to find addresses and looking for 490th address.
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18771
|
|
July 13, 2022, 08:39:01 AM |
|
-snip- In the example you gave, the xpub is generated is m/44'/0'/0'. Because of this, there is absolutely no point changing these numbers, since whatever your code is doing it is starting from this derivation path and deriving further. You should therefore always start with m/44'/0'/0'. The test mnemonic you gave generates the address you were looking for at m/44'/0'/0'/5/0. Based on this, your coins should be at m/44'/0'/0'/x/0, but you said you tried this and couldn't find anything? Are you sure the test mnemonic/xpub/address you gave above was generated with the exact same code as your real wallet?
|
|
|
|
tenant48
|
|
July 13, 2022, 08:40:05 AM |
|
i think i find my addresses When i use iancoleman and edit The External / Internal to 5 i see the address i search for
i will try on my real seed and back
I ran your test seed in the converter and also got the desired address: 1B4G662QFKQNsj3EwqP1PWi8HUUDHrVmn7 As I wrote above, your coins are located in the following ways: м/44'/0'/0'/526/0 м/44'/0'/0'/527/0 м/44'/0'/0'/528/0 ......
|
|
|
|
0xwork (OP)
Copper Member
Newbie
Offline
Activity: 12
Merit: 51
|
|
July 13, 2022, 09:53:07 PM |
|
Thanks for everyone try to help me. you are great i find my money i wish i can pay Everyone . t The screenshot makes it easier then, you can do this; 1. Go to electrum, in the derivation path, tick legacy and put m/clientid (m/489) underneath or 2. Use iancoleman.io/bip39 listed above(beware, using this may compromise your seed) put the seed in the mnemonic box and change the derivation path to bip32, select custom path and put m/client id (m/489). you are first one mentioned using my seed on iancoleman.io/bip39 and that works after i change the External / Internal Please give me btc address here i will send 50$ Each time you change the derivation path after the third level you will get a new xpub. This is why electrum is showing a different xpub. You can see it in action here: https://iancoleman.io/bip39/you also mentioned iancoleman.io/bip39 . Please give me btc address here i will send 25$ When using https://iancoleman.io/bip39/ with the seed words from your hardware wallet, taking your computer offline is not enough: it should never go online again! Get a Linux LIVE DVD, boot from it, don't give it internet access, close the curtains, copy IanColeman's site on a USB stick, don't give it access to any hard drives, run from RAM only, and play around with it until you have the private keys you need. Then turn off the PC and wipe it's memory. thanks for Security advance , that help me Please give me btc address here i will send 25$ BIP44 derivation path has five levels:
m / purpose' / coin_type' / account' / change / address_index
.....
thanks for trying hard to help me Please give me btc address here i will send 25$ Coins are found along the following derivation paths:
м/44'/0'/0'/526/0 м/44'/0'/0'/527/0 м/44'/0'/0'/528/0
you give me the right path , but not working in electrum , thanx Please give me btc address here i will send 25$
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3528
Merit: 17829
Thick-Skinned Gang Leader and Golden Feather 2021
|
i find my money Congrats! When using https://iancoleman.io/bip39/ with the seed words from your hardware wallet, taking your computer offline is not enough: it should never go online again! Get a Linux LIVE DVD, boot from it, don't give it internet access, close the curtains, copy IanColeman's site on a USB stick, don't give it access to any hard drives, run from RAM only, and play around with it until you have the private keys you need. Then turn off the PC and wipe it's memory. thanks for Security advance , that help me Please give me btc address here i will send 25$ You're welcome My addy is in my profile.
Does this mean you've now manually copied 500+ private keys using Ian Coleman's Mnemonic Code Converter? In that case, you may want to read how to Consolidate your small inputs without overpaying in fees. Consolidating 500 legacy inputs gives a 75,000 transaction, setting 1 sat/byte costs you 0.00075 BTC minimum, but if you don't pay attention to the fee your wallet may make you pay many times more.
Last suggestion: Don't consolidate 500 inputs in one transaction, and don't copy all your private keys to a hot wallet at once! Reduce the risk by sending small amounts at a time to your hardware wallet, or use offline signing.
|
| | Peach BTC bitcoin | │ | Buy and Sell Bitcoin P2P | │ | . .
▄▄███████▄▄ ▄██████████████▄ ▄███████████████████▄ ▄█████████████████████▄ ▄███████████████████████▄ █████████████████████████ █████████████████████████ █████████████████████████ ▀███████████████████████▀ ▀█████████████████████▀ ▀███████████████████▀ ▀███████████████▀ ▀▀███████▀▀
▀▀▀▀███████▀▀▀▀ | | EUROPE | AFRICA LATIN AMERICA | | | ▄▀▀▀ █ █ █ █ █ █ █ █ █ █ █ ▀▄▄▄ |
███████▄█ ███████▀ ██▄▄▄▄▄░▄▄▄▄▄ █████████████▀ ▐███████████▌ ▐███████████▌ █████████████▄ ██████████████ ███▀███▀▀███▀ | . Download on the App Store | ▀▀▀▄ █ █ █ █ █ █ █ █ █ █ █ ▄▄▄▀ | ▄▀▀▀ █ █ █ █ █ █ █ █ █ █ █ ▀▄▄▄ |
▄██▄ ██████▄ █████████▄ ████████████▄ ███████████████ ████████████▀ █████████▀ ██████▀ ▀██▀ | . GET IT ON Google Play | ▀▀▀▄ █ █ █ █ █ █ █ █ █ █ █ ▄▄▄▀ |
|
|
|
tenant48
|
|
July 14, 2022, 10:04:30 AM |
|
Thanks for everyone try to help me.$
Glad you got it all working. If you manage to create a full-fledged service with monitoring of incoming funds to addresses and their automatic enrollment to a database with users (such as I described above: https://www.blockchain.com/en/api/api_receive) but on a Trezor wallet, write here. BTC address is in my profile.
|
|
|
|
bitmover
Legendary
Offline
Activity: 2520
Merit: 6374
Wheel of Whales 🐳
|
|
July 14, 2022, 10:31:40 AM |
|
Each time you change the derivation path after the third level you will get a new xpub. This is why electrum is showing a different xpub. You can see it in action here: https://iancoleman.io/bip39/you also mentioned iancoleman.io/bip39 . Please give me btc address here i will send 25$ Thanks a lot. I am happy to help you. Here is my address bc1quh9elty2g3v6h5pg6kq987vcd7flv4kdg007kt I syrongly suggest that you use https://btcpayserver.org in your next payments. Good luck in your online store.
|
|
|
|
|