Bitcoin Forum
May 24, 2024, 05:20:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 »
1  Bitcoin / Legal / High Volume P2P Trade (US citizen) on: April 18, 2021, 10:18:29 PM
As a US citizen, are you allowed to do a crypto 2 crypto exchange with someone in another country without collecting KYC info? If not, what KYC info are you required to collect from them?


E.g. Bob, a US citizen, owns $100k worth of an illiquid altcoin that she wants to sell. Alice, a non US citizen or resident wants to buy for $100k worth of Bitcoin. Alex, also a US citizen, will be the escrow agent.
2  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: February 05, 2021, 05:46:16 AM
Sorry PawGo, didn't mean to leave you out.

Okay I will send .033 to NotATether, .033 to escobol, and .033 to PawGo. I will keep .9 Smiley


Please PM me your addresses!

One last thing, which of the three private keys were your bitcoins in? Owner, payment, or that master key?

Payment
3  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: February 05, 2021, 04:18:12 AM
Sorry PawGo, didn't mean to leave you out.

Okay I will send .033 to NotATether, .033 to escobol, and .033 to PawGo. I will keep .9 Smiley


Please PM me your addresses!
4  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: February 05, 2021, 12:17:24 AM
VICTORY!!!!!!!!! Thank you all so much!!!


One last thing: all the forks (e.g. bitcoin cash) is also connected with my BTC...so when I send out BTC to anther wallet, will it also send out BCH?



And I will split the bounty with escobol and NotATether but let me know if anyone feels I should also send them some extra BTC for their help.






So grateful to all you guys.
5  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: February 04, 2021, 11:56:53 PM
Omg I think it worked...

Code:
parallels@parallels-Parallels-Virtual-Platform:~/Desktop$ python2 dirty.py wallet.json wallet2.json
Blockstack Legacy wallet crack
-----

Opening wallet file wallet.json...
Deriving master private key...

Wallet created. Make sure to backup the following:

-----
master_private_key: xxx
wallet_password: xxx
-----

-----
encrypted_master_private_key: xxx
-----
owner_addresses: ['146qagi4RScaREcgvxyzXuc8JBJ6T48e5J']
owner_key_hex: xxx
WIF owner: xxx
-----
payment_addresses: ['194zW3CDXCuhx24quQcDaJBKwmonxxkK7N']
payment_key_hex xxx
WIF payment: xxx
-----
payment_addresses: ['179s8CGfRVwjoLtNbd9a4HMoTYon4vsoyv']
payment_key_hex xxx
WIF payment: xxx
-----

FROM MASTER
Address: 1MCU3cw8bSnaoaCTywx5HgHkL8Vn3dzkd6
Priv HEX: xxx
WIF Master: xxx
parallels@parallels-Parallels-Virtual-Platform:~/Desktop$


What do I need to import into Electrum? The WIF master?
6  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: February 04, 2021, 10:25:16 PM
Okay I pasted the updated code in text editor and saved it as 'dirty.py' on my desktop (where my wallet.json) file is. Here is what I got from Terminal:

Code:
parallels@parallels-Parallels-Virtual-Platform:~/Desktop$ python2 dirty.py wallet.json wallet2.json
Traceback (most recent call last):
  File "dirty.py", line 7, in <module>
    from registrar.wallet import HDWallet
ImportError: No module named registrar.wallet
parallels@parallels-Parallels-Virtual-Platform:~/Desktop$





escobol has sent me an updated script that works. The previous version malfunctions and terminates with a Python error, nothing malicious or anything, so don't use that one.

Use this updated one instead:

Code:
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
    Blockstack Legacy wallet crack

