Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
bitcoin
Collection of python code snippets around working with the bitcoin blockchain (by christianb93)
Here is one using getwork. It would not be hard to update it using getblocktemplate: https://github.com/jgarzik/pyminer and this hardcoded example might also be interesting: https://github.com/subhan-nadeem/bitcoin-mining-python/blob/master/mining.py
Here is one using getwork. It would not be hard to update it using getblocktemplate: https://github.com/jgarzik/pyminer and this hardcoded example might also be interesting: https://github.com/subhan-nadeem/bitcoin-mining-python/blob/master/mining.py
And here is one using getblocktemplate: https://github.com/christianb93/bitcoin I left it to last because it has the most code. If you understand the first two first it will be easier.
Related posts
- I want to program a simple bitcoin miner, where do i start?
- Is there any way I can mine cryptocurrency via Termux?
- Mine Bitcoin manually by hand(Those who understand the tech very well please consider answering)
- Understanding and avoiding visually ambiguous characters in IDs
- BitAxe – open-source ASIC Bitcoin miner hardware