Search content
Sort by

Showing 20 of 168 results by ganzocrypt
Post
Topic
Board Bitcoin Discussion
Re: Bitcoin address from 2014
by
ganzocrypt
on 22/12/2024, 18:12:31 UTC
From what he told, he used a password or passphrase which then lead to a BTC address and than mined to that address.
He does not have a wallet file.

Judging from that, it must be a brainwallet. I 'd start looking there. I 'd try with multiple possible passphrase, to see if the addresses that are generated are indeed theirs and have unspent coins there.

I agree, that's why I am testing with the script so that I can create several addresses from passphrase.

Right I am looking for a BTC address check service so that I can automate the process.

BTW, there will be both BTC and BTH, looks like!
Post
Topic
Board Bitcoin Discussion
Re: Bitcoin address from 2014
by
ganzocrypt
on 22/12/2024, 16:45:30 UTC
It's for a friend who think he has the passphrase and wants to see if the addresses have Bitcoin!
If your friend mined bitcoin in 2014, but now has a wallet passphrase, he can unlock the wallet file and access his bitcoin.

If not, he need an unenrypted wallet file to access his bitcoin.

You can not brute force Bitcoin private key from Bitcoin public addresses that has balance, because if you can do it, many other people would have done it before you.

Private key > Public Key > Public address, it's always one-way process, not way to do backwards like Public address > Pubic Key > Private key.

Ad I mentioned he does not have a wallet file.
He thinks he knows the passphrase or password use to create the address at command line.

I do not know what process was back than.

I am not trying to brute force anything. As I explain we have a "known" passphrase / password and want to use the script to create the pkey which leads to an address to see if it exists and contains coins.
The script above takes some passphrase or passowrd, creates pkey, than creates a valid address and than it checks if the address has bitcoin.
Post
Topic
Board Bitcoin Discussion
Re: Bitcoin address from 2014
by
ganzocrypt
on 22/12/2024, 16:39:38 UTC
Are you sure the passphrase wasn't the password of his encrypted wallet file instead? What your script is doing, it's to use the passphrases as private keys of adresses hashed with SHA256. So it's a brainwallet basically. But if it was so "simple" I guess your friend would have already tried it with one tool or another during those 10 passed years, especially with the exponential increasing price of BTC, don't you think? Anyway I hope you will be able to find more clues. May Santa Claus be generous with you.


I do not know how in 2014 mining worked in the sense, wallet and mining to the btc address happened at the same time?
It was transparent to the miner? Not sure.

From what he told, he used a password or passphrase which then lead to a BTC address and than mined to that address.
He does not have a wallet file.

Post
Topic
Board Bitcoin Discussion
Re: Bitcoin address from 2014
by
ganzocrypt
on 22/12/2024, 15:03:09 UTC
I do not know and the guy does not remember how passphrase were used on command line.

If the script is correct and creates a valid address (for 2014 code) than I guess the passprhase/password he has are not correct since those
addresses I generated with the script do not contain any coins!

I will continue digging the issue to see if I can trace back to 2014 enviroment.
Maybe will go to check the Bitcoin code back than.

Thx for the help and if you get any idea pls post here!
Happy Holidays!
Post
Topic
Board Bitcoin Discussion
Re: Bitcoin address from 2014
by
ganzocrypt
on 22/12/2024, 13:54:59 UTC
What passphrase are you talking about? Does your friend know exactly how he generated his addresses? The way that you're generating addresses would be similar to how brainwallet used to generate legacy addresses, which can work only if your friend generated his Bitcoin wallet in this way. Depending on how weak the passphrase is, they should be empty by now.

Anyhow, if your friend is sure that he generated his addresses this way, you can easily just query any blockexplorer with the addresses generated. Else, you should probably try to find out how exactly was he generating his addresses.

P2SH-P2WPKH is probably the most common method that people would utilize a passphrase for when used in conjunction with P2SH. However, it didn't exist in 2014.

Passphrase or password. In 2014, mining bitcoin was possible on a computer (he did on a mac) and it was all command line. That's what my friend was doing.
So we are trying to generate valid bitcoin addresses (not on the blockchain, nor wallets), to check if those addresses contain bitcoins.

I am trying to help him by having the script generate valid addresses but since 2014 the hashing to create the private/public keys have been changed so
I am trying to figure out if the script above is valid to create bitcoin addresses created at that time.

Does it make sense?
thx for the comments!
Post
Topic
Board Bitcoin Discussion
Topic OP
Bitcoin address from 2014
by
ganzocrypt
on 22/12/2024, 13:21:45 UTC
Hello,

