I am trying to write simple bitcoin miner on Java

How to request miner pool? What is miner pool protocol?

How to send data to stratum pool? (socket, post request or ect...) What need send there?

Thank you for help!

1 Answer 1


The mining protocol between miner and pool is called Stratum.

See https://en.bitcoin.it/wiki/Stratum_mining_protocol

How to open a TCP connection and send/receive data using Java; there should be plenty of resources you can find on that.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.