"""
from registrar.wallet import HDWallet
from registrar.crypto.utils import aes_encrypt, aes_decrypt
from registrar.crypto.utils import get_address_from_privkey, get_pubkey_from_privkey
from binascii import hexlify
from pybitcoin import BitcoinPrivateKey
import json
import sys
import os.path
import os
import base64


if __name__ == "__main__":
  
    result = {}
    print "Blockstack Legacy wallet crack"
    print "-----"
    print ""
    if len(sys.argv) != 3:
         print "Usage: python2 %s /path/to/wallet.json /path/to/destination/wallet.json" % sys.argv[0]
         sys.exit(1)

    src = sys.argv[1]
    dest = sys.argv[2]

    print "Opening wallet file %s..." % src
    f_src = open(src)
    jwallet = json.load(f_src)
    print "Deriving master private key..."
    hex_privkey = jwallet["master_private_key"]
    password = jwallet["wallet_password"]
    hex_password = hexlify(password)

    wallet = HDWallet(hex_privkey)
    child = wallet.get_child_keypairs(count=3, include_privkey=False)
  

    hex_privkey_1 = wallet.get_child_privkey(1)
    btc_privkey_1 = BitcoinPrivateKey(hex_privkey_1)
    wif_1 = btc_privkey_1.to_wif()
  
    hex_privkey_2 = wallet.get_child_privkey(0)
    btc_privkey_2 = BitcoinPrivateKey(hex_privkey_2)
    wif_2 = btc_privkey_2.to_wif()

    hex_privkey_3 = wallet.get_child_privkey(2)
    btc_privkey_3 = BitcoinPrivateKey(hex_privkey_3)
    wif_3 = btc_privkey_3.to_wif()

  
    master = wallet.get_master_privkey()
    btc_privkey = BitcoinPrivateKey(hex_privkey)
    priv_hex = btc_privkey.to_hex()
    priv_wif = btc_privkey.to_wif()

    btc = get_address_from_privkey(hex_privkey)
    btc_pub = get_pubkey_from_privkey(hex_privkey)

    data = {}
    encrypted_key = aes_encrypt(hex_privkey, hex_password)
    data['encrypted_master_private_key'] = encrypted_key
    data['payment_addresses'] = [child[0]]
    data['owner_addresses'] = [child[1]]

    file = open(dest, 'w')
    file.write(json.dumps(data))
    file.close()
    print ""
    print "Wallet created. Make sure to backup the following:"
    print ""
    print "-----"
    print "master_private_key:", hex_privkey
    print "wallet_password:", password
    print "-----"
    print ""
    print "-----"
    print "encrypted_master_private_key:", encrypted_key
    print "-----"
    print "owner_addresses:", [child[1]]
    print "owner_key_hex:", hex_privkey_1
    print "WIF owner:", wif_1
    print "-----"
    print "payment_addresses:", [child[0]]
    print "payment_key_hex", hex_privkey_2
    print "WIF payment:", wif_2
    print "-----"
    print "payment_addresses:", [child[2]]
    print "payment_key_hex", hex_privkey_3
    print "WIF payment:", wif_3
    print "-----"
    print ""
    print "FROM MASTER"
    print "Address:", btc
    print "Priv HEX:", priv_hex
    print "WIF Master:", priv_wif

I confirm that it outputs the private keys for a sample wallet I created.
7  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 27, 2021, 09:30:48 PM
What happens if you try deleting the /home/parallels/.blockstack/api_endpoint.pid file? (type rm /home/parallels/.blockstack/api_endpoint.pid and then try to open the wallet again.)

If that doesn't help then reboot the Parallels VM and open the terminal again, set it to the desktop folder and run blockstack wallet once again.

Yes that worked but the address has 0 btc. So I think maybe a new wallet was created...


Here is the address it gave me for the wallet: 1KWkUvMxU7PripJ6K2xp2ab1eqUjXvXMrV


But this is the address with coins: 194zW3CDXCuhx24quQcDaJBKwmonxxkK7N

I rebooted my system and tried again, but now it is creating yet another wallet.

So it seems like the
Code:
blockstack wallet
command just creates new wallets even after I run
Code:
python2 restore-wallet.py wallet.json ~/.blockstack/wallet.json
8  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 27, 2021, 09:21:53 PM
Can someone confirm that Escobol's code is safe for me to try?
9  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 20, 2021, 10:16:03 PM
What happens if you try deleting the /home/parallels/.blockstack/api_endpoint.pid file? (type rm /home/parallels/.blockstack/api_endpoint.pid and then try to open the wallet again.)

If that doesn't help then reboot the Parallels VM and open the terminal again, set it to the desktop folder and run blockstack wallet once again.

Yes that worked but the address has 0 btc. So I think maybe a new wallet was created...


Here is the address it gave me for the wallet: 1KWkUvMxU7PripJ6K2xp2ab1eqUjXvXMrV


But this is the address with coins: 194zW3CDXCuhx24quQcDaJBKwmonxxkK7N
10  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 20, 2021, 07:59:34 PM
Code:
Opening wallet file wallet.json...
Deriving master private key...
Decoding wallet...
Writing decoded wallet to /home/parallels/.blockstack/wallet.json
Wallet dump successful.
parallels@parallels-Parallels-Virtual-Platform:~/Desktop$ blockstack wallet
/home/parallels/.local/lib/python2.7/site-packages/jsontokens/token_signer.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
  from cryptography.hazmat.backends import default_backend
/home/parallels/.local/lib/python2.7/site-packages/jsontokens/token_signer.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
  from cryptography.hazmat.backends import default_backend
API endpoint already running (PID 5159, /home/parallels/.blockstack/api_endpoint.pid)
Failed to start RPC endpoint (in working directory /home/parallels/.blockstack).
Please check your password, and verify that the working directory exists and is writeable.
parallels@parallels-Parallels-Virtual-Platform:~/Desktop$
11  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 20, 2021, 07:31:50 PM
Quote
436650 date is 30/10/2016 (so question to OP - when wallet was created?)

April 2016


Hey guys thanks so much for all your support.

I'm not sure what I need to do...Excuse my ignorance, I'm not very good with working in Terminal and also not too familiar with what a script is (besides from what I read from a quick google search).

All you have to do is copy the code in my post to a text file using an editor, save the file as restore-wallet.py, ensure that it's located in the same folder as your wallet.json (or whatever the file that has your blockstack secret data is called) and then run python2 restore-wallet.py PUT_THE_BLOCKSTACK_FILE_HERE ~/.blockstack/wallet.json

Then you run the blockstack wallet command to access your private keys.

The wallet code is not using multisig so the private keys should be immediately spendable.

Okay I have both files located on my desktop, but here is the message I am getting: https://ibb.co/Wvh6y3b

Here is what I pasted: https://ibb.co/vcyb8g0
12  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 20, 2021, 05:25:41 AM
Hey guys thanks so much for all your support.

I'm not sure what I need to do...Excuse my ignorance, I'm not very good with working in Terminal and also not too familiar with what a script is (besides from what I read from a quick google search).
13  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 18, 2021, 04:27:05 AM
Code:
parallels@parallels-Parallels-Virtual-Platform:~$ blockstack import wallet.json
/home/parallels/.local/lib/python2.7/site-packages/jsontokens/token_signer.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
  from cryptography.hazmat.backends import default_backend
{
    "address": "19SCLaztzW6yacMeBaDJhhZRj9MoETyRG3",
    "message": "Send the name you want to receive to the address specified."
}
parallels@parallels-Parallels-Virtual-Platform:~$


Basically it's reading the
Code:
blockstack import wallet.json
command as just
Code:
blockstack import


Here is my wallet.json file which is saved on my desktop: https://ibb.co/0yLb7TY
14  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 18, 2021, 02:49:59 AM
Okay just updated Ubuntu and now am able to run this command successfully:
Code:
blockstack set_advanced_mode


I saved my wallet.json file on my Ubuntu desktop in the following format: https://ibb.co/BwXd7rN

However when I run
Code:
blockstack import wallet wallet.json
, I get the following:

Quote
parallels@parallels-Parallels-Virtual-Platform:~$ blockstack import wallet wallet.json
/home/parallels/.local/lib/python2.7/site-packages/jsontokens/token_signer.py:15: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
  from cryptography.hazmat.backends import default_backend
Initializing new wallet ...
Enter new password:
Confirm new password:
Wallet created. Make sure to backup the following:
{
    "master_private_key": "03dee845c4fee4b24a1d84950f4a9aa7a4a5e193ac7cd94c9a7c8474446a7d1001",
    "wallet_password": "kjlsfjalfvsq2"
}
Have you backed up the above private key? (y/n):


Basically it's creating a new wallet instead of importing.
15  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 17, 2021, 11:55:54 PM
Do I just search /home/parallels/.local/bin/blockstack in Finder? Sorry please excuse my ignorance.

https://ibb.co/6nSw2Pv

No it has to be done from within ubuntu.

https://ibb.co/jWpdsTN
16  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 17, 2021, 11:51:20 PM
Do I just search /home/parallels/.local/bin/blockstack in Finder? Sorry please excuse my ignorance.

https://ibb.co/6nSw2Pv
17  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 17, 2021, 03:48:30 PM
Code:
parallels@parallels-Parallels-Virtual-Platform:~$ rm -rf ~/.blockstack/
parallels@parallels-Parallels-Virtual-Platform:~$
18  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 17, 2021, 03:30:25 PM
Delete .blockstack folder if you have it inside your HOME.

https://ibb.co/NKdwrZm
19  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 17, 2021, 12:07:34 AM
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
20  Bitcoin / Bitcoin Technical Support / Re: .05BTC (~$1,700) to whoever helps me successfully extract my BTC from CLI wallet on: January 16, 2021, 09:11:57 PM
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
Pages: [1] 2 3 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!