Bitcoin Forum
May 10, 2024, 01:28:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 »  All
  Print  
Author Topic: restoring and spending bitcoin  (Read 724 times)
markzenn11 (OP)
Full Member
***
Offline Offline

Activity: 422
Merit: 102


View Profile
December 26, 2019, 04:15:30 AM
 #1

how to restore my bitcoins and spending it? i imported everything like all keys needed to ubuntu linux json rpc bitcoin core 0.18.0.0.
after i did all of that, my bitcoins appeared after -getinfo command. how to spend my bitcoins like sending it to another bitcoin address? im using windows 10 pro 64bit.
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715347715
Hero Member
*
Offline Offline

Posts: 1715347715

View Profile Personal Message (Offline)

Ignore
1715347715
Reply with quote  #2

1715347715
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5594


Self-proclaimed Genius


View Profile
December 26, 2019, 05:13:34 AM
 #2

Just let Bitcoin-qt sync (speed depending on your hardware and ISP)
and after that, you can send your fund using the "send" tab.

Alternatively, you can import those private keys / extended private master key (xprv...) to Electrum.
Use 'Import Bitcoin addresses or private keys' for prv keys | 'Standard wallet-> Use a master key' if you have the extended key to create the wallet.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
December 26, 2019, 05:21:23 AM
 #3

there's a backup wallet option in the file menu of bitcoin qt. then you simply place the backup file in a directory of it's own on the other PC and when you run bitcoin qt for the first time there it'll ask you to set the location of the data dir so you point it to that directory. then wait for it to download and verify  the blockchain.
markzenn11 (OP)
Full Member
***
Offline Offline

Activity: 422
Merit: 102


View Profile
December 26, 2019, 05:25:49 AM
 #4

Just let Bitcoin-qt sync (speed depending on your hardware and ISP)
and after that, you can send your fund using the "send" tab.

Alternatively, you can import those private keys / extended private master key (xprv...) to Electrum.
Use 'Import Bitcoin addresses or private keys' for prv keys | 'Standard wallet-> Use a master key' if you have the extended key to create the wallet.
how to do it? do i have to download the files from the ubuntu linux  json rpc bitcoin core. and how to apply it to bitcoin core windows 64 wallet?
to remind you that the files came from the json rpc, i installed bitcoin core 0.18.0 there, after everything ive done, by -getinfo command. the balance appeared there in rpc. my question is how and what should i do to send the said bitcoins balance to another btc address like i will spend my btc? help me please.
bL4nkcode
Copper Member
Legendary
*
Offline Offline

Activity: 2142
Merit: 1305


Limited in number. Limitless in potential.


View Profile
December 26, 2019, 05:44:21 AM
 #5

Just let Bitcoin-qt sync (speed depending on your hardware and ISP)
and after that, you can send your fund using the "send" tab.
how to do it? do i have to download the files from the ubuntu linux  json rpc bitcoin core. and how to apply it to bitcoin core windows 64 wallet?
What he means is wait until your core completely sync and downloaded the whole bitcoin blockchain.

If you have your private keys besides the json rpc you can import it to updated electrum wallet (desktop or android) so you can spend your funds.
markzenn11 (OP)
Full Member
***
Offline Offline

Activity: 422
Merit: 102


View Profile
December 26, 2019, 06:16:25 AM
 #6

Just let Bitcoin-qt sync (speed depending on your hardware and ISP)
and after that, you can send your fund using the "send" tab.
how to do it? do i have to download the files from the ubuntu linux  json rpc bitcoin core. and how to apply it to bitcoin core windows 64 wallet?
What he means is wait until your core completely sync and downloaded the whole bitcoin blockchain.

If you have your private keys besides the json rpc you can import it to updated electrum wallet (desktop or android) so you can spend your funds.
Do i need to dumpwallet my latest keys in my rpc then import it all to latest updated electrum wallet?
Stedsm
Legendary
*
Offline Offline

Activity: 3052
Merit: 1273



View Profile
December 26, 2019, 07:38:59 AM
 #7

Do i need to dumpwallet my latest keys in my rpc then import it all to latest updated electrum wallet?

If dumpwallet does the job by exporting your private keys to you in a file, then yes, you just need to

Use 'Import Bitcoin addresses or private keys' for prv keys | 'Standard wallet-> Use a master key' if you have the extended key to create the wallet.

And you are done. All you need to do is wait for Electrum to sync as it will not download the whole Blockchain data on your PC and rather uses their server to gather the information while you can still do the transactions, almost immediately every time you open your wallet.

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
markzenn11 (OP)
Full Member
***
Offline Offline

Activity: 422
Merit: 102


View Profile
December 26, 2019, 08:18:16 AM
 #8

i will try every advice you all. i will post the result in the future if everything helps. it will take sometime. thanks to you all.
markzenn11 (OP)
Full Member
***
Offline Offline

Activity: 422
Merit: 102


View Profile
December 26, 2019, 12:31:20 PM
 #9

