Mizogg/secp256k1 ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Python tool that demonstrates secp256k1 Bitcoin key and address calculations in a simple, easy to run way.

I want it to take a private key I enter, then show the public key and the common Bitcoin address formats for it, like compressed and uncompressed addresses, plus P2SH and bech32 if that’s reasonable. It should also let me work through a list or range of sample values for learning purposes, and print clear progress and results in the terminal.

If there are any current library details you need, look them up online and use the fastest reliable approach. Keep it lightweight, make the output readable, and include a few example commands so I can test it right away.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab