Pages:
Author

Topic: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet - page 6. (Read 1859 times)

legendary
Activity: 952
Merit: 1386
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.
newbie
Activity: 194
Merit: 0
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.
legendary
Activity: 952
Merit: 1386
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...

jr. member
Activity: 57
Merit: 29
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.




legendary
Activity: 952
Merit: 1386

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.
legendary
Activity: 952
Merit: 1386

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
legendary
Activity: 952
Merit: 1386
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...
legendary
Activity: 1624
Merit: 2481
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
legendary
Activity: 952
Merit: 1386
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.
jr. member
Activity: 57
Merit: 29
legendary
Activity: 952
Merit: 1386
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
jr. member
Activity: 57
Merit: 29
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.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
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.

jr. member
Activity: 57
Merit: 29
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...?


legendary
Activity: 952
Merit: 1386
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/
jr. member
Activity: 57
Merit: 29
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
Pages:
Jump to: