Skip to content

Releases: HugoXOX3/PythonBitcoinMiner

Python BTC Solo Miner v3.1.0

Choose a tag to compare

@HugoXOX3 HugoXOX3 released this 16 Jun 00:47
68ba95e

How to use

Run Program
python3 SoloMiner.py or SoloMiner.exe

A Successful Running Window Should Show

config.json found, start mining
Attempting to connect to pool (Attempt 1/5)...
Connected to pool!
Sending message: {'id': 2, 'method': 'mining.authorize', 'params': ['bc1qh6ajmmpssheufcuzs5rrk9tz75f363ggxr8s8l', 'x']}
Received message: {"id":null,"method":"mining.set_difficulty","params":[100000]}
Pool share difficulty set to 100000.0
Received message: {"id":null,"method":"mining.notify","params":["17684b","42f1aa192bfb9b3ddedfeec082dec14458f08829000201530000000000000000","02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1b03078e0e5075626c69632d506f6f6c","ffffffff0235fca61200000000160014bebb2dec3085f3c4e38285063b1562f5131d45080000000000000000266a24aa21a9ede4ab4683e755ac448671acf71a8cf1dc25d8035c55766662b51771c3eea6660400000000",["10958fefece5307e361158bfeafbaadfa51fda5ff6f1c764cd643c678a8d648f","cee0078a9ffd838f182bfadb85379bfa2d374d2678f25a270c41cea9238925e8","d8e589fd857319fe20e412f1041b468a548287ed920cd3214152f015ef1269e6","7c089386d83f27e496ca0b9e254f428d62d383615b63da77c43aa73d6e53b20c","0ebfa2488d9df5905551064b14e971d7c67a2821419ef34b8decb36a3ee95cb6","baf920e60be5fc23ce0817b035158972325c19befb0645482ab5f4d12dd05870","ea73b18b6928db4e34c54d4f89e57eae3efddcac32d3cf9e2bade694834eefbd","ebeaba262434b0459bd01c5915f5b42d30272ddf4188bdc603c2502efbd8b666","d10f1f472b70f636ae7ce4c31474ebec7bf3fe2ce6d7af2272234b9bc3624279","de78e90e67667b2db8316bae29ac3fdc8d99b5cc38fa7ecb912b2cb35ed78562","93fe286e48a88df1d2e64e9f6a30f3884ff7416341fee4cd9cb8fbe355d5f18e"],"20000000","170240c3","6a309603",false]}
Hashrate: 228,126 H/s

Python BTC Solo Miner v3.0.0

Choose a tag to compare

@HugoXOX3 HugoXOX3 released this 14 Jun 04:38
a62ba11

How to use

  1. Install requirement
    pip3 install -r requirements.txt

  2. Run Program
    python3 SoloMiner.py

Successfully Runned Prototype:

Attempting to connect to pool (Attempt 1/5)...
Connected to pool!
Sending message: {'id': 1, 'method': 'mining.subscribe', 'params': []}
Received message: {"id":1,"error":null,"result":[[["mining.notify","a0a38a44"]],"a0a38a44",4]}
Subscribe response: {'id': 1, 'error': None, 'result': [[['mining.notify', 'a0a38a44']], 'a0a38a44', 4]}
Sending message: {'id': 2, 'method': 'mining.authorize', 'params': ['bc1qp84qrxsntmpyekp9vzdenlt8khnj0h4wqafeqe', 'x']}
Received message: {"id":2,"error":null,"result":true}
Authorize response: {'id': 2, 'error': None, 'result': True}
Received message: {"id":null,"method":"mining.set_difficulty","params":[100000]}
Received message: {"id":null,"method":"mining.notify","params":["1068042","d9bc7e821936262c610c944e23f8628fee55ef8b00004e600000000000000000","02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff17038b700d5075626c69632d506f6f6c","ffffffff02d93eda120000000016001409ea019a135ec24cd825609b99fd67b5e727deae0000000000000000266a24aa21a9ed523a0dbdf34fa2da355e03e8593aaa51456df17de5a3e6e800fc87b12d22f70d00000000",["067e20870cc23949faa4864bf7e1b4fa2a3b0a9c1ef43903b7b6cfd454983ba5","883cdebfd4705bc7c52829b51a13a08fd2219f9ddf24a149d7a3d08818662b20","e1fe5d8c60505f9dcf653acc0d5ec50924e2d5615e64bfb5142275a55cae89ef","4e77933db53e33f9b08949a40aee30cdf0f9384f77d5c982de7b2dcb7702e022","280759b8e90ecd6f3d6552e70d94f296f09af3f31844659928ad8ff2106ec3e6","541ff6a135fc295c4db8abad508474a89251e92e589cb851a92d2514193fce7a","2f55550b8f39643a74e6a19182902c4b3b60c11de2a860fbca7faacf75d6d70c","30072d366cb448522846f3bcf347b1b969d4a8b9a829f473c9fa651928fcae91","0749c3cfac0162e8be0308a219b339438ba7b75fc61d93ad9ac78b2cc70cdbda","246ac58dc1abaa618fb08f3f65721c8311fef1d8b5d04f2aaf1730716d3a81a5","34dc48647d6496233c54db88a0e4093d91cb617a6181f767fb755ffc9dd70fb8","c54b911dfa985ded794d712e8cda152149680170ff70d4d62e6d27cebbaa03dd"],"20000000","17028c61","67950de4",true]}
Nonce found: 2149866342, Difficulty: 3.61142823599221
Hash: 0000000046e28f6b3835ff07108f92cfd807573712cb059079942da5bb79d025

