Bitcoin Forum
May 04, 2024, 08:24:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 »  All
  Print  
Author Topic: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet  (Read 1802 times)
TheBeardedBaby
Legendary
*
Offline Offline

Activity: 2184
Merit: 3134


₿uy / $ell


View Profile
January 08, 2021, 12:49:47 AM
Merited by ABCbits (1)
 #41

I saved it on my desktop...not sure what you mean by "~"?
~ represents the home directory in Linux I guess it's the same in Mac too.
The location of the file should be in the same place where you are trying to execute it.
You should navigate to where the file is located and then execute the command.


Use ls to list what you have in the directory.

1714854248
Hero Member
*
Offline Offline

Posts: 1714854248

View Profile Personal Message (Offline)

Ignore
1714854248
Reply with quote  #2

1714854248
Report to moderator
1714854248
Hero Member
*
Offline Offline

Posts: 1714854248

View Profile Personal Message (Offline)

Ignore
1714854248
Reply with quote  #2

1714854248
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714854248
Hero Member
*
Offline Offline

Posts: 1714854248

View Profile Personal Message (Offline)

Ignore
1714854248
Reply with quote  #2

1714854248
Report to moderator
1714854248
Hero Member
*
Offline Offline

Posts: 1714854248

View Profile Personal Message (Offline)

Ignore
1714854248
Reply with quote  #2

1714854248
Report to moderator
1714854248
Hero Member
*
Offline Offline

Posts: 1714854248

View Profile Personal Message (Offline)

Ignore
1714854248
Reply with quote  #2

1714854248
Report to moderator
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 08, 2021, 01:10:09 AM
 #42

I saved it on my desktop...not sure what you mean by "~"?
~ represents the home directory in Linux I guess it's the same in Mac too.
The location of the file should be in the same place where you are trying to execute it.
You should navigate to where the file is located and then execute the command.


Use ls to list what you have in the directory.


Okay it worked! The private key is 52 characters and starts with cV and ends in gk


So now I should try to import it into Electrum?
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
January 08, 2021, 01:45:39 AM
 #43

Okay it worked! The private key is 52 characters and starts with cV and ends in gk

So now I should try to import it into Electrum?
That doesn't look like a Bitcoin private key... Bitcoin private keys (in WIF format) start with "5", "L" or "K".

I honestly think that your best chance of success is to get blockstack working and use that, as it would seem that it is using some sort of proprietary format or method of storing private keys. Huh Undecided

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 08, 2021, 02:03:00 AM
 #44

I managed to install it using cygwin, so on your linux machine it should work... Or on Windows... 
Remember that you will probably need packages libssl-devel (for cryptography/wheels) and python-devel.