I am trying to "generate" bitcoin addresses from 2014 to see if they have some satoshi. It's for a friend who think he has the passphrase and wants to see if the addresses have Bitcoin!

I am using AI to create a script to do the following:
write a script to create bitcoin P2PKH and P2SH formats valid addresses starting from several passphrase. Print the passphrase for each address indicating the address formats. Check also if the address has bitcoins.


The scripts works but I do not know if these addresses are correct. I check on https://www.blockchain.com/explorer/ if these addresses exists and it tells me if they are P2PKH and P2SH format.
Any ideas?

Code:
import hashlib
import base58
import requests

def generate_p2pkh_address(passphrase):
    # Generate a public key from the passphrase
    private_key = hashlib.sha256(passphrase.encode()).hexdigest()
    public_key = hashlib.new('ripemd160', hashlib.sha256(bytes.fromhex(private_key)).digest()).hexdigest()
   
    # Create P2PKH address
    p2pkh_prefix = '00'
    p2pkh_address = p2pkh_prefix + public_key
    p2pkh_address_checksum = hashlib.sha256(hashlib.sha256(bytes.fromhex(p2pkh_address)).digest()).digest()[:4]
    p2pkh_address += p2pkh_address_checksum.hex()
    p2pkh_address = base58.b58encode(bytes.fromhex(p2pkh_address)).decode()
   
    return p2pkh_address

def generate_p2sh_address(passphrase):
    # Generate a public key from the passphrase
    private_key = hashlib.sha256(passphrase.encode()).hexdigest()
    public_key = hashlib.new('ripemd160', hashlib.sha256(bytes.fromhex(private_key)).digest()).hexdigest()
   
    # Create P2SH address
    p2sh_prefix = '05'
    p2sh_address = p2sh_prefix + public_key
    p2sh_address_checksum = hashlib.sha256(hashlib.sha256(bytes.fromhex(p2sh_address)).digest()).digest()[:4]
    p2sh_address += p2sh_address_checksum.hex()
    p2sh_address = base58.b58encode(bytes.fromhex(p2sh_address)).decode()
   
    return p2sh_address

def check_balance(address):
    response = requests.get(f'https://api.blockcypher.com/v1/btc/main/addrs/{address}/balance')
    if response.status_code == 200:
        return response.json()['final_balance']
    return None

passphrases = ['passphrase1', 'passphrase2', 'passphrase3']

for passphrase in passphrases:
    p2pkh_address = generate_p2pkh_address(passphrase)
    p2sh_address = generate_p2sh_address(passphrase)
   
    p2pkh_balance = check_balance(p2pkh_address)
    p2sh_balance = check_balance(p2sh_address)
   
    print(f'Passphrase: {passphrase}')
    print(f'P2PKH Address: {p2pkh_address}, Balance: {p2pkh_balance} satoshis')
    print(f'P2SH Address: {p2sh_address}, Balance: {p2sh_balance} satoshis')
Post
Topic
Board Mining (Altcoins)
Re: SRBMiner-MULTI AMD & CPU Miner 0.8.5
by
ganzocrypt
on 12/12/2021, 12:37:32 UTC
Hello,

any chance for a macos version?
thx
Post
Topic
Board Mining (Altcoins)
Re: PhoenixMiner 5.8c: fastest Ethereum/Ethash miner with lowest devfee (Win/Linux)
by
ganzocrypt
on 25/11/2021, 21:10:30 UTC
Hello,

what is the best dual mining algo pair that can be used with this miner?
thx
Post
Topic
Board Mining (Altcoins)
Re: PhoenixMiner 5.8c: fastest Ethereum/Ethash miner with lowest devfee (Win/Linux)
by
ganzocrypt
on 27/10/2021, 20:29:22 UTC
Hello,

I just restarted some miners after long time.
I am using 5.5c on 580 8Gb since later versions gave me errors. They are all around 29/31 Mh, can I squeeze some more hashes ?

Also one 580 is a 4Gb, so I am mining ETC, but the Mhs is around 15 Mhs, I remember it suppose to be around 29.
Am I missing something from when I was mining with version 3.0 ?

thx
Post
Topic
Board Mining (Altcoins)
Re: XMRIG for MacOS working for CPU and AMD GPUs
by
ganzocrypt
on 15/06/2021, 18:48:54 UTC
I put 2 config files in the github https://github.com/ganzocrypt/xmrig-macos/releases/tag/v6.13.0-dev-macos

I used KawPow on unminable and I played a bit with Intensity:

"kawpow": [
            {
                "index": 0,
                "intensity": 36864,
                "worksize": 256,
                "threads": [-1]
            }
        ],