New Feature

Add mining with Bitcoin RPC function

Python BTC Solo Miner v2.1.0

Choose a tag to compare

@HugoXOX3 HugoXOX3 released this 29 Jan 16:08
26a3a47

How to use

  1. Install requirement
    pip3 install -r requirements.txt

  2. Run Program
    python3 SoloMiner.py

Successfully Runned Prototype:

Attempting to connect to pool (Attempt 1/5)...
Connected to pool!
Sending message: {'id': 1, 'method': 'mining.subscribe', 'params': []}
Received message: {"id":1,"error":null,"result":[[["mining.notify","a0a38a44"]],"a0a38a44",4]}
Subscribe response: {'id': 1, 'error': None, 'result': [[['mining.notify', 'a0a38a44']], 'a0a38a44', 4]}
Sending message: {'id': 2, 'method': 'mining.authorize', 'params': ['bc1qp84qrxsntmpyekp9vzdenlt8khnj0h4wqafeqe', 'x']}
Received message: {"id":2,"error":null,"result":true}
Authorize response: {'id': 2, 'error': None, 'result': True}
Received message: {"id":null,"method":"mining.set_difficulty","params":[100000]}
Received message: {"id":null,"method":"mining.notify","params":["1068042","d9bc7e821936262c610c944e23f8628fee55ef8b00004e600000000000000000","02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff17038b700d5075626c69632d506f6f6c","ffffffff02d93eda120000000016001409ea019a135ec24cd825609b99fd67b5e727deae0000000000000000266a24aa21a9ed523a0dbdf34fa2da355e03e8593aaa51456df17de5a3e6e800fc87b12d22f70d00000000",["067e20870cc23949faa4864bf7e1b4fa2a3b0a9c1ef43903b7b6cfd454983ba5","883cdebfd4705bc7c52829b51a13a08fd2219f9ddf24a149d7a3d08818662b20","e1fe5d8c60505f9dcf653acc0d5ec50924e2d5615e64bfb5142275a55cae89ef","4e77933db53e33f9b08949a40aee30cdf0f9384f77d5c982de7b2dcb7702e022","280759b8e90ecd6f3d6552e70d94f296f09af3f31844659928ad8ff2106ec3e6","541ff6a135fc295c4db8abad508474a89251e92e589cb851a92d2514193fce7a","2f55550b8f39643a74e6a19182902c4b3b60c11de2a860fbca7faacf75d6d70c","30072d366cb448522846f3bcf347b1b969d4a8b9a829f473c9fa651928fcae91","0749c3cfac0162e8be0308a219b339438ba7b75fc61d93ad9ac78b2cc70cdbda","246ac58dc1abaa618fb08f3f65721c8311fef1d8b5d04f2aaf1730716d3a81a5","34dc48647d6496233c54db88a0e4093d91cb617a6181f767fb755ffc9dd70fb8","c54b911dfa985ded794d712e8cda152149680170ff70d4d62e6d27cebbaa03dd"],"20000000","17028c61","67950de4",true]}
Nonce found: 2149866342, Difficulty: 3.61142823599221
Hash: 0000000046e28f6b3835ff07108f92cfd807573712cb059079942da5bb79d025

Developer Words

This program I try to fix all the bug in this few weeks and final it work roughly.If there is some bug occur,please sumbit your bug to issue o discussion so that I can elevate user mining experience


New Feature

Add Generate config.json function

Python BTC Solo Miner v2.0.1

Choose a tag to compare

@HugoXOX3 HugoXOX3 released this 28 Jan 08:52
dd25e0a

How to use

  1. Install requirement
    pip3 install -r requirements.txt

  2. Adjust Personal Mining Parameters in config.json

