Bitcoin Forum
June 19, 2024, 06:48:39 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 [132] 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 ... 309 »
2621  Bitcoin / Electrum / Re: derivation path Electrum on: September 20, 2021, 05:38:11 AM
-snip- Maybe you know how to do it in Java in this case?
Try to incorporate Electrum's derivation path to the code that you're probably using (This code?: /index.php?topic=5360581.msg57965406#msg57965406).
I'm not a Java programmer but based from what I understand, these few edits should derive the correct keys/addresses of Electrum's P2WPKH:

From:
How can I integrate m / 84 '/ 0' / 0 '/ 0/0 into my code? I just need to get the first 5 addresses. I looked at your program, but there is a whole class forming a complex configuration. Too difficult for a beginner. How can I just hardcode the derivation path into my method?
Code:
-snip-
        DeterministicKey deterministicKey = createMasterPrivateKey(seed, createHmacSha512Digest());
        deterministicKey = HDKeyDerivation.deriveChildKey(deterministicKey, new ChildNumber(84, true));
        deterministicKey = HDKeyDerivation.deriveChildKey(deterministicKey, new ChildNumber(0, true));
        deterministicKey = HDKeyDerivation.deriveChildKey(deterministicKey, new ChildNumber(0, true));
        deterministicKey = HDKeyDerivation.deriveChildKey(deterministicKey, new ChildNumber(0, false));
        for (int i = 0; i <= 5; i++) {
            System.out.println(Address.fromKey(MainNetParams.get(), HDKeyDerivation.deriveChildKey(deterministicKey, new ChildNumber(i, false)), Script.ScriptType.P2WPKH));
        }
-snip-
Into:
Code:
-snip-
        DeterministicKey deterministicKey = createMasterPrivateKey(seed, createHmacSha512Digest());
        deterministicKey = HDKeyDerivation.deriveChildKey(deterministicKey, new ChildNumber(0, true));
        deterministicKey = HDKeyDerivation.deriveChildKey(deterministicKey, new ChildNumber(0, false));
        for (int i = 0; i <= 5; i++) {
            System.out.println(Address.fromKey(MainNetParams.get(), HDKeyDerivation.deriveChildKey(deterministicKey, new ChildNumber(i, false)), Script.ScriptType.P2WPKH));
        }
-snip-
The path in the code is m/0'/0 (from m/84'/0'/0'/0), the extra child key is for the 'external chain' (receiving addresses), change to '1' for internal (change addresses).

But then again, I'm not a Java programmer so the part that I've edited could be wrong   :-\


For the derivation path,
You can actually directly see it in the wallet menu (Wallet->Information):
Refer to these images:
P2WPKH (Native Segwit): m/0'
|
P2PKH (Legacy): m
2622  Alternate cryptocurrencies / Mining (Altcoins) / Re: Gaining access to my alt coins I mined once on: September 19, 2021, 09:51:57 AM
-snip-
Don't have wallet.dat for any, just passphrase, seed etc.
Those with a seed I think you can recover that with the seed,for example Electrum and Exodus use a 12 word seed as a recovery option and Electrum goes even further if I remember correctly that it can also support other seeds as long as they are BIP39 compatible but it is a long time since I don't use it daily so I don't remember correctly.Go to this section to read more about Electrum.

https://bitcointalk.org/index.php?board=98.0
-snip-
For Electrum, it's not necessary, Electrum neither supports any of the coins mentioned by the OP.
There's a fork for BTCP but it's abandoned and there's no active server to connect to.
2623  Bitcoin / Bitcoin Technical Support / Re: bitcoin core wallet backup and wallet.dat file question. how to confirm? on: September 18, 2021, 04:41:27 AM
alright. so i found the wallets folder that has folders for both wallets i created. i can open each folder and now locate each "wallet.dat" file for each individual wallet. couple more questions

1) is there any reason i shouldn't just copy the entire "wallets" folder and save it to a few flash drives and burn it to a dvd, instead of ONLY the "wallet.dat" files themselves?
You can do that but only if Bitcoin Core isn't running or your backup could be corrupted (with low chance).

Quote from: fasttimes
2) for each "wallet.dat" file, i can change the name in front of ".dat" and it won't affect the file, but i would need to change it back to "wallet.dat" when try to restore, correct?
If you did the above, and each wallets are inside a folder with a 'wallet name', then you don't have to rename them in the first place, the wallet name is that folder's name.
If you rename the wallet.dat inside it, the folder wont work as a wallet and you won't be able to select it in "Open Wallet" menu.