here's what i did. i backed up my ubuntu json rpc bitcoin core 0,18.0 wallet.dat and downloaded it using winscp to my windows 64 bit pc. i change the existing wallet.dat file of my bitcoin core windows 64 %appdata% folder in wallet with the one i downloaded from rpc. i then started bitcoin core 0.18.0 in my win10 64 pc using 'C:\Program Files\Bitcoin>bitcoin-qt.exe" -rescan,After the force rescan i input the passphrase and the system accepted it. and i also put gettxoutsetinfo and rescan it. my question is. After doing all these is there any possibilities that my balance won't show after rescan? rescan still in progress. what do you suggest if the btc balance still wont appear to my bitcoin core win10 x64 wallet. If so, please break everything down for me step by step so that i can do it properly. thank you
markzenn11 (OP)
Full Member
***
Offline Offline

Activity: 422
Merit: 102


View Profile
December 26, 2019, 12:51:17 PM
 #10

here's what i did. i backed up my ubuntu json rpc bitcoin core 0,18.0 wallet.dat and downloaded it using winscp to my windows 64 bit pc. i change the existing wallet.dat file of my bitcoin core windows 64 %appdata% folder in wallet with the one i downloaded from rpc. i then started bitcoin core 0.18.0 in my win10 64 pc using 'C:\Program Files\Bitcoin>bitcoin-qt.exe" -rescan,After the force rescan i input the passphrase and the system accepted it. and i also put gettxoutsetinfo and rescan it. my question is. After doing all these is there any possibilities that my balance won't show after rescan? rescan still in progress. what do you suggest if the btc balance still wont appear to my bitcoin core win10 x64 wallet. If so, please break everything down for me step by step so that i can do it properly. thank you

here's what my rpc looks like


and this what my bitcoin core wallet is doing right now
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5594


Self-proclaimed Genius


View Profile
December 26, 2019, 01:07:39 PM
Last edit: April 11, 2020, 08:14:15 AM by nc50lc
 #11

-snip- After doing all these is there any possibilities that my balance won't show after rescan? rescan still in progress. what do you suggest if the btc balance still wont appear to my bitcoin core win10 x64 wallet. If so, please break everything down for me step by step so that i can do it properly. thank you
If your W10 PC's Bitcoin Core isn't fully synced, there's a chance that the balance wont show.
But if it was synced, you can just proceed to send your Bitcoins after finishing rescan.
Based from your screenshot, it looks good and just a few blocks away.

If you want to useknow the "alternative" that I've mentioned above, it's about using dumpwallet command to get the "extended private master key" or private keys then import them to Electrum:
  • Start 'Bitcoin-qt' as administrator, then open 'window->console'
  • Enter dumpwallet keys.txt (you can change 'keys' into any name that you want)
  • Go to the installation directory of your Bitcoin core and find "keys.txt", open it and find the addresses' private keys, list of strings that start with 'K' or 'L'.
  • Download Electrum Windows Stand-alone Executable from electrum.org