{
 "pool_address":"public-pool.io",
 "pool_port": 21496,
 "user_name":"bc1qp84qrxsntmpyekp9vzdenlt8khnj0h4wqafeqe",
 "password":"x",
 "min_diff":0.01
}

  1. Run Program
    python3 SoloMiner.py

Successfully Runned Prototype:

Attempting to connect to pool (Attempt 1/5)...
Connected to pool!
Sending message: {'id': 1, 'method': 'mining.subscribe', 'params': []}
Received message: {"id":1,"error":null,"result":[[["mining.notify","a0a38a44"]],"a0a38a44",4]}
Subscribe response: {'id': 1, 'error': None, 'result': [[['mining.notify', 'a0a38a44']], 'a0a38a44', 4]}
Sending message: {'id': 2, 'method': 'mining.authorize', 'params': ['bc1qp84qrxsntmpyekp9vzdenlt8khnj0h4wqafeqe', 'x']}
Received message: {"id":2,"error":null,"result":true}
Authorize response: {'id': 2, 'error': None, 'result': True}
Received message: {"id":null,"method":"mining.set_difficulty","params":[100000]}
Received message: {"id":null,"method":"mining.notify","params":["1068042","d9bc7e821936262c610c944e23f8628fee55ef8b00004e600000000000000000","02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff17038b700d5075626c69632d506f6f6c","ffffffff02d93eda120000000016001409ea019a135ec24cd825609b99fd67b5e727deae0000000000000000266a24aa21a9ed523a0dbdf34fa2da355e03e8593aaa51456df17de5a3e6e800fc87b12d22f70d00000000",["067e20870cc23949faa4864bf7e1b4fa2a3b0a9c1ef43903b7b6cfd454983ba5","883cdebfd4705bc7c52829b51a13a08fd2219f9ddf24a149d7a3d08818662b20","e1fe5d8c60505f9dcf653acc0d5ec50924e2d5615e64bfb5142275a55cae89ef","4e77933db53e33f9b08949a40aee30cdf0f9384f77d5c982de7b2dcb7702e022","280759b8e90ecd6f3d6552e70d94f296f09af3f31844659928ad8ff2106ec3e6","541ff6a135fc295c4db8abad508474a89251e92e589cb851a92d2514193fce7a","2f55550b8f39643a74e6a19182902c4b3b60c11de2a860fbca7faacf75d6d70c","30072d366cb448522846f3bcf347b1b969d4a8b9a829f473c9fa651928fcae91","0749c3cfac0162e8be0308a219b339438ba7b75fc61d93ad9ac78b2cc70cdbda","246ac58dc1abaa618fb08f3f65721c8311fef1d8b5d04f2aaf1730716d3a81a5","34dc48647d6496233c54db88a0e4093d91cb617a6181f767fb755ffc9dd70fb8","c54b911dfa985ded794d712e8cda152149680170ff70d4d62e6d27cebbaa03dd"],"20000000","17028c61","67950de4",true]}
Nonce found: 2149866342, Difficulty: 3.61142823599221
Hash: 0000000046e28f6b3835ff07108f92cfd807573712cb059079942da5bb79d025

Developer Words

This program I try to fix all the bug in this few weeks and final it work roughly.If there is some bug occur,please sumbit your bug to issue o discussion so that I can elevate user mining experience


New Feature

Add config.json to change personal mining parameter

Python BTC Solo Miner v2.0.0

Choose a tag to compare

@HugoXOX3 HugoXOX3 released this 25 Jan 17:06
bf51ec1

How to use

  1. Install requirement
    pip3 install -r requirements.txt

  2. Adjust Personal Mining Parameters

pool_address = "public-pool.io"
pool_port = 21496
username = "Replace_Me_With_Your_BTC_Wallet"
password = "x"
min_diff = 0.01
......
  1. Run Program
    python3 SoloMiner.py

Successfully Runned Prototype:

Attempting to connect to pool (Attempt 1/5)...
Connected to pool!
Sending message: {'id': 1, 'method': 'mining.subscribe', 'params': []}
Received message: {"id":1,"error":null,"result":[[["mining.notify","a0a38a44"]],"a0a38a44",4]}
Subscribe response: {'id': 1, 'error': None, 'result': [[['mining.notify', 'a0a38a44']], 'a0a38a44', 4]}
Sending message: {'id': 2, 'method': 'mining.authorize', 'params': ['bc1qp84qrxsntmpyekp9vzdenlt8khnj0h4wqafeqe', 'x']}
Received message: {"id":2,"error":null,"result":true}
Authorize response: {'id': 2, 'error': None, 'result': True}
Received message: {"id":null,"method":"mining.set_difficulty","params":[100000]}
Received message: {"id":null,"method":"mining.notify","params":["1068042","d9bc7e821936262c610c944e23f8628fee55ef8b00004e600000000000000000","02000000010000000000000000000000000000000000000000000000000000000000000000ffffffff17038b700d5075626c69632d506f6f6c","ffffffff02d93eda120000000016001409ea019a135ec24cd825609b99fd67b5e727deae0000000000000000266a24aa21a9ed523a0dbdf34fa2da355e03e8593aaa51456df17de5a3e6e800fc87b12d22f70d00000000",["067e20870cc23949faa4864bf7e1b4fa2a3b0a9c1ef43903b7b6cfd454983ba5","883cdebfd4705bc7c52829b51a13a08fd2219f9ddf24a149d7a3d08818662b20","e1fe5d8c60505f9dcf653acc0d5ec50924e2d5615e64bfb5142275a55cae89ef","4e77933db53e33f9b08949a40aee30cdf0f9384f77d5c982de7b2dcb7702e022","280759b8e90ecd6f3d6552e70d94f296f09af3f31844659928ad8ff2106ec3e6","541ff6a135fc295c4db8abad508474a89251e92e589cb851a92d2514193fce7a","2f55550b8f39643a74e6a19182902c4b3b60c11de2a860fbca7faacf75d6d70c","30072d366cb448522846f3bcf347b1b969d4a8b9a829f473c9fa651928fcae91","0749c3cfac0162e8be0308a219b339438ba7b75fc61d93ad9ac78b2cc70cdbda","246ac58dc1abaa618fb08f3f65721c8311fef1d8b5d04f2aaf1730716d3a81a5","34dc48647d6496233c54db88a0e4093d91cb617a6181f767fb755ffc9dd70fb8","c54b911dfa985ded794d712e8cda152149680170ff70d4d62e6d27cebbaa03dd"],"20000000","17028c61","67950de4",true]}
Nonce found: 2149866342, Difficulty: 3.61142823599221
Hash: 0000000046e28f6b3835ff07108f92cfd807573712cb059079942da5bb79d025

Developer Words

This program I try to fix all the bug in this few weeks and final it work roughly.If there is some bug occur,please sumbit your bug to issue o discussion so that I can elevate user mining experience


New Feature

Add minimun difficulty to prevent sending low difficulty share

Python BTC Solo Miner v2.0.0 Beta

Pre-release

Choose a tag to compare

@HugoXOX3 HugoXOX3 released this 28 Dec 15:55
a09fae7

Fix all the bug like block height,stratum,handle ......
It's still unstable because I had almost rewrote the whole programme

Welcome for asking questions and pulling requests

Python BTC Solo Miner v1.4.2

Choose a tag to compare

@HugoXOX3 HugoXOX3 released this 30 Jun 05:28
1e358e5

How to use after download

  1. install the require pip
pip3 install -r requirements.txt
  1. Change the setting in programme into your favourite
#Setting
# Mining Address **Change Me**
address = 'bc1qwp44lvxgrhh42de507kezjspcyh8cvw6tvuykp'
# Mining Pool
pool = "solo.ckpool.org"
port = 3333
  1. run the programme like:
python3 SoloMiner.py

Python BTC Solo Miner v1.4.1

Choose a tag to compare

@HugoXOX3 HugoXOX3 released this 28 Jun 18:13
720663d

How to use after download

  1. install the require pip
pip3 install hashlib psutil colorama tabulate tqdm
  1. Change the setting in programme into your favourite
#Setting
# Mining Address **Change Me**
address = 'bc1qwp44lvxgrhh42de507kezjspcyh8cvw6tvuykp'
# Mining Pool
pool = "solo.ckpool.org"
port = 3333
  1. run the programme like:
python3 SoloMiner.py

Python BTC Solo Miner v1.4.0

Choose a tag to compare

@HugoXOX3 HugoXOX3 released this 27 Jun 12:47
e666194

How to use

  1. install the require pip
pip3 install hashlib psutil colorama tabulate tqdm
  1. Change the setting into your favourite
#Setting
# Mining Address **Change Me**
address = 'bc1qwp44lvxgrhh42de507kezjspcyh8cvw6tvuykp'
# Mining Pool
pool = "solo.ckpool.org"
port = 3333
  1. run the programme like:
python3 SoloMiner.py

Developer Speech

It is glad that I fix the miner cant connect the pool by adding the connect time of the programme and put the setting config at the top of the programme so that user can use it more simpler.If you have some question about the programme,you may find me at issue or contact me at telegrame

Python BTC Solo Miner v1.3.1

Choose a tag to compare

@HugoXOX3 HugoXOX3 released this 21 Jun 02:42
d60c58d

✅Fix Bug