Bitcoin Forum
April 25, 2024, 09:16:07 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)
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 03, 2021, 02:56:16 PM
Last edit: January 03, 2021, 04:57:19 PM by 21XO
Merited by LoyceV (4), ABCbits (3)
 #1

Here is the wallet version I need:

https://pypi.org/project/blockstack/0.18.0.10/



I have the private key but I'm not very technical and am not able to download it to my computer.

My private key looks like the following (I changed some characters of course):
"master_private_key": "ef242kfjj24ekf3223jesdkhefsfhk324wuefhw38fhrypofhtr34d342132d34jsd49",
"wallet_password": “kljsef9832nkfssf”



Here are GitHub instructions for a newer Blockstack version but I need to download the older one (0.18.0.10):

https://github.com/blockstack/cli-blockstack
1714079767
Hero Member
*
Offline Offline

Posts: 1714079767

View Profile Personal Message (Offline)

Ignore
1714079767
Reply with quote  #2

1714079767
Report to moderator
1714079767
Hero Member
*
Offline Offline

Posts: 1714079767

View Profile Personal Message (Offline)

Ignore
1714079767
Reply with quote  #2

1714079767
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 03, 2021, 04:14:10 PM
Merited by LoyceV (4), ABCbits (2), ranochigo (1)
 #2

Do you have python installed on your computer?

https://www.python.org/downloads/
Pip?

https://phoenixnap.com/kb/install-pip-windows

then to command
Code:
pip install blockstack==0.18.0.10
should work.

The other way is to download files:
https://pypi.org/project/blockstack/0.18.0.10/#files

and then install from the downloaded package:
pip install ./downloaded/blockstack-0.18.0.10.tar.gz
like described here: https://packaging.python.org/tutorials/installing-packages/
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 03, 2021, 04:55:50 PM
 #3

Yes I do and I got an error message...If you're able to download the wallet on your computer, I can then pay you to help me download it on my computer over Zoom, etc.

I have Mac and Parallels (Windows, and Ubuntu) so can download it to any OS.


FYI my private key starts with "ef" so not sure if that means anything? Maybe I can also extract it from an old Electrum wallet also...?


ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4163


View Profile
January 03, 2021, 05:17:02 PM
Merited by OgNasty (1)
 #4

Yes I do and I got an error message...If you're able to download the wallet on your computer, I can then pay you to help me download it on my computer over Zoom, etc.

I have Mac and Parallels (Windows, and Ubuntu) so can download it to any OS.


I'm not particularly familiar with that seed format, but Electrum shouldn't accept it. It'll accept MPK that starts with xpriv.

FYI my private key starts with "ef" so not sure if that means anything? Maybe I can also extract it from an old Electrum wallet also...?



Please do not give anyone control of your computer, no matter how trusted they seem. If something happens to the wallet or your computer, it's your words against theirs. And for that matter, your wallet file as well.

What error message are you getting? Let us know.

Electrum accepts MPKs with the prefix of xpriv only so you likely cannot import it there.


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

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

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

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

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

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











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











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

Activity: 57
Merit: 29


View Profile
January 03, 2021, 05:24:01 PM
 #5

Here is the error message:
https://ibb.co/qrBRrmp


Also is anyone familiar with the private key? Maybe it can be imported into another wallet...it's 66 characters and starts with "ef". I think it is also encrypted but I have the password to decrypt it.
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 03, 2021, 05:26:27 PM
 #6

check if you are using python3. Probably 2.
Maybe you must install python 3 or launch using command
Code:
python3
and/or
Code:
pip3


Edit:
ah, yes, you are using python 2.7
Try with 3.x
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 03, 2021, 05:30:52 PM
 #7

Yes I tried that, also didn't work.

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

Activity: 952
Merit: 1367


View Profile
January 03, 2021, 05:40:36 PM
Last edit: January 03, 2021, 07:59:06 PM by PawGo
 #8

Yes I tried that, also didn't work.

https://ibb.co/KmyV8rv

ah, weird
Some people used that workaround: https://github.com/OneDrive/onedrive-sdk-python/issues/167

At least you know you must use python 3.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
January 03, 2021, 07:53:31 PM
 #9

At least you know you must use python 3.

Blockstack v 0.18 only works with python 2. It is incompatible with python 3.



Yes I tried that, also didn't work.

https://ibb.co/KmyV8rv

Somehow the onedrivesdk pip package is broken.
As mentioned in the above posted github, use:
Code:
pip2 install https://github.com/OneDrive/onedrive-sdk-python/archive/master.zip

PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 03, 2021, 08:02:08 PM
Last edit: January 03, 2021, 09:40:00 PM by PawGo
 #10

At least you know you must use python 3.

Blockstack v 0.18 only works with python 2. It is incompatible with python 3.


Mea culpa, I did not know - I just took a look at python output.


I just thought that if blockstack requires python2 and dependency migrated to python3, using master from git will not work, it will be needed to find the last correct version for python2.
But let he first try to install from master...
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 04, 2021, 11:57:20 AM
Merited by ABCbits (2)
 #11


1. According to https://learnmeabitcoin.com/technical/wif, ef is tesnet prefix which used when you create WIF from private key in HEX format. Do you open correct file / see correct line ?


Information if it is testnet or not is not included in private key itself. Only in prefix which is used to generate WIF.

Quote