Okay so I can install it on Windows, Debian, or Ubuntu....anyways so far I downloaded libssl-devel on Ubuntu using these instructions (https://zoomadmin.com/HowToInstall/UbuntuPackage/libssl-dev) but I'm not sure how to download python-devel?



Okay the above is my current status so far
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 08, 2021, 09:17:56 AM
 #45

I saved it on my desktop...not sure what you mean by "~"?
~ represents the home directory in Linux I guess it's the same in Mac too.
The location of the file should be in the same place where you are trying to execute it.
You should navigate to where the file is located and then execute the command.


Use ls to list what you have in the directory.


Okay it worked! The private key is 52 characters and starts with cV and ends in gk


So now I should try to import it into Electrum?

cV... means the key is for testnet.

Take a look: https://learnmeabitcoin.com/technical/wif
This same key creates different WIFs - and testnet flag (prefix = ef) causes WIF to starts with cV.
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 09, 2021, 12:09:09 AM
 #46

Okay it worked! The private key is 52 characters and starts with cV and ends in gk


So now I should try to import it into Electrum?

Have you changed the code as i mentioned?

If this part code is

Code:
extended = "ef" + privatekey + "01"

or

Code:
extended = "ef" + privatekey

then you're generating WIF for testnet network


Oh sorry I didn't change the second line. Anyways I just changed it now to "extended = "80" + privatekey" and I got a 51 character key but this one starts with 5K and ends in 4k
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
January 09, 2021, 12:26:36 AM
 #47

Oh sorry I didn't change the second line. Anyways I just changed it now to "extended = "80" + privatekey" and I got a 51 character key but this one starts with 5K and ends in 4k
Starting with a "5" seems like it is an "uncompressed" WIF private key... try importing it into Electrum and see what you get. It should generate an address that starts with a "1".

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 09, 2021, 12:33:59 AM
 #48

Oh sorry I didn't change the second line. Anyways I just changed it now to "extended = "80" + privatekey" and I got a 51 character key but this one starts with 5K and ends in 4k
Starting with a "5" seems like it is an "uncompressed" WIF private key... try importing it into Electrum and see what you get. It should generate an address that starts with a "1".

Okay under "create a new wallet" I chose "import bitcoin addresses or private keys"

then I pasted my private key and created the following address:

1L4aWTjsKJCwUN9aqUwtjDZvR1anXbvDNK


Although my balance says 0 though.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
January 09, 2021, 01:35:12 AM
 #49

Try using bitaddress.org (download and run offline)... click on "wallet details" tab, paste in the "5" WIF key and get the "compressed" WIF that starts with a "K" or "L"... then import that into Electrum, see if that shows your funds.

If it doesn't, then blockstacks was doing something "weird" in regardless to private keys etc... or that key isn't the one that holds your coins.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
math09183
Member
**
Offline Offline

Activity: 170
Merit: 58


View Profile
January 14, 2021, 01:33:50 PM
 #50

Any update?
Did OP open the wallet and forgot about his promise?
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 15, 2021, 05:16:31 AM
 #51

Any update?
Did OP open the wallet and forgot about his promise?


I was able to download Blockstack .18 on Ubuntu thanks to the instructions PawGo gave my via DM (thanks PawGo).

The wallet has 3 keys (data, payment, owner). But I only have a "master key". So I'm not sure if I need to download an even earlier version of Blockstack or if I need to extract the payment key from the master key somehow in version .18.

I emailed Blockstack support but they still haven't responded.


If I install an earlier version of Blockstack, I need to delete Blockstack .18 first right?
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6728


bitcoincleanup.com / bitmixlist.org


View Profile WWW
January 15, 2021, 09:02:27 AM
Last edit: January 15, 2021, 09:24:25 AM by NotATether
Merited by LoyceV (8), ABCbits (6), TheBeardedBaby (1), PawGo (1)
 #52

Any update?
Did OP open the wallet and forgot about his promise?


I was able to download Blockstack .18 on Ubuntu thanks to the instructions PawGo gave my via DM (thanks PawGo).

The wallet has 3 keys (data, payment, owner). But I only have a "master key". So I'm not sure if I need to download an even earlier version of Blockstack or if I need to extract the payment key from the master key somehow in version .18.

I emailed Blockstack support but they still haven't responded.


If I install an earlier version of Blockstack, I need to delete Blockstack .18 first right?

So, it looks like Blockstack has it's own private key format that is 64 to 66 characters long. Apparently, even the address types in Blockstack are different from bitcoin addresses but can be converted to and from them.

You should try using blockstack-client (it is a python binding of blockstack https://pypi.org/project/blockstack-client/, it's the one that makes a json file like the one you showed, when a wallet is created and pesters the user to export it to a file). It needs Python 2 to work.

1. Install Python 2
Code:
sudo apt install -y python2

2. Install pip for python 2 (yes we run this as root user)
Code:
sudo curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py
sudo python2 get-pip.py

2. Install blockstsck-client
Code:
pip2 install blockstack-client virtualchain==0.14.0

3. Save this wallet JSON you posted to a file, like wallet.json for example.
Code:
{
"master_private_key": "ef242kfjj24ekf3223jesdkhefsfhk324wuefhw38fhrypofhtr34d342132d34jsd49",
"wallet_password": “kljsef9832nkfssf”
}

4. Run
Code:
blockstack set_advanced_mode
and type "on" to access the inport_wallet command.

5. Run
Code:
blockstack import_wallet wallet.json
, it will import your wallet from wallet.json and display your addresses.

6. To get the private keys run
Code:
blockstack wallet

It will show you output like this:

Code:
Enter wallet password: PUT THE wallet_password HERE, IT IS NOT ENCRYPTED
------------------------------------------------------------
Payment address:        1HxJ767HSYyvPzHKBVP1JUHfefNzg53Hp6
Owner address:          1PcCxR81Y5BrrD4FnwoWuJ8tH7kURTe1nv
Data public key:        035d999986a0de6e61a20dfa2b92b22daf451303e7b34a4b34103c33d712cfc1fd
------------------------------------------------------------
Balance:
1HxJ767HSYyvPzHKBVP1JUHfefNzg53Hp6: 0.0
------------------------------------------------------------
Names Owned:
1PcCxR81Y5BrrD4FnwoWuJ8tH7kURTe1nv: []
------------------------------------------------------------
------------------------------------------------------------
Payment private key info: 5K2qrQ36ZiJRdViu8BJpnizVxkFEr2ZFzxycW6VL1NAbTD3GLXy
Owner private key info:   5JybVGERkbVCPNXSRnBBxkch68o2D39hrrYw4h8VXX8QEUsKjcQ
Data private key info:    L4Z7X5s1v5Tpt6CZZBfLzRVsZpEkJoRuxwRGpe4xD8C28hwjeXun
{
    "data_privkey": "dad7d349dff5637d20192396c6fa31f957c22e261c333aeb5ed5101751031afa01",
    "data_pubkey": "035d999986a0de6e61a20dfa2b92b22daf451303e7b34a4b34103c33d712cfc1fd",
    "owner_address": "1PcCxR81Y5BrrD4FnwoWuJ8tH7kURTe1nv",
    "owner_privkey": "5JybVGERkbVCPNXSRnBBxkch68o2D39hrrYw4h8VXX8QEUsKjcQ",
    "payment_address": "1HxJ767HSYyvPzHKBVP1JUHfefNzg53Hp6",
    "payment_privkey": "5K2qrQ36ZiJRdViu8BJpnizVxkFEr2ZFzxycW6VL1NAbTD3GLXy"
}

Note: this is data for a sample wallet I created using blockstack. Do not send any bitcoins to these addresses; you will lose your money.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 16, 2021, 07:50:02 PM
 #53

Quote
2. Install blockstsck-client
Code:
pip2 install blockstack-client virtualchain==0.14.0


I'm getting lots of errors when I run this command: https://ibb.co/rfVqcbn
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 16, 2021, 07:55:14 PM
 #54

Quote
2. Install blockstsck-client
Code:
pip2 install blockstack-client virtualchain==0.14.0


I'm getting lots of errors when I run this command: https://ibb.co/rfVqcbn

show us the bottom of error
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 16, 2021, 08:40:43 PM
 #55

Quote
2. Install blockstsck-client
Code:
pip2 install blockstack-client virtualchain==0.14.0


I'm getting lots of errors when I run this command: https://ibb.co/rfVqcbn

show us the bottom of error

https://ibb.co/ySLHP2y
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 16, 2021, 08:42:17 PM
Merited by LoyceV (1), ABCbits (1), NotATether (1)
 #56

Quote
2. Install blockstsck-client
Code:
pip2 install blockstack-client virtualchain==0.14.0


I'm getting lots of errors when I run this command: https://ibb.co/rfVqcbn

show us the bottom of error

https://ibb.co/ySLHP2y

Code:
apt-get install python-dev
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 16, 2021, 09:11:57 PM
 #57

Quote
4. Run
Code:
blockstack set_advanced_mode
and type "on" to access the inport_wallet command.

Ubuntu: https://ibb.co/w4wQrC7
Debian: https://ibb.co/VqzNr39
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6728


bitcoincleanup.com / bitmixlist.org


View Profile WWW
January 16, 2021, 11:37:49 PM
 #58

Quote
4. Run
Code:
blockstack set_advanced_mode
and type "on" to access the inport_wallet command.

Ubuntu: https://ibb.co/w4wQrC7
Debian: https://ibb.co/VqzNr39

Looks like it needs to create a config file. Can you post what happens if you run blockstack configure and press Enter through all the options it gives you to accept the defaults and make the configuration file?

Then try running 4., 5. and 6 again.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 17, 2021, 12:07:34 AM
 #59

Quote
4. Run
Code:
blockstack set_advanced_mode
and type "on" to access the inport_wallet command.

Ubuntu: https://ibb.co/w4wQrC7
Debian: https://ibb.co/VqzNr39

Looks like it needs to create a config file. Can you post what happens if you run blockstack configure and press Enter through all the options it gives you to accept the defaults and make the configuration file?

Then try running 4., 5. and 6 again.

Ubuntu: https://ibb.co/0D7fQJ4
Debian: https://ibb.co/YNhPz4h
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 17, 2021, 10:38:02 AM
 #60

Delete .blockstack folder if you have it inside your HOME.

Then again:
Code:
blockstack set_advanced_mode
-> on


Anyway: when I launch
Code:
 blockstack import_wallet wallet.json 

it asks me for
Code:
Payment private key ('payment_privkey'):
Name owner private key ('owner_privkey'):
optional: Data-signing private key ('data_privkey'):

Is it correct?
Pages: « 1 2 [3] 4 5 6 »  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!