|
  • -snip- (can't restore hardened derivation path using xprv dump to Electrum)
  • If your addresses starts with '3' or 'bc1', you'll need to import each prv keys to electrum using the option "Import Bitcoin addresses or private keys" by pasting each keys per line using:
    p2wpkh-p2sh:YOUR_Private_key if your addresses starts with '3'
    p2wpkh:YOUR_Private_key if your addresses starts with 'bc1'

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
markzenn11 (OP)
Full Member
***
Offline Offline

Activity: 422
Merit: 102


View Profile
December 26, 2019, 02:19:13 PM
 #12

-snip- After doing all these is there any possibilities that my balance won't show after rescan? rescan still in progress. what do you suggest if the btc balance still wont appear to my bitcoin core win10 x64 wallet. If so, please break everything down for me step by step so that i can do it properly. thank you
If your W10 PC's Bitcoin Core isn't fully synced, there's a chance that the balance wont show.
But if it was synced, you can just proceed to send your Bitcoins after finishing rescan.
Based from your screenshot, it looks good and just a few blocks away.

If you want to useknow the "alternative" that I've mentioned above, it's about using dumpwallet command to get the "extended private master key" or private keys then import them to Electrum:
  • Start 'Bitcoin-qt' as administrator, then open 'window->console'
  • Enter dumpwallet keys.txt (you can change 'keys' into any name that you want)
  • Go to the installation directory of your Bitcoin core and find "keys.txt", open it and find something like "# extended private masterkey: xprv****" or the addresses' private keys, list of strings that start with 'K' or 'L'.
  • Download Electrum Windows Stand-alone Executable from electrum.org
|
  • Now you have two options, if your addresses starts with '1', you can use the xprv: Open Electrum and create a new wallet using the option: "Standard wallet->Use a master key", paste your master private key and create the wallet.
  • If your addresses starts with '3' or 'bc1', you'll need to import each prv keys to electrum using the option "Import Bitcoin addresses or private keys" by pasting each keys per line using:
    p2wpkh-p2sh:YOUR_Private_key if your addresses starts with '3'
    p2wpkh:YOUR_Private_key if your addresses starts with 'bc1'

have you noticed that i did input the command rescanblockchan twice? i did rescan again. can i cancel the second rescan? is it safe to do that?
markzenn11 (OP)
Full Member
***
Offline Offline

Activity: 422
Merit: 102


View Profile
December 26, 2019, 03:06:45 PM
 #13

there's a backup wallet option in the file menu of bitcoin qt. then you simply place the backup file in a directory of it's own on the other PC and when you run bitcoin qt for the first time there it'll ask you to set the location of the data dir so you point it to that directory. then wait for it to download and verify  the blockchain.

i follow your instructions above but halfway through it, my internet connection  dropped. i carried my pc literally to another location and proceeded. is it ok to do that? does it affect to my wallet like seeds or whatever it is?
markzenn11 (OP)
Full Member
***
Offline Offline

Activity: 422
Merit: 102


View Profile
December 26, 2019, 03:18:41 PM
 #14

i will give one bitcoin to the method that will work. give me step by step instructions starting from my only files were in my ubuntu linux rpc with installed bitcoin core 0.18.0 running in VPS. what i need to know is how to transfer the bitcoins from that vps to my desktop pc win 10 x64 bitcoin core 0.18.0 wallet and spend it.
Btcspot
Jr. Member
*
Offline Offline

Activity: 191
Merit: 1


View Profile
December 26, 2019, 07:19:20 PM
 #15

 Hi mark i know a method that will help. Send me a message from here thanks.
2double0
Legendary
*
Offline Offline

Activity: 2618
Merit: 1105


View Profile
December 26, 2019, 08:00:46 PM
 #16

i will give one bitcoin to the method that will work. give me step by step instructions starting from my only files were in my ubuntu linux rpc with installed bitcoin core 0.18.0 running in VPS. what i need to know is how to transfer the bitcoins from that vps to my desktop pc win 10 x64 bitcoin core 0.18.0 wallet and spend it.

Copy your wallet.dat file from the directory in your VPS, save it on your cloud keeping it password protected or use a new service. You will have your coins in your PC after you replace your wallet.dat file with the one you will have in your PC after installing bitcoin core in it. Rescan after this, wait for the Blockchain to download completely and then you can spend your BTC by using the "Send" feature in the wallet.

Note: You can only see your spendable coins after the whole Blockchain 'till the block your coins were stored from, in your wallet', is downloaded.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
December 26, 2019, 08:57:44 PM
 #17

Using Bitcoin Core v0.19 on your Windows 10 machine, it should be as simple as:

1. Copy wallet.dat from VPS to Windows 10 Bitcoin Core datadir, but name it to something other than "wallet.dat"... eg. rename the copy to vps_wallet.dat
2. Run Bitcoin Core on your Windows 10 machine and let it fully sync.
3. Once fully synced, use "File -> Open Wallet -> vps_wallet.dat"

Bitcoin Core will then open and rescan the new wallet automatically. NOTE: it might take a looooong time for the rescan to finish.

Once finished, you should be able to see all the transactions/balance of vps_wallet.dat and be able to spend them (assuming that the vps_wallet.dat actually contains private keys)

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
markzenn11 (OP)
Full Member
***
Offline Offline

Activity: 422
Merit: 102


View Profile
December 27, 2019, 02:44:24 PM
 #18

Using Bitcoin Core v0.19 on your Windows 10 machine, it should be as simple as:

1. Copy wallet.dat from VPS to Windows 10 Bitcoin Core datadir, but name it to something other than "wallet.dat"... eg. rename the copy to vps_wallet.dat
2. Run Bitcoin Core on your Windows 10 machine and let it fully sync.
3. Once fully synced, use "File -> Open Wallet -> vps_wallet.dat"

Bitcoin Core will then open and rescan the new wallet automatically. NOTE: it might take a looooong time for the rescan to finish.

Once finished, you should be able to see all the transactions/balance of vps_wallet.dat and be able to spend them (assuming that the vps_wallet.dat actually contains private keys)

where should i put eg vps_wallet.dat file? in bitcoin core program files or in my bitcoin core files wallet folder?
markzenn11 (OP)
Full Member
***
Offline Offline

Activity: 422
Merit: 102


View Profile
December 27, 2019, 04:40:15 PM
 #19

can i send bitcoins via ubuntu linux rpc VPS directly to any bitcoin address? what should i put in my bitcoin conf in my vps rpc to be able to send bitcoins directly there if it's possible?
Btcspot
Jr. Member
*
Offline Offline

Activity: 191
Merit: 1


View Profile
December 27, 2019, 07:22:57 PM
 #20

 Hi, did you try my method. The location to put the wallet.dat file is C:/users/Your username/Appdata/Roaming/Bitcoin/wallets.  This is location for win.  Bitcoin's data folder will open. For most users, this is the following locations:

C:\Users\YourUserName\Appdata\Roaming\Bitcoin (Vista and win 8,10)
Pages: [1] 2 3 »  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!