So you can check that in the OpenCL section of the config. Start with a low number and increase it. The above was for a 580 8gb
Post
Topic
Board Mining (Altcoins)
Re: T-Rex 0.20.4 NVIDIA GPU miner (Ethash, Octopus, Kawpow, MTP)
by
ganzocrypt
on 15/06/2021, 14:21:12 UTC
Hi,

is there a way to disable API server?
Cannot find if exists in the -help

Post
Topic
Board Mining (Altcoins)
Re: XMRIG for MacOS working for CPU and AMD GPUs
by
ganzocrypt
on 13/06/2021, 07:55:28 UTC
@miner29

hey thanks a lot will update the release note!
Post
Topic
Board Mining (Altcoins)
Re: XMRIG for MacOS working for CPU and AMD GPUs
by
ganzocrypt
on 12/06/2021, 18:09:14 UTC
@miner29 did you had a chance to test it?

can you share coin / card / cpu / macOS version so I can add to the list

any issues?

thx
Post
Topic
Board Mining (Altcoins)
Re: T-Rex 0.20.4 NVIDIA GPU miner (Ethash, Octopus, Kawpow, MTP)
by
ganzocrypt
on 04/06/2021, 18:00:18 UTC
I would like to use the --lock-cclock

and wanted to know if someone has a list of Nvidia cards where to look for suggested core clocks for various cards compared to stock cc.
I found this list https://preview.redd.it/6iwjrrvh18271.png?width=890&format=png&auto=webp&s=44aceba3131887420132ab21f2a8c5ed6475e9b1 but there is no absolute cc just the offset.

thx

https://youtu.be/4fNhJmJbcRk?t=345

Min 5:45

I saw that video, my cards are older Sad
1080 TI, 1070 TI and 1060 6Gb.

thx
Post
Topic
Board Mining (Altcoins)
Re: T-Rex 0.20.4 NVIDIA GPU miner (Ethash, Octopus, Kawpow, MTP)
by
ganzocrypt
on 04/06/2021, 14:04:40 UTC
I would like to use the --lock-cclock

and wanted to know if someone has a list of Nvidia cards where to look for suggested core clocks for various cards.
thx
Post
Topic
Board Mining (Altcoins)
Re: XMRIG for MacOS working for CPU and AMD GPUs
by
ganzocrypt
on 02/06/2021, 11:57:03 UTC
I recompiled xmrig with latest libs.
No feature changes so just get the one on the github.

Please report any issues, or success with algo and card so that I can update the list.

Download binary from here: https://github.com/ganzocrypt/xmrig-macos/releases
Post
Topic
Board Mining (Altcoins)
Re: XMRIG for MacOS working for CPU and AMD GPUs
by
ganzocrypt
on 31/05/2021, 21:34:30 UTC
@miner29

Oh cool, great to know that is working, let me know if there are any issue.
Will probably update it soon since I recompiled bunch of libraries that needed to be update it in brew.
Also will update the list of Cards and Algo that is supporting as people using the miner can give some feedback ( it's like trial and error).

Ok RVN needs more memory, great to know!

You can play with intensity and worksize to increase hashrate, just keep in mind that at certain point you might have issues with the miner.
At that point just lower the values.

I tested on RX580 8Gb, getting around 7Mhs and I have the following:
"kawpow": [
            {
                "index": 0,
                "intensity": 36864,
                "worksize": 256,
                "threads": [-1]
            }
        ],
Post
Topic
Board Mining (Altcoins)
Re: XMRIG for MacOS working for CPU and AMD GPUs
by
ganzocrypt
on 29/05/2021, 09:10:51 UTC
@BenhurMarcel

Can you post the OpenCL section of your config file?
You should not have 2 threads per card.
Post
Topic
Board Mining (Altcoins)
Re: XMRIG for MacOS working for CPU and AMD GPUs
by
ganzocrypt
on 27/05/2021, 09:28:21 UTC
Let me know if there are any issues and if you need help with the config file.
Post
Topic
Board Mining (Altcoins)
Re: XMRIG for mac os working for CPU and AMD GPUs
by
ganzocrypt
on 26/05/2021, 13:54:05 UTC
Yeah I know.

The issue is that macos OpenCL is basically not supported and OLD, like version 1.2.
So some dev made the miner but it does not work on all combination since libraries mismatch.

I helped to test and recompile the xmr code (which open source).
It was a real pain !
I had to use homebrew, recompiled bunch of libraries.
Modify some make scripts and finally worked.
I tested on KawPow, so you can use unminable service to mine bunch of other algos too.

I know there are a lot of people with hackintosh and AMD cards who can use this miner if they want to.
Looking to see if there are any issues (which probably there are) with other AMD cards, I tested on RX 580 and someone tested on Radeon Pro 5300