Otherwise, you can rename the wallet.dat files and put them inside "wallets" folder (but outside of any folders inside)
and it will be available for selection in the "Open Wallet" menu even if they have a different name (your "wallet_name.dat" backups from "File->Backup Wallet" for example).
2624  Bitcoin / Bitcoin Technical Support / Re: Help with wallet.dat from 2013. on: September 17, 2021, 03:53:04 AM
On the pop up window it shows the following.



It has been like this forever, do i have any options left?
It could mean that the transaction is invalid or just dropped from mempools.
Since your node is synced, that transaction must have been marked from "Unknown" to "Unconfirmed: not in mempool" after scanning the blockchain.
Note: "Not in mempool" mean that the transaction is neither in your node's mempool nor in the Blockchain.

You can use testmempoolaccept command to see if you can still send it to the nodes, follow this:
  • In the transactions tab, right click on that transaction, then select "Copy raw transaction"
  • Open Bitcoin core's console, "Window->Console" and type (including the single/double quotation marks):
    testmempoolaccept '["PASTE_THE_COPIED_RAW_TXN_HERE"]'
  • If it says "allowed": true,, then it can still be mined if you "broadcast" it and since it's an inbound txn, you'll receive the amount after some confirmations.
    I recommend you to broadcast it only after retrieving the password.

For the password, I can't help you with that.
2625  Bitcoin / Bitcoin Technical Support / Re: bitcoin core wallet backup and wallet.dat file question. how to confirm? on: September 17, 2021, 03:25:31 AM
one last question that is a bit different. the only way to have one private key/public key pair for a particular wallet is to only have a single receive address, correct? i plan to set up a temporary wallet and then a hodl wallet for long term saving. for the hodl wallet, only having one address and one public/private key pair would be ok and simpler to keep track of if my short and medium term plan is to only fill the wallet and not spend, yes?
Will the funds be coming from a single source?
If yes, then I think it's fine to use a single address for the "hodl wallet", eg. ExchangeA -> hodl wallet's address;
but not if it's coming from multiple sources like your "temporary wallet" and exhanges, because you might end up linking those sources to each other and to your hodl wallet.

how often is it recommended to make a new back up copy of the wallet.dat file?
If says "HD" at the lower-right (says "HD key generation is enabled" when hovered), your current backup is enough to restore the newly derived addresses.
But if you want to keep the labels updated, update your backup as well.
2626  Bitcoin / Bitcoin Technical Support / Re: Cannot recover electrum wallet with 12 seed electrum phrase on: September 16, 2021, 07:40:09 AM
-snip- and put it in rice ... yeah I know.
Oh no, that's our *Secret Asian Technique* to keep the moisture at bay :D

But I believe he already contacted someone (hopefully a trusted professional) to recover the drive as a response to LoyceV's suggestion.
2627  Bitcoin / Electrum / Re: will electrum wallet be backward compatible in near future ? on: September 16, 2021, 07:11:12 AM
-snip-
so lets say today i create a wallet using electrum and safely store the "seed phrase", and lets say after 15 years if i reinstall the then latest eletrum and create new wallet using my current seed phrase, i will be able to access my coins.
It's hard to give a safe answer to that since 15 years is too long to speculate, but:
So far, Electrum is doing a great job with its "backwards compatibility" after these years.
Versions before the new seed version system (Electrum <2.0 - older than Oct 2015~2012) can still be imported to today's latest version (v4.1.5) and can restore exactly the same wallet.
With exception to the oldest releases (v0.34 & older) with patched bugs and changes in the key derivation system.
2628  Bitcoin / Bitcoin Technical Support / Re: bitcoin core wallet backup and wallet.dat file question. how to confirm? on: September 16, 2021, 03:46:32 AM
Quote from: fasttimes
4) my understanding is that if the BTC core wallet has "HD" in the bottom right, i don't need to dump the private keys, as the backup/wallet.dat file will have all that info. is this correct or do i need to make a physical backup of every private key as well.
Yes, the backup of the wallet files are enough but make sure that the backups are made after you've encrypted the wallet files.
That's because it'll generate a new "hdseed" after encrypting the wallet, making the old backups obsolete.

