Can you explain this to someone with no much knowledge to scripts and devs ? (I have 2fa wallet)
Sadly, no... The simplified process as it stands requires you to be able to: 1. Disable the 2FA features of your 2FA wallet (restore -> 2FA wallet -> enter seed -> select "disable" -> DO NOT SET a wallet password) 2. Extract the 2 xprvs from your now "unencrypted" wallet file with a text editor 3. Get the "redeem scripts" for all the "3" addresses that hold coins 4. Use coinb.in to "decode" the redeem scripts and identify the "1" addresses that have been used to generate your "3" addresses 5. Use your extracted xprv's on https://iancoleman.io/bip39/ to generate "1" addresses and matching private keys 6. Match generated "1" addresses from https://iancoleman.io/bip39/ to "1" addresses from "redeem script" decode 7. Manually create a raw transaction in BTG Core wallet 8. Sign the raw transaction with private keys found at https://iancoleman.io/bip39/9. Broadcast the signed transaction Steps 1-6, aren't that difficult... and can be done relatively easily... a lot of point and click and copy/paste etc... Not super technical, they are just pretty time consuming. Step 7 requires pretty indepth knowledge of how transactions are actually created and require some fairly low level Bitcoin fun... for reference: http://www.soroushjp.com/2014/12/20/bitcoin-multisig-the-hard-way-understanding-raw-multisignature-bitcoin-transactions/Unfortunately, that article kind of glosses over the "spending" part of the process and "cheats" by using the wallet code to do it... We don't have that luxury here... as we're dealing with this at the private key level... and there aren't any BTG compatible tools Step 8-9, aren't too difficult either... Additionally, this process will also require that you install BTG Core wallet and download the entire BTG blockchain. OR You can wait until someone puts out a BTG compatible version of Electrum.
|
|
|
Recently I found a wallet called “Pseudo Node” ( https://github.com/basil00/PseudoNode), which claims to be node that doesn’t download the block chain and instead relies on peers. As somebody who lacks the internet to run a full node ( but still would like the trustlessness of running one) this seems interesting; has anybody used this and if so, how has it worked? "relies on peers" and "trustlessness" Those two statements are mutually exclusive... However, unlike a normal full node, PseudoNode does not verify data (txs & blocks) itself. Rather, PseudoNode relies on neighboring peers (with configurable confidence levels) to do the verification on PseudoNode's behalf you CANNOT have a trustless setup if you are relying on peers to do all your verification Essentially, all you are doing is offloading all the heavy lifting to other peers and essentially trusting that they don't lie to you... Much like a lightweight SPV wallet does. If you don't have the internet for a full node, then you should just use an SPV wallet. This library is not the "trustless" Bitcoin system you are looking for.
|
|
|
Greetings guys, This is JJ. I have a question for you guys.. I am a programmer and want to create my own wallet for android. How can i create one ?. Any sdk's or any libs available ?.
You could take a look at something like the Bitcoinj library: https://bitcoinj.github.io/An example of an Android wallet that uses BitcoinJ: https://github.com/thinkmobiles/BitcoinJ-Wallet-Sample-AndroidNOTE: I have no idea if that wallet is even functional, it was just one result that google came back with from "BitcoinJ Android"
|
|
|
hi , can some of you people with more knowledge than me help me with a template for a btcrecover or a tokens-auto.txt file.
The only person that can really help create the tokens file is YOU. The whole point of this file is that it should contain fragments that were likely to have been used in the password. So, if you always used a password like: ThisIsMySecretPassword12345 But you're not sure if it had 12345, or 54321, or 67890 etc, but you're sure it had 5 numbers on the end... you would create a token file like: ThisIsMySecretPassword %5d This would try ALL combinations of "ThisIsMySecretPassword" + 5 digit numbers from 00000 to 99999 Honestly, the best resource for this is the btcrecover tutorial here: https://github.com/gurnec/btcrecover/blob/master/TUTORIAL.md#the-token-fileIt explains all the options with examples of how you put together a tokens file. If you're unsure of what your password was to begin with... and you're just attempting to bruteforce your password... you can probably just use a tokens file that consists of just %p... with however long you think your password was... ie. for a password of up to 10 characters: %1,10p Note that this will generate literally MILLIONS of passwords... and is the reason why you really need to have a relatively good idea of what your password was likely to be, so you can narrow it down using tokens.
|
|
|
the file is simply "Bitcoin Wallet backup" This sounds like the backup format used by Bitcoin Wallet on Android. If the wallet was originally created on a phone, install this wallet and import the backup. I concur... definitely looks like the backup file naming convention used by "Bitcoin Wallet for Android". If you don't have access to an Android phone, another option may be gurnec's decrypt_bitcoinj_seed utility ( https://github.com/gurnec/decrypt_bitcoinj_seed) It requires you to install Python2.7 and a couple of libraries, but it works pretty well... you'll also need to know the encryption password that was used when the backup was created... and possibly a "spending PIN" if one was set up (the script will prompt for it if required). If you have the correct password (and PIN if required), it'll find the 12 word seed for the wallet which you can then use to restore the wallet in the BIP39 compatible wallet of your choice.
|
|
|
@HCP how do you get all money from the first btc wallet if you have to pay fees. I'm baffled at satoshis and can never figure out how to get the exact amount. I imagine if theres any money in there it messes things up so I do I get say $120 out with fees so the wallet is empty?
In Electrum, goto the "Send" tab, enter the address you want to send to and then simply click the "max" button... After this, adjust the fee to your desired "fee" amount. When have clicked the "max" button... the amount that you're sending will automatically be adjusted when you adjust the fee amount. This should theoretically enable you to send a single transaction that will empty your wallet.
|
|
|
Yes, it would seem that maybe your Python install is not quite "complete"... if you try these commands, what output do you get? C:\Python27\Scripts\pip.exe install ecdsa
C:\Python27\Scripts\pip.exe install pyaes
C:\Python27\Scripts\pip.exe install pycrypto
If you don't get a message similar to "Requirement already satisfied: pyaes in c:\python27\lib\site-packages", then it is likely that the libraries were missing After we sort this out, you'll need to run the pywallet --recover command again... I'm interested to see what the actual output of the pywallet --recover is. It is quite possible that the password you provided for it to use was not the correct one and it was unable to actually decrypt the recovered key data.
|
|
|
I've done your method carefully but Electron Cash didn't open wallet. Just stay with previous "default_wallet". I tried to restore but pressing "next" button did nothing. What else can I do to take BCH from Electrum with 2FA?
I haven't such option (2FA), just 3 other options.
Sorry for the late reply... For some reason, I didn't get a notification that a new reply had been posted here. You don't want to create the 2FA in ElectronCash, you need to restore it in Electrum, (File -> New\Restore -> I suggest you give it a very easy to recognise name so it is easy to find! -> Select 2FA -> Enter Seed -> Select "DISABLE")... Once the 2FA wallet is successfully restored in Electrum, then you open the wallet file in ElectronCash ("File -> Open" -> find the Electrum wallet directory, most likely C:\Users\YOURUSERNAME\AppData\Roaming\Electrum\Wallets, and select the wallet file you created in Electrum). This SHOULD open the wallet file in ElectronCash and it should see all your BCH.
|
|
|
Hey - yes I have a 2FA wallet. I imported my private key to a new electrum wallet and now that private key is assigned a "1" address.. which doesn't display the amount of BTG I have available like my "3" address does.... since the private key is now assigned to a "1" address does this mean that I'll be able to recover the BTG since the private key is also associated with the 3 address or does this not work?
A 2FA wallet? Excellent, that makes things a little bit easier Like I said earlier... you cannot simply export a key from an Electrum MultiSig address (Electrum 2FA wallets are a fancy type of MultiSig)... it just doesn't work like that. - MultiSigs are made up of several keys (2FA's are made up of 3) - You need to get all the individual pieces (Electrum will only give you 1, by clicking "export private key"). This requires digging around in wallet files and using various tools to convert the redeem script into individual addresses and using xprvs to find the private keys for those individual addresses - Once you have all the pieces, you can use them to manually create a "raw" transaction. - You then sign the raw transaction using the individual pieces that you extracted and you can broadcast the message.
|
|
|
So what happends if I somewhere type in a wrong character, or dont type in a correct space?
If you type wrong characters in the command itself... like: waletpaassphrse 12345 1 You'll simply get a "Method not found" error. Nothing bad will happen. Also, the newer versions of Bitcoin Core actually have "text prediction" as you type, that shows a list of commands that start with the same letters and you can just select the one you want: If I, for example, should try with the password 12345, is it then correct that i type in the following (and after that hit enter): walletpassphrase 12345 1
Or is the last number (1) a command that tell me I shall hit enter?
The format for the command is: walletpassphrase "your-pass-phrase" number-of-seconds-to-keep-wallet-unlocked I simply chose "1" as the "number of seconds to keep the wallet unlocked" value, so that your wallet doesn't stay unlocked for extended periods of time But you can use any number you want really... So yes, for a password of 12345, you would use: walletpassphrase 12345 1 Note that if you passphrase has a space in it (and possibly "special" characters like !@#$%^&*() etc)... you should use " marks... like this: walletpassphrase "this is a passphrase that has spaces in it" 1
|
|
|
Do you have a copy of the script I could try on this wallet? There were no imported keys for this wallet.
You can try using this: https://pastebin.com/rEmF1F1rJust save it as a .pyw file and put it in the same location as the decrypt_bitcoinj_seed.pyw script... then double it and run it like you did with decrypt_bitcoinj_seed... After it completes, you should get a "parsed_wallet.txt" file generated in the same directory. If you open it, you should see all your encrypted keys etc: key { type: DETERMINISTIC_MNEMONIC creation_timestamp: 1510100577000 encrypted_data { initialisation_vector: "\033C\\\327\.......................4\372#" encrypted_private_key: "ib\313\365\...................0O\266*?\026" } encrypted_deterministic_seed { initialisation_vector: "lC\205\...........37\223" encrypted_private_key: ".Kd\3.............4p\307" } } key { type: DETERMINISTIC_KEY public_key: "\003^\0028$z..................................024z\006" creation_timestamp: 1510100577000 encrypted_data { initialisation_vector: "\3101..................................0\346" encrypted_private_key: "N;\227..................................40\307h" } deterministic_key { chain_code: "\236\016e..................................22K\304" } }
I'm guessing, you'll find some "Keys", that have a type that are NOT "DETERMINISTIC_KEY"s.... Also, right at the end of the file you should see the encryption type and parameter used which will be required if you want to attempt to decrypt the keys: encryption_type: ENCRYPTED_SCRYPT_AES encryption_parameters { salt: "\301..................25" n: 65536 }
|
|
|
I'm also struggling here. All my elctrum addresses start with 3 and therefore I am unable to import ANY BTC keys to BTG wallet. I have tried various different methods to no avail. Surely someone has a solution.
As I stated... There is no way to just "import keys"... Until someone creates a BTG compatible version of Electrum, You need to dig down into the MultiSig... extract multiple keys... create a manual transaction, sign it... and broadcast it. Is your wallet a 2FA wallet? or is it a MofN MultiSig?
|
|
|
Ok well now I'm totally confused, did I lose my BTG forever? Because --- I just imported my private key from my Mac which contained the "3" address and I imported the associated private key to my Dell PC Electrum wallet and created a new wallet through the standard set up and imported my private key.... now my private key that was on my Mac has a "1" address... but when I look up the "1" address the explorer doesn't return a result... but when I go back to view my "3" address I still see the BTG
Did I lose it forever since my new electrum wallet reassigned my private key to a "1" address?
No, you haven't lost it... the private key hasn't be "reassigned"... When you export a private key from Electrum for a "3" address... it doesn't get your ALL the private keys required to recreate that "3" address. Your wallet should say something like "2of3" or "2of2" or something like that in the title bar... The first number is the minimum number of signatures required to sign transactions... the 2nd number is the total number of private keys used to create the wallet. So if you have "2of3", the wallet was originally created by merging 3 keys together... but you only need any 2 of these to sign a transaction. Depending on how the wallet was actually made will determine how many private keys are actually stored in your copy of the wallet... and whether or not you need private keys from other wallets to "co-sign" your transaction. Do you remember how you setup the wallet? what xprvs, xpubs you used? or did you create a "two factor authentication" aka "2FA" wallet?
|
|
|
This ONLY works for people with "1" address's, not 3 --- is there any method to work for a 3 address?? Can I import my private key ("3") into a new electrum wallet that supports ("1") address's?
This is the problem... you have a "3" type address... also known as "Pay to Script Hash" or "P2SH". This type of address is typically used for "MultiSig" addresses which, as the name implies, requires multiple signatures from multiple private keys to be able to sign for messages. Due to this multi-key setup, they can often be difficult to port from one "chain" to another. Historically, they're also difficult to move from one wallet to another, as you can't just export a private key and then import/sweep that private key. Additionally, Electrum generates "3" type addresses for it's "Two Factor Authentication" or "2FA" wallets. Theoretically, it SHOULD be possible to recreate the MultiSig in Bitcoin Gold... but I suspect that at the moment, it would be a manual process and somewhat technical (ie. crafting raw transactions and signing them manually).
|
|
|
You'll probably want to take a look here: https://btcarmory.com/docs/pathingAnd then create an ArmoryQT.conf and/or an armorydb.conf file containing the custom paths The ArmoryQT.conf file should live in your "Armory home Dir"... aka C:\Users\YOURUSERNAME\AppData\Roaming\Armory
|
|
|
Just a heads up... Ledger are running a 21% discount promotion for Black Friday on the Ledger Nano S: Celebrating Bitcoin Black Friday with 21% OFF all Nano S orders. Immediate shipping from Europe, USA and Hong Kong.
Meanwhile, over at Trezor... they're have a 3for2 deal... Pay for 2 Trezors... get a third for free!: TREZOR 3for2 (3 pcs) €178
€267 Black Friday Special Deal: 3 for 2!
And Digital Bitbox has a 20% off sale: Black Friday to Cyber Monday DIGITAL BITBOX
€54 ON SALE! €43
And finally, KeepKey seem to be running a $10 off "sale"... Not sure if it is Black Friday related tho... https://keepkey.myshopify.com/collections/frontpage/products/keepkey-the-simple-bitcoin-hardware-walletIf you've been considering buying a Hardware Wallet... this could be the weekend to do it!
|
|
|
This would not have worked correctly... Electrum seeds ARE NOT BIP39 compatible, with generally means that Electrum seeds ARE NOT COMPATIBLE with any other known wallet... Is there any way that i can claim this BTG? Yes, but it will need to be done manually... In your Electrum wallet, you need to go to your "Addresses" tab and look at ALL the addresses... receive and change... "used" and unused. What you want to look for is all the addresses that you can find that has a non-zero "Tx" value... A non-zero "Tx" value means that the address MUST have received coins at some point: Export the private key for EVERY address that has a non-zero TX value. Some of them may not have any BTG (as they might have been empty at the time of the fork), but if you export all of them, you're won't miss any coins Don't forget to look through all your "change" as well as "receive" addresses... including both "used" and "unused". Then you simply import all the private keys into the BTG wallet of your choice... and your BTG should show up
|
|
|
Did you attempt to claim BitcoinGold at all using myBTGWallet.com or "Electron Gold"? It has been proven that both of these "walelts" were are scams and have been leaking private keys/seeds and coins have been stolen.
|
|
|
... So now its today, 11/22/17 and i figure out i want to go ahead and import my private keys into Electrum. I opened a new wallet, I find online how to extract them using an offline tool. I had to do this because Multibit HD uses Bip32, Electrum uses Bip39....
This is where you went wrong. You did NOT have to use the offline tool. You can import your MultiBitHD wallet directly into Electrum using your 12 word mnemonic phrase... File -> New\Restore -> I already have a seed -> Enter MultiBitHD seed, click options, select BIP39 -> set the derivation path as m/0' Watch this: https://www.youtube.com/watch?v=E-KcY6KUVnYI suspect the reason your current balance is off, is that you failed to export your "change address" private keys. Did you set the "offline" tool to use an "External/Internal" value of 1 to generate "change address" private keys? This for "receive" addresses: This for "change" addresses:
|
|
|
|