5
5
5s5lgpx82021-11-30 14:25:23
Python
5s5lgpx8, 2021-11-30 14:25:23

How to generate a Bitcoin public key on a "calculator"?

Greetings. Can you please tell me how to manually calculate the Bitcoin public key for Legacy addresses? I know how to get uncompressed and compressed private key from HEX number. I know how to get an uncompressed and compressed address from an uncompressed and compressed public key. But I do not understand how and from what the public keys themselves are considered. Googled ECDSA and Secp256k1. Read articles about it on the Bitcoin Wiki. For several days I tried to understand, but could not. Tried to unpick the bit library for Python, but the concept didn't happen. Help understand. And, if it's not difficult, write the code in Python.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry X, 2021-12-28
@1MK-Ultra

So damn it, which is easier, the source codes of bitcoin are open, I took and read the documentation. https://github.com/bitcoin/bitcoin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question