2) I have actually created a backup file already, but the backup file that is created does not seem be a .dat file. when i save it to a USB stick or DVR and look at the file on a windows computer the file type says "21 file". is that correct or is the back up more than just the .dat which would be contained in the overall backup file?
Windows has an option to hide/show the file extension but since it says "Type: 21 file", it means that the extension isn't ".dat" which shouldn't be the case with "File->Backup Wallet".
You can display the extension in Windows in the 'file explorer' menu "View->File Name Extensions".

however, i suppose that is how i need to do it to make absolutely sure i have the right file/files. If i have two wallets created/set up, will each wallet have its own wallet.dat file? if so, how do i tell them apart? sorry, i know these are likely very basic questions.
Yes, 1 wallet = 1 backup with ".dat" extension.
You can set a name when you use "File->Backup wallet" but make sure that the correct wallet is selected in the "Wallet:" drop-down menu at the right,
you can also set a wallet name during wallet creation (in the later versions). IMO, naming those differently is enough to tell them apart from each other.
2629  Bitcoin / Bitcoin Technical Support / Re: Cannot recover electrum wallet with 12 seed electrum phrase on: September 15, 2021, 05:56:32 AM
When I create a new wallet using the seed phrase using BIP39 the wallet just comes up empty Cry
How about the other two options?

If all are empty, then there's really an error in your backup.
Recovering the wallet file from the laptop is your best option which has a great chance, as long as the "tea" hadn't penetrated the HDD/SSD.
2630  Bitcoin / Bitcoin Technical Support / Re: Cannot recover electrum wallet with 12 seed electrum phrase on: September 15, 2021, 05:34:42 AM
I don't currently have access to the old file, it was just on the laptop that got tea spilled on it! I can try and get it recovered... but it doesn't look good. The situation seems hopeless though... is there anyway of contacting Electrum for help with this?... I mean their website just brings me to this forum anyways.
Electrum developers wont be able to "directly" help you in recovering your seed phrase since it isn't stored to any server.
You'll likely get the same advice as these.

Have you tried to restore the seed phrase with BIP39 option enabled? That will enable you to click "next", then select one of the options (start with the middle).
Users usually use that to create Electrum wallet with P2WPKH-P2SH (P2SH-SegWit) addresses.
2631  Bitcoin / Bitcoin Technical Support / Re: Cannot recover electrum wallet with 12 seed electrum phrase on: September 15, 2021, 04:39:27 AM
It will only be unclickable if the seed isn't correct.
Try to replace some words with similar ones from the wordlist that could be mistyped when recording the backup. Some of them are similar.
An easy way to do this is to type the first three characters of the word during the restore process in Electrum and check the possible words from the selection.

You can also try to restore it with "BIP39 seed" enabled in the option and make three different wallets, each with one of the three available derivation paths.
2632  Bitcoin / Electrum / Re: Using Ledger on Electrum - "the sign path is unusual" on: September 15, 2021, 03:14:49 AM
After doing a ton of research to really understand what was happening, -snip-
You can add these links to your research, the latter may be the answer to the former:

2633  Bitcoin / Electrum / Re: Not able to private keys into Electrum on: September 15, 2021, 02:57:31 AM
-snip- Do you know if Electrum ONLY accepts MASTER private keys (instead of only private keys) right now?
It depends on the type of Electrum wallet where you're importing private keys.
If you're importing to an existing wallet, you'll only be able to import to an "[Imported]" wallet, any other wallet will only have "sweep".

If into a new wallet, the "import bitcoin addresses or private keys" option in the new wallet wizard should work for private keys.
2634  Other / Beginners & Help / Re: How to sign a message?! on: September 14, 2021, 05:41:09 AM
-snip- I want to remove 2FA code and the staff told me come here to sign message. But I don’t now how to do
The instructions are in the first page - first post.
If your wallet is not in the list, try to find a similar feature in your wallet, usually, it's named as "sign message".

If there's none, you can import the private key of the address to one of the wallets in the OP with "sign message" and "import private key" feature.
Then sign a message using it.
2635  Bitcoin / Development & Technical Discussion / Re: It is wrong to say that new BTC are created in mining? on: September 14, 2021, 01:54:44 AM
Hello all
Is it a mistake to say that BTC mining generates new coins? -snip-
Don't think of bitcoins as "coins". They're not, they're the results of inputs and outputs. The bitcoins you see in your wallet are the unspent outputs of previous inputs. Mined coins are truly new. They have no inputs.
On the contrary, some clients are referring "Unspent Transaction Outputs" as "Coins".
Example: Electrum has the wallet's available UTXO in the GUI displayed as "Coins" tab (View->Show Coins).

I think it's fine as a non-technical term for UTXO.
2636  Bitcoin / Development & Technical Discussion / Re: Bitcoin bounty 0.5 btc challenge on: September 13, 2021, 03:26:19 PM
private: fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141 0x3f17f1962B36e491b30A40b2405849e597Ba5FB5
private: fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142 0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf
private: fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364143 0x2B5AD5c4795c026514f8317c7a215E218DcCD6cF
private: fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036414f https://www.blockchain.com/ru/eth/address/0x5A83529ff76Ac5723A87008c4D9B436AD4CA7d28
I don't know if you're being sarcastic to the OP because it's related... so sorry in advance if yes:

Your keys are also outside of the curve, three out of four in your list are spent because those are within the first valid private keys from 0x01 which can easily be "hacked":
  • 0000000000000000000000000000000000000000000000000000000000000000 - 0x3f17f1962B36e491b30A40b2405849e597Ba5FB5 (unspent - invalid prvKey)
  • 0000000000000000000000000000000000000000000000000000000000000001 - 0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf (spent)
  • 0000000000000000000000000000000000000000000000000000000000000002 - 0x2B5AD5c4795c026514f8317c7a215E218DcCD6cF (spent)
  • 000000000000000000000000000000000000000000000000000000000000000e - 0x5A83529ff76Ac5723A87008c4D9B436AD4CA7d28 (spent)

All but 0x3f17f1962B36e491b30A40b2405849e597Ba5FB5 have a valid prvKey so those are spent.
2637  Bitcoin / Electrum / Re: Electrum Lightning Network walkthrough on: September 12, 2021, 03:24:53 AM
What has happened with the swap feature? My channel's capacity has 0.049 tBTC, but I cannot receive anything. I'm trying to swap the lightning funds with on-chain funds to increase my receiving capacity, but it only allows me up to 0.002.
-snip-
Is this a bug? Is there any other way I can increase my receiving capacity in Electrum?
I think it's because the swap service provider (swap server) can only accept 0.002tBTC per swap:
BTW, Boltz have a testnet swap but unfortunately, I haven't successfully sent lightning tBTC to it yet using channel connected to "endurance" (Electrum 'trampoline' channel for testnet).
2638  Bitcoin / Bitcoin Technical Support / Re: Problem with bitcoin core wallet on: September 12, 2021, 02:50:42 AM
No ,I don't remember the password ,and I didn't make back up file
By the way, I have access to my wallet ,I have forgotten withdraw password,isn't bruteforce for the wallet password??
With that, even Dave wont accept the job;
You can try to bruteforce it yourself but I'll tell you that the odds of getting the correct password with random/sequential characters is extremely low even if you have a super computer.
It's important that you at least know some possible words/characters in the password.

Important Note: please do not entertain any PMs that offering "help" who'll ask for your wallet.dat file, there are lots of scammers doing that.
Stop buying wallet.dat files!
2639  Bitcoin / Bitcoin Discussion / Re: My hardware store now accepts Bitcoin! on: September 12, 2021, 02:40:26 AM
-snip-
How did you implemented "lightning network" in your store by the way?
Congratulations on getting your customers to use Bitcoin. People love to merit such posts but pictures of the said LN PoS would be great. Because God, that is pretty damn fast. Where is your store located exactly?
-snip-
Uhhhh... Why are you asking me?
OP haven't responded with detailed information in any of his topics (I take it with a grain of salt), that's why I asked.

BTW, not only the speed, he's accepting Lightning Funds so, his channels should have enormous amount of inbound capacity which isn't easy to accomplish.
If he responded, an answer that "connects" will clear any qualms about his story.
2640  Bitcoin / Bitcoin Technical Support / Re: Problem with bitcoin core wallet on: September 11, 2021, 01:23:35 PM
Do you have any idea of what the password might be?
If no, forget it, it's not possible to "bruteforce" it with random characters or words unless it only consists of very small number of characters.

If yes, and you don't have the resources to bruteforce like GPU or a fast CPU,
you should consider contacting Dave:
Pages: « 1 ... 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 [132] 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 ... 309 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!