2. Looking at https://docs.blockstack.org/understand-stacks/accounts, especially example of their private key when generating account also 66 characters. Although i don't know why their example use prefix 03 (maybe it's standard for Stacks 2.0 network)

npx -q stacks-gen sk --testnet

{
  "phrase": "guide air pet hat friend anchor harvest dog depart matter deny awkward sign almost speak short dragon rare private fame depart elevator snake chef",
  "private": "0351764dc07ee1ad038ff49c0e020799f0a350dd0769017ea09460e150a6401901",
  "public": "022d82baea2d041ac281bebafab11571f45db4f163a9e3f8640b1c804a4ac6f662",
  "stacks": "ST16JQQNQXVNGR8RZ1D52TMH5MFHTXVPHRV6YE19C",
  "stacking": "{ hashbytes: 0x4d2bdeb7eeeb0c231f0b4a2d5225a3e3aeeed1c6, version: 0x00 }",
  "btc": "mnYzsxxW271GkmyMnRfiopEkaEpeqLtDy8",
  "wif": "cMh9kwaCEttgTQYkyMUYQVbdm5ZarZdBHErcq7mXUChXXCo7CFEh"
}


In this example the private key is 0351764dc07ee1ad038ff49c0e020799f0a350dd0769017ea09460e150a64019. 01 at the end is a flag to indicate to use compressed address.
Because the program was launched with --testnet the generated WIF is "cMh9"... - which is created by adding "ef" at the beginning.
This same private key (with compressed flag) for the real network will produce WIF KwLAJ2aLoqCRHy5VawfR3B6a8rGBC7XVDCi9ihK1y63XGTgP3VbR
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 04, 2021, 12:20:53 PM
 #12


Since the private key length is 66 character (rather than 64 character), know ef used as prefix which is used to generate WIF from private key in HEX format and example by OP doesn't end with 01, i simply assume ef is the identifier whether the private key meant for testnet wallet/network and 03 as custom prefix.

Thanks for the correction.

He said his key is like "ef242kfjj24ekf3223jesdkhefsfhk324wuefhw38fhrypofhtr34d342132d34jsd49", which is encoded form.
it does not look like hex which could be easily converted into WIF, so I would not worry about it as long as we do not know what is decoded hex form.
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 04, 2021, 04:45:33 PM
 #13

My real private key starts with ef and ends in 01.

Code:
python2.7 -m pip install onedrivesdk==1.1.8
https://ibb.co/7gcd0ps

Code:
python2.7 -m pip install blockstack==0.18.0.10
https://ibb.co/Jj0LvnY
https://ibb.co/gzmf2KG
https://ibb.co/8s6mg5S



Thanks guys for all the help.




PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 04, 2021, 05:32:56 PM
 #14

Maybe you need to install xcode-libraries or Xcode Command Line Tools? Error is common:
https://www.google.be/search?q=mac+error+command+cc

Or switch to other system...

eibhear
Newbie
*
Offline Offline

Activity: 194
Merit: 0


View Profile
January 04, 2021, 06:46:09 PM
 #15

I'm not familiar with blockstack wallet, but it seems its successfully installed on my Debian machine, without compiling anything. At least it prints help, and, I think, I managed to set up a wallet.
Exact commands I used to install:
Code:
virtualenv -p python2.7 blockstack
cd blockstack/
source bin/activate
python2.7 -m pip install jsonschema==2.5.1
python2.7 -m pip install onedrivesdk==1.1.8
python2.7 -m pip install blockstack==0.18.0.10
You may try it on your Ubuntu virtual machine.
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 04, 2021, 07:15:43 PM
 #16

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.
MrFreeDragon
Sr. Member
****
Offline Offline

Activity: 443
Merit: 350


View Profile
January 05, 2021, 01:31:59 AM
 #17

Have you resolved your issue?

bitcoinforktech
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
January 05, 2021, 03:55:42 AM
Merited by ABCbits (1), NotATether (1)
 #18

My real private key starts with ef and ends in 01.

Code:
python2.7 -m pip install onedrivesdk==1.1.8
https://ibb.co/7gcd0ps

Code:
python2.7 -m pip install blockstack==0.18.0.10
https://ibb.co/Jj0LvnY
https://ibb.co/gzmf2KG
https://ibb.co/8s6mg5S



Thanks guys for all the help.


It looks to me like you need the openssl libraries.  Normally I would 'sudo apt install libssl-dev' and you should be able to do a similar thing with brew. brew install openssl or brew install openssl@1.1.

Try this:

brew install openssl@1.1
cp /usr/local/opt/openssl@1.1/lib/pkgconfig/*.pc /usr/local/lib/pkgconfig/

Hopefully that will help move things along.

Are you sure you can/cannot convert the key to WIF or somesuch and import it?
21XO (OP)
Jr. Member
*
Offline Offline

Activity: 57
Merit: 29


View Profile
January 05, 2021, 04:18:24 AM
 #19

https://ibb.co/xfV3BBR


Code:
Are you sure you can/cannot convert the key to WIF or somesuch and import it?

Maybe I can, I'm just not very technical.



I also have Parallels, so maybe I can also try installing on Windows or Ubuntu.
bitcoinforktech
Jr. Member
*
Offline Offline

Activity: 32
Merit: 4


View Profile WWW
January 05, 2021, 04:29:50 AM
 #20

Please try

sudo cp /usr/local/opt/openssl@1.1/lib/pkgconfig/*.pc /usr/local/lib/pkgconfig/

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!