Show Posts
|
Pages: [1] 2 3 »
|
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.
|
|
|
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 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
|
|
|
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 Please PM me your addresses!
|
|
|
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.
|
|
|
Omg I think it worked... 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?
|
|
|
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: 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: #!/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.
|
|
|
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 command just creates new wallets even after I run python2 restore-wallet.py wallet.json ~/.blockstack/wallet.json
|
|
|
Can someone confirm that Escobol's code is safe for me to try?
|
|
|
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
|
|
|
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$
|
|
|
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.jsonThen 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/Wvh6y3bHere is what I pasted: https://ibb.co/vcyb8g0
|
|
|
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).
|
|
|
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 blockstack import wallet.json command as just Here is my wallet.json file which is saved on my desktop: https://ibb.co/0yLb7TY
|
|
|
Okay just updated Ubuntu and now am able to run this command successfully: blockstack set_advanced_mode
I saved my wallet.json file on my Ubuntu desktop in the following format: https://ibb.co/BwXd7rNHowever when I run blockstack import wallet wallet.json , I get the following: 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.
|
|
|
Do I just search /home/parallels/.local/bin/blockstack in Finder? Sorry please excuse my ignorance. https://ibb.co/6nSw2Pv
|
|
|
parallels@parallels-Parallels-Virtual-Platform:~$ rm -rf ~/.blockstack/ parallels@parallels-Parallels-Virtual-Platform:~$
|
|
|
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/0D7fQJ4Debian: https://ibb.co/YNhPz4h
|